-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.05 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
{
"private": true,
"name": "wx-grid",
"workspaces": [
"svelte",
"store",
"provider",
"locales",
"site"
],
"scripts": {
"test": "vitest --run",
"prepare": "husky",
"build": "cd svelte && yarn build",
"build:deps": "run-s build:store build:provider",
"build:store": "cd store && shx rm -f ./dist/index.js && yarn build",
"build:provider": "cd provider && shx rm -f ./dist/index.js && yarn build",
"watch:deps": "run-p watch:store watch:provider",
"watch:store": "cd store && shx rm -f ./dist/index.js && yarn watch",
"watch:provider": "cd provider && shx rm -f ./dist/index.js && yarn watch",
"build:site": "cd site && yarn build",
"build:tests": "cd svelte && yarn build:tests",
"start": "run-s build:deps start:demos",
"start:demos": "cd svelte && yarn start",
"start:site": "cd site && yarn start",
"start:tests": "cd svelte && yarn start:tests",
"watch": "run-p watch:deps start:demos",
"watch:site": "run-p watch:deps start:site",
"watch:tests": "run-p watch:deps start:tests",
"lint": "yarn eslint ./svelte/src ./svelte/demos ./store/src ./provider/src",
"test:cypress": "cd svelte && yarn test:cypress"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "4.0.0",
"@vitest/coverage-v8": "1.6.0",
"wx-vite-tools": "1.0.5",
"autoprefixer": "10.4.20",
"cypress": "13.6.4",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-cypress": "4.1.0",
"eslint-plugin-svelte": "2.46.0",
"eslint-plugin-vitest": "^0.5.4",
"eslint": "9.14.0",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"npm-run-all": "4.1.5",
"postcss": "8.4.47",
"prettier-plugin-svelte": "3.2.7",
"prettier": "3.3.3",
"rollup-plugin-visualizer": "5.12.0",
"shx": "0.3.4",
"svelte-spa-router": "4.0.1",
"svelte": "5.1.9",
"typescript-eslint": "^8.13.0",
"typescript": "5.6.3",
"vite-plugin-conditional-compile": "1.4.5",
"vite-plugin-dts": "3.7.2",
"vite": "5.4.10",
"vitest": "1.5.0"
},
"lint-staged": {
"*.{ts,js,svelte}": [
"eslint --fix",
"prettier --write"
],
"*.{css,md,json}": [
"prettier --write"
]
}
}