-
Notifications
You must be signed in to change notification settings - Fork 20
/
package.json
115 lines (115 loc) · 5.5 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
{
"version": "4.0.0",
"private": true,
"description": "UIW Admin Project",
"repository": {
"type": "git",
"url": "https://github.com/uiwjs/uiw-admin.git"
},
"scripts": {
"initi": "npm run clean && npm install",
"prepare": "husky install",
"-----authorized-----": "----------",
"build:authorized": "lerna exec --scope @uiw-admin/authorized -- tsbb build src/*.tsx --use-babel",
"watch:authorized": "lerna exec --scope @uiw-admin/authorized -- tsbb watch src/*.tsx --use-babel",
"-----layout-----": "----------",
"build:layout:ui": "lerna exec --scope @uiw-admin/basic-layouts -- tsbb build src/*.tsx --use-babel",
"watch:layout:ui": "lerna exec --scope @uiw-admin/basic-layouts -- tsbb watch src/*.tsx --use-babel",
"-----router-----": "----------",
"build:router:ui": "lerna exec --scope @uiw-admin/router-control -- tsbb build src/*.ts --use-babel",
"watch:router:ui": "lerna exec --scope @uiw-admin/router-control -- tsbb watch src/*.ts --use-babel",
"-----tabs-----": "----------",
"build:tabs:ui": "lerna exec --scope @uiw-admin/layout-tabs -- tsbb build src/*.tsx --use-babel",
"watch:tabs:ui": "lerna exec --scope @uiw-admin/layout-tabs -- tsbb watch src/*.tsx --use-babel",
"-----components-----": "----------",
"build:components:ui": "lerna exec --scope @uiw-admin/components -- tsbb build src/*.tsx --use-babel",
"watch:components:ui": "lerna exec --scope @uiw-admin/components -- tsbb watch src/*.tsx --use-babel",
"-----markdown-navbar-----": "----------",
"build:markdown-navbar": "lerna exec --scope @uiw-admin/markdown-navbar -- tsbb build src/*.tsx --use-babel",
"watch:markdown-navbar": "lerna exec --scope @uiw-admin/markdown-navbar -- tsbb watch src/*.tsx --use-babel",
"-----login-----": "----------",
"build:login:ui": "lerna exec --scope @uiw-admin/user-login -- tsbb build src/*.tsx --use-babel",
"watch:login:ui": "lerna exec --scope @uiw-admin/user-login -- tsbb watch src/*.tsx --use-babel",
"-----models-----": "----------",
"build:models": "lerna exec --scope @uiw-admin/models -- tsbb build src/*.ts --use-babel",
"watch:models": "lerna exec --scope @uiw-admin/models -- tsbb watch src/*.ts --use-babel",
"-----plugins-----": "----------",
"build:plugins": "lerna exec --scope @uiw-admin/plugins -- tsbb build --no-esm src/*.ts --use-babel",
"watch:plugins": "lerna exec --scope @uiw-admin/plugins -- tsbb watch src/*.ts --use-babel",
"-----config-----": "----------",
"build:config": "lerna exec --scope @uiw-admin/config -- tsbb build src/*.ts --use-babel",
"watch:config": "lerna exec --scope @uiw-admin/config -- tsbb watch src/*.ts --use-babel",
"-----create-uiw-admin-----": "----------",
"build:create": "lerna exec --scope create-uiw-admin -- npm run build src/*.tsx --use-babel",
"-----------": "--------------",
"build:utils": "lerna exec --scope @uiw-admin/utils -- tsbb build src/*.ts --use-babel",
"watch:utils": "lerna exec --scope @uiw-admin/utils -- tsbb watch src/*.ts --use-babel",
"build": "lerna exec --scope @uiw-admin/* -- tsbb build src/*.{ts,tsx} --use-babel",
"watch": "lerna exec --scope @uiw-admin/* -- tsbb watch src/*.{ts,tsx} --use-babel",
"build:website": "lerna exec --scope @examples/base -- npm run build src/*.tsx --use-babel",
"----": "----",
"build:js": "node ./script/copy",
"----------": "-------------",
"www": "lerna exec --scope website -- npm run start",
"www:build": "lerna exec --scope website -- npm run build src/*.tsx --use-babel",
"-----www-doc-end-----": "-------website-doc------",
"version": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"publish": "npm run build && lerna publish from-package",
"start": "lerna exec --scope @examples/base npm run start",
"start:website": "lerna exec --scope website npm run start",
"preview": "lerna exec --scope @examples/preview npm run start",
"prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'",
"clean": "lerna clean && npm run remove && rm -rf ./package-lock.json && rm -rf node_modules && npm run remove:c ",
"remove": " lerna exec --scope @uiw-admin/* --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 @uiw-admin/* --scope @example/* -- rm -rf yarn.lock",
"remove:lib": "lerna exec --scope @uiw-admin/* -- rm -rf ./lib",
"remove:esm": "lerna exec --scope @uiw-admin/* -- rm -rf ./esm",
"test": "tsbb test ",
"tsbb": "tsbb",
"lerna": "lerna"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,less,md,json}": [
"prettier --write"
]
},
"jest": {
"testMatch": [
"<rootDir>/test/*.test.{js,ts}"
]
},
"author": "jaywcjlove",
"license": "MIT",
"dependencies": {
"@babel/core": "~7.21.3",
"@babel/preset-typescript": "~7.21.0",
"ajv": "^8.9.0",
"husky": "~7.0.4",
"lerna": "~5.1.0",
"lint-staged": "~12.5.0",
"prettier": "^2.7.0",
"recursive-readdir-files": "1.1.2",
"tsbb": "^4.1.5",
"webpack-bundle-analyzer": "~4.5.0"
},
"resolutions": {
"@babel/parser": "7.21.3",
"@babel/traverse": "7.21.3",
"@babel/types": "7.21.3"
},
"workspaces": {
"packages": [
"packages/*",
"examples/*",
"create-uiw-admin",
"eslint-packages/*"
],
"nohoist": []
}
}