-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
93 lines (93 loc) · 2.26 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
{
"name": "@storyblok/svelte-ws",
"private": true,
"version": "0.0.1",
"workspaces": [
"./lib",
"./playground",
"./playground-sveltekit"
],
"types": "./dist/types.index.d.ts",
"scripts": {
"dev": "npm run dev --workspace=lib & npm run demo",
"dev-kit": "npm run dev --workspace=lib & npm run demo-sveltekit",
"demo": "npm run demo --workspace=playground",
"demo-sveltekit": "npm run dev --workspace=playground-sveltekit",
"build": "npm run build --workspace=lib",
"build:ts": "vite build && tsc --prokect tsconfigjson",
"test:unit": "npm run test:unit --workspace=lib",
"test:e2e": "npm run test:e2e --workspace=lib",
"prepare": "husky install",
"check": "svelte-check --tsconfig lib/tsconfig.json"
},
"devDependencies": {
"@commitlint/cli": "^19.4.0",
"@commitlint/config-conventional": "^19.4.1",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/svelte": "^5.0.4",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte3": "^4.0.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"svelte-check": "^3.8.6",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.7.0",
"typescript": "^5.5.4",
"@typescript-eslint/eslint-plugin": "^7.17.0",
"@typescript-eslint/parser": "^7.18.0"
},
"lint-staged": {
"*.{svelte,js,css,ts}": [
"prettier --write",
"eslint"
],
"*.md": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"env": {
"es6": true,
"browser": true
},
"ignorePatterns": "dist/",
"plugins": [
"svelte3",
"@typescript-eslint"
],
"overrides": [
{
"files": [
"*.svelte"
],
"processor": "svelte3/svelte3"
}
],
"settings": {
"svelte3/typescript": true
}
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 2,
"semi": true,
"singleQuote": false
}
}