forked from storyblok/storyblok-js-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
126 lines (126 loc) · 2.71 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "storyblok-js-client",
"version": "5.0.0",
"description": "Universal JavaScript SDK for Storyblok's API",
"license": "MIT",
"types": "./dist/types/entry.esm.d.ts",
"main": "./dist/index.umd.js",
"module": "./dist/index.mjs",
"unpkg": "./dist/index.umd.js",
"jsdelivr": "./dist/index.umd.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js"
},
"./richTextResolver": {
"import": "./dist/richTextResolver.mjs",
"require": "./dist/richTextResolver.umd.js"
},
"./schema": {
"import": "./dist/schema.mjs",
"require": "./dist/schema.umd.js"
}
},
"files": [
"dist",
"src",
"tests"
],
"scripts": {
"lint": "eslint --max-warnings=0 './src/**/*.{ts,js}'",
"prettier": "prettier './**/*.js' './src/**/*.ts' './**/*.md' --write",
"build": "node vite.build.mjs && tsc",
"demo": "vite serve playground",
"test": "vitest run",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/storyblok/storyblok-js-client.git"
},
"keywords": [
"storyblok"
],
"author": "Alexander Feiglstorfer <[email protected]>",
"bugs": {
"url": "https://github.com/storyblok/storyblok-js-client/issues"
},
"homepage": "https://github.com/storyblok/storyblok-js-client#readme",
"devDependencies": {
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@tsconfig/recommended": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.2",
"isomorphic-fetch": "^3.0.0",
"prettier": "^2.7.1",
"typescript": "^4.8.4",
"vite": "^4.0.4",
"vitest": "^0.29.1"
},
"release": {
"branches": [
"master",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"lint-staged": {
"*.{js,jsx,css,ts,tsx}": [
"prettier --write",
"eslint"
],
"*.md": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": 1,
"no-async-promise-executor": 0,
"no-undef": 0
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": true
}
}