-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
114 lines (114 loc) · 3.88 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
{
"name": "fego",
"version": "0.0.2",
"description": "基于 React 的 web & wap 开发库",
"homepage": "https://www.fegos.cn",
"main": "lib/index.js",
"module": "es/index.js",
"author": "esky asyxu",
"keywords": [
"fego",
"react",
"react-component",
"component",
"components",
"ui",
"framework",
"desktop",
"mobile"
],
"repository": {
"type": "git",
"url": "https://github.com/fegos/fego.git"
},
"bugs": {
"url": "https://github.com/fegos/fego/issues"
},
"files": [
"es",
"lib",
".babelrc"
],
"license": "MIT",
"dependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"axios": "^0.17.1",
"classnames": "~2.2.0",
"lodash": "^4.17.4",
"react-slick": "~0.15.4",
"rc-animate": "^2.4.1",
"babel-polyfill": "^6.23.0",
"moment": "^2.19.2",
"viewport-units-buggyfill": "^0.6.2"
},
"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.25.0",
"babel-eslint": "8.0.2",
"babel-loader": "^7.1.0",
"babel-plugin-import": "^1.2.1",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-1": "^6.5.0",
"babel-preset-stage-2": "^6.24.1",
"bisheng": "^0.27.2",
"bisheng-plugin-description": "^0.1.4",
"bisheng-plugin-react": "^0.5.8",
"bisheng-plugin-toc": "^0.4.4",
"bundle-loader": "^0.5.5",
"chunk-manifest-webpack-plugin": "^1.1.0",
"cross-env": "^5.0.1",
"css-loader": "^0.28.4",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"esky-mock": "^1.0.7",
"eslint": "^4.16.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.6.0",
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "^0.11.2",
"history": "^4.6.3",
"html-loader": "^0.4.5",
"html-webpack-plugin": "^2.29.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^22.4.2",
"less": "^2.7.2",
"less-loader": "^4.0.4",
"null-loader": "^0.1.1",
"react-document-title": "^2.0.3",
"react-redux": "^5.0.5",
"react-router": "^4.1.1",
"react-router-config": "^1.0.0-beta.3",
"react-router-dom": "^4.1.1",
"react-router-redux": "^5.0.0-alpha.6",
"react-test-renderer": "^16.2.0",
"redux": "^3.7.1",
"redux-thunk": "^2.2.0",
"sinon": "^4.4.6",
"style-loader": "^0.18.2",
"url-loader": "^0.5.9",
"webpack": "^3.0.0",
"webpack-bundle-analyzer": "^2.8.2",
"webpack-dev-server": "^2.5.0"
},
"scripts": {
"init": "npm install --no-optional -s --registry=https://registry.npm.taobao.org",
"mock": "esky-mock -c www/mock/config.js",
"start": "cross-env NODE_ENV=development BABEL_ENV=es webpack-dev-server --progress --config www/config/webpack.config.js",
"start-mob": "cross-env NODE_ENV=development BABEL_ENV=es webpack-dev-server --progress --config www/config/webpack.mob.config.js",
"start-site": "bisheng start -c site/bisheng.config.js",
"build-site": "bisheng build -c site/bisheng.config.js",
"build-www": "npm run build-desk && npm run build-mob",
"build-desk": "rm -rf ./www/build/desktop && cross-env NODE_ENV=production BABEL_ENV=es webpack --progress --config www/config/webpack.config.js",
"build-mob": "rm -rf ./www/build/mobile && cross-env NODE_ENV=production BABEL_ENV=es webpack --progress --config www/config/webpack.mob.config.js",
"build": "npm run build:commonjs && npm run build:es",
"build:commonjs": "rm -rf lib && cross-env BABEL_ENV=commonjs babel src --out-dir lib --copy-files && cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "rm -rf es &&cross-env BABEL_ENV=es babel src --out-dir es --copy-files && cross-env BABEL_ENV=es babel src --out-dir es",
"test": "jest --config=jest.config.js"
}
}