-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
79 lines (79 loc) · 3.03 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
{
"name": "@kkt/root",
"private": true,
"description": "A baseline for server side rendering for your React application.",
"scripts": {
"build": "npm run build:ssr && npm run build:enhanced && npm run build:less && npm run build:create-kkt-ssr",
"-----build:ssr-----": "----------",
"build:ssr": "lerna exec --scope @kkt/ssr -- npm run build",
"watch:ssr": "lerna exec --scope @kkt/ssr -- npm run watch",
"-----build:react-ssr-enhanced-----": "----------",
"build:enhanced": "lerna exec --scope @kkt/react-ssr-enhanced -- npm run build",
"watch:enhanced": "lerna exec --scope @kkt/react-ssr-enhanced -- npm run watch",
"-----build:kkt-plugin-less-----": "----------",
"build:less": "lerna exec --scope @kkt/plugin-less -- npm run build",
"watch:less": "lerna exec --scope @kkt/plugin-less -- npm run watch",
"-----build:kkt-plugin-ssr-----": "----------",
"build:plugin-ssr": "lerna exec --scope @kkt/plugin-ssr -- npm run build",
"watch:plugin-ssr": "lerna exec --scope @kkt/plugin-ssr -- npm run watch",
"-----build:create-kkt-ssr-----": "----------",
"build:create-kkt-ssr": "lerna exec --scope create-kkt-ssr -- npm run build",
"watch:create-kkt-ssr": "lerna exec --scope create-kkt-ssr -- npm run watch",
"-------------": "-------------------",
"hoist": "lerna bootstrap --hoist",
"bootstrap": "lerna bootstrap",
"build:basic": "lerna exec --scope @examples/basic -- npm run build",
"build:basic:ex": "lerna exec --scope @examples/basic -- npm run build:ex",
"build:basic:plugin": "lerna exec --scope @examples/basic-plugins -- npm run build",
"build:js": "node ./script/createjs",
"build:zip": "node ./script/zip.js",
"--------------": "-------------------",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"clean": "lerna clean && npm run remove && rm -rf ./package-lock.json && rm -rf node_modules && npm run remove:c ",
"remove": " lerna exec --scope @kkt/* --scope @example/* -- rm -rf package-lock.json",
"remove:c": "rm -rf package-lock.json && npm run remove:yarn && npm run remove:lib && npm run remove:esm",
"remove:yarn": "lerna exec --scope @kkt/* --scope @example/* -- rm -rf yarn.lock",
"remove:lib": "lerna exec --scope @kkt/* -- rm -rf ./lib",
"remove:esm": "lerna exec --scope @kkt/* -- rm -rf ./esm",
"test": "tsbb test",
"tsbb": "tsbb",
"lerna": "lerna"
},
"author": "Kenny Wong <wowohoo@qq.com> (https://github.com/jaywcjlove)",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,less,md,json}": [
"prettier --write"
]
},
"jest": {
"testMatch": [
"<rootDir>/test/*.test.{js,ts}"
]
},
"devDependencies": {
"archiver": "5.3.0",
"husky": "7.0.4",
"lerna": "4.0.0",
"lint-staged": "12.3.4",
"prettier": "2.5.1",
"tsbb": "~3.7.2"
},
"workspaces": {
"packages": [
"example/*",
"core/",
"packages/create-kkt-ssr",
"packages/react-ssr-enhanced",
"packages/kkt-plugin-less",
"packages/kkt-plugin-ssr"
],
"nohoist": []
},
"version": "0.0.0"
}