-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
57 lines (57 loc) · 2.8 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
{
"name": "root",
"private": true,
"scripts": {
"prepare": "husky install",
"watch": "lerna exec --scope kktp -- npm run watch",
"build": "lerna exec --scope @kkt/* --scope kktp --scope create-kktp -- tsbb build src/*.{ts,tsx} --use-babel",
"watch:d": "lerna exec --scope @kkt/doc -- npm run watch src/*.ts --use-babel",
"watch:route": "lerna exec --scope @kkt/plugin-pro-router -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:config": "lerna exec --scope @kkt/plugin-pro-config -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:entry": "lerna exec --scope @kkt/plugin-pro-entry -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:models": "lerna exec --scope @kkt/plugin-pro-rematch -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:utils": "lerna exec --scope @kkt/plugin-pro-utils -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:access": "lerna exec --scope @kkt/plugin-pro-access -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:pro": "lerna exec --scope @kkt/pro -- tsbb watch src/*.{ts,tsx} --use-babel",
"watch:request": "lerna exec --scope @kkt/request -- tsbb watch src/*.tsx --use-babel",
"watch:kktp": "lerna exec --scope kktp -- tsbb watch src/*.{ts,tsx} --use-babel",
"------------": "----------------案例------------------------------",
"basic": "lerna exec --scope @examples/basic -- npm run start",
"basic-js": "lerna exec --scope @examples/basic-js -- npm run start",
"conf": "lerna exec --scope @examples/config -- npm run start",
"auto": "lerna exec --scope @examples/auto-routes -- npm run start",
"routes": "lerna exec --scope @examples/routes -- npm run start",
"mocker": "lerna exec --scope @examples/mocker -- npm run start",
"access": "lerna exec --scope @examples/access -- npm run start",
"rematch": "lerna exec --scope @examples/rematch -- npm run start",
"docs": "lerna exec --scope @examples/docs -- npm run start",
"-------------": "----------------------------------------------",
"start": "lerna exec --scope website -- npm run start",
"build:website": "lerna exec --scope website -- npm run build",
"version": "lerna version --force-publish=* --no-changelog --no-git-tag-version --no-push",
"prettier": "prettier --write \"**/*.{js,jsx,tsx,ts,less,md,json}\"",
"remove": "lerna exec \"rm -rf node_modules build package-lock.json\"",
"clean": "lerna clean --yes && npm run remove"
},
"lint-staged": {
"*.{js,jsx,tsx,ts,less,md,json}": "prettier --write"
},
"workspaces": [
"core",
"website",
"packages/*",
"examples/*",
"packages/plugin/*"
],
"devDependencies": {
"ajv": "~8.11.2",
"husky": "~8.0.2",
"lerna": "~6.0.3",
"lint-staged": "~13.0.4",
"prettier": "~2.8.0",
"tsbb": "^4.0.8"
},
"engines": {
"node": ">=16.0.0"
}
}