-
Notifications
You must be signed in to change notification settings - Fork 87
/
package.json
144 lines (144 loc) · 3.49 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "storyblok-js-client",
"module": "./dist/index.mjs",
"version": "5.0.0",
"packageManager": "[email protected]",
"description": "Universal JavaScript SDK for Storyblok's API",
"license": "MIT",
"keywords": [
"storyblok",
"javascript",
"api"
],
"sideEffects": false,
"types": "./dist/types/entry.esm.d.ts",
"main": "./dist/index.umd.js",
"unpkg": "./dist/index.umd.js",
"jsdelivr": "./dist/index.umd.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.umd.js",
"types": "./dist/types/entry.esm.d.ts"
},
"./richTextResolver": {
"import": "./dist/richTextResolver.mjs",
"require": "./dist/richTextResolver.umd.js",
"types": "./dist/types/richTextResolver.d.ts"
},
"./schema": {
"import": "./dist/schema.mjs",
"require": "./dist/schema.umd.js",
"types": "./dist/types/schema.d.ts"
}
},
"files": [
"dist",
"src",
"tests"
],
"scripts": {
"lint": "eslint --max-warnings=0 './src/**/*.{ts,js}'",
"prettier": "prettier . --write",
"build": "node vite.build.mjs && tsc",
"demo": "vite serve playground",
"dev:umd": "npx serve ./",
"test": "vitest run",
"test:e2e": "vitest run -c vitest.config.e2e.ts",
"test:ui": "vitest --ui --coverage.enabled=true",
"coverage": "vitest run --coverage",
"prepare": "npm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/storyblok/storyblok-js-client.git"
},
"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": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@tsconfig/recommended": "^1.0.7",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^9.1.5",
"isomorphic-fetch": "^3.0.0",
"kolorist": "^1.8.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"vite": "^5.4.2",
"vite-plugin-banner": "^0.7.1",
"vite-plugin-dts": "^4.0.3",
"vitest": "^2.0.5"
},
"release": {
"branches": [
"main",
{
"name": "next",
"prerelease": true
},
{
"name": "beta",
"prerelease": true
}
]
},
"publishConfig": {
"access": "public"
},
"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"
}
}