-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.16 KB
/
package.json
File metadata and controls
66 lines (66 loc) · 2.16 KB
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
{
"name": "react-loading-spinkit",
"author": "phobal",
"version": "0.1.7",
"description": "page loading component",
"main": "./index.js",
"repository": {
"type": "git",
"url": "https://github.com/phobal/react-loading-spinkit.git"
},
"keywords": [
"react",
"react-component",
"loading",
"spinkit",
"react-loading",
"react-spinkit",
"react-loading-spinkit"
],
"scripts": {
"//": "发布到 npm 前进行编译处理",
"build": "npm run clean:build && npm run build:copy-files && npm run build:babel && npm run build:copy-assets",
"build:babel": "NODE_ENV=release babel ./src --out-dir ./build",
"build:copy-files": "babel-node ./scripts/copyfiles.js",
"build:copy-assets": "cp -r ./assets ./build",
"publish": "cd ./build && npm publish",
"clean:build": "rimraf build",
"clean:docs": "rimraf docs",
"build:docs": "# 生成 example 文档 \n \t npm run clean:docs && cross-env NODE_ENV=production webpack --progress --hide-modules --colors --config webpack.prod.config.js",
"start": "webpack-dev-server --host 0.0.0.0 --port 8090 --config webpack.config.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"license": "MIT",
"dependencies": {
"prop-types": "^15.6.0",
"react-spinkit": "^3.0.0"
},
"peerDependencies": {
"react": "^15.6.2 || ^16.0.0",
"react-dom": "^15.6.2 || ^16.0.0"
},
"devDependencies": {
"axios": "^0.16.2",
"babel": "^6.23.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.25.0",
"babel-loader": "^7.1.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"css-loader": "^0.28.7",
"express": "^4.15.4",
"extract-text-webpack-plugin": "^3.0.2",
"fs-extra": "^4.0.3",
"html-webpack-plugin": "^2.30.1",
"open-browser-webpack-plugin": "^0.0.5",
"react-tap-event-plugin": "2.0.1",
"style-loader": "^0.19.0",
"webpack": "^3.4.1",
"webpack-dev-server": "^2.6.1",
"zcontrol": "1.1.84"
}
}