-
Notifications
You must be signed in to change notification settings - Fork 378
/
package.json
76 lines (76 loc) · 2.62 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
{
"name": "zent-repository",
"version": "1.0.0",
"private": true,
"description": "一套前端设计语言和基于React的实现",
"scripts": {
"test": "./scripts/test.sh",
"test-component": "./scripts/test-component.sh",
"check-git-hooks": "./scripts/check-git-hooks.sh",
"lint": "yarn lint-ts && yarn lint-js && yarn lint-style",
"lint-ts": "yarn workspace zent lint-ts && yarn workspace zent-docs lint-ts",
"lint-js": "yarn workspace zent lint-js && yarn workspace babel-plugin-zent lint-js && yarn workspace zent-docs lint-js",
"lint-style": "yarn workspace zent-docs lint-style && yarn workspace zent lint-style",
"format": "prettier --write",
"prettify-style": "prettier --write -- \"packages/zent/assets/**/*.scss\" \"site/src/**/*.scss\"",
"prettify-js": "prettier --write -- \"packages/*/__tests__/**/*.js\" \"site/{src,scripts,webpack,zent}/**/*.js\"",
"prettify-ts": "prettier --write -- \"packages/*/src/**/*.ts*(x)\"",
"prettify": "yarn prettify-js && yarn prettify-ts && yarn prettify-style",
"build": "yarn workspace zent build && yarn workspace babel-plugin-zent build",
"bootstrap": "./scripts/bootstrap.sh",
"publish-pkg": "./scripts/publish.sh",
"dev": "cd site && yarn dev",
"deploy": "cd site && yarn deploy",
"deploy-beta": "cd site && yarn deploy-beta",
"prepare": "husky install && ts-patch install -s"
},
"workspaces": {
"packages": [
"site",
"packages/babel-plugin-zent",
"packages/zent"
],
"nohoist": [
"**/date-fns",
"**/rxjs",
"**/observable-hooks"
]
},
"repository": {
"type": "git",
"url": "[email protected]:youzan/zent.git"
},
"keywords": [
"react",
"component"
],
"author": "Youzan FE",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.14.6",
"@babel/eslint-parser": "^7.14.7",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"coveralls": "^3.0.3",
"cross-env": "^7.0.3",
"eslint": "^7.14.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-ban": "^1.4.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"postcss": "^8.3.5",
"postcss-scss": "^4.0.0",
"prettier": "^2.2.0",
"stylelint": "^13.13.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-scss": "^3.20.1",
"ts-patch": "^1.4.3",
"typescript": "~4.3.5"
},
"dependencies": {}
}