forked from youzan/zent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 3.44 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
{
"name": "zent-repository",
"version": "1.0.0",
"private": true,
"description": "一套前端设计语言和基于React的实现",
"scripts": {
"test": "./scripts/test.sh",
"test-component": "./scripts/test-component.sh",
"lint": "yarn lint-js && yarn lint-style",
"lint-js": "eslint packages/*/src packages/*/__tests__ site/src/ site/webpack site/zent site/scripts",
"lint-style": "stylelint 'site/src/**/*.pcss' 'packages/zent/assets/**/*.pcss'",
"eslint-check": "eslint --print-config packages/zent/button/index.js | eslint-config-prettier-check",
"bootstrap": "./scripts/bootstrap.sh",
"format-js": "prettier --write",
"format-style": "stylefmt",
"prettify-style": "find site/src packages/zent/assets -type f -name '*.pcss' -exec stylefmt {} \\;",
"prettify-js": "prettier --write -- \"packages/*/{src,__tests__}/**/*.js\" \"site/{src,scripts,webpack,zent}/**/*.js\"",
"prettify": "yarn prettify-js && yarn prettify-style",
"postinstall": "./scripts/ensure-husky-hooks.sh",
"precommit": "lint-staged",
"prepush": "yarn lint && yarn test",
"build": "lerna run build",
"dev": "cd site && yarn dev",
"deploy": "cd site && yarn deploy"
},
"lint-staged": {
"*.js": [
"format-js",
"eslint",
"git add"
],
"*.pcss": [
"format-style",
"stylelint",
"git add"
]
},
"repository": {
"type": "git",
"url": "[email protected]:youzan/zent.git"
},
"keywords": [
"react",
"component"
],
"author": "Youzan FE",
"license": "MIT",
"devDependencies": {
"@types/react": "16.3.11",
"autoprefixer": "7.1.6",
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-eslint": "^7.2.3",
"babel-jest": "22.0.4",
"babel-loader": "^7.0.0",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es3-member-expression-literals": "^6.22.0",
"babel-plugin-transform-es3-property-literals": "^6.22.0",
"babel-plugin-transform-remove-console": "^6.8.1",
"babel-plugin-transform-remove-debugger": "^6.8.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.4.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2016": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"babel-types": "^6.24.1",
"babylon": "^6.17.0",
"colors": "^1.1.2",
"coveralls": "^2.13.1",
"cross-env": "^4.0.0",
"cssnano": "4.0.0-rc.2",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-prettier": "^1.7.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
"eslint-plugin-lean-imports": "^0.3.3",
"eslint-plugin-react": "^6.10.3",
"glob": "^7.1.1",
"gulp": "^3.9.1",
"gulp-postcss": "^7.0.0",
"gulp-rename": "^1.2.2",
"husky": "^0.13.3",
"jest": "22.0.4",
"lerna": "2.10.2",
"lint-staged": "^3.4.0",
"postcss-calc": "^6.0.1",
"postcss-cli": "^4.1.1",
"postcss-easy-import": "^3.0.0",
"postcss-theme-variables": "^1.0.0",
"precss": "2.0.0",
"prettier": "^1.10.2",
"react": "16.2.0",
"react-dom": "16.2.0",
"stylefmt": "^5.3.2",
"stylelint": "^7.10.1",
"stylelint-config-standard": "^16.0.0",
"uglify-js": "^2.8.22",
"webpack": "^2.4.1"
}
}