-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.45 KB
/
package.json
File metadata and controls
51 lines (51 loc) · 1.45 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
{
"name": "routility-react",
"version": "0.0.0",
"description": "React binding for Routility",
"main": "index.js",
"keywords": [
"router",
"route",
"react",
"reactjs"
],
"author": "Daiwei Lu <daiweilu123@gmail.com> (http://daiwei.lu)",
"license": "MIT",
"files": [
"dist",
"lib",
"src"
],
"devDependencies": {
"babel-cli": "^6.5.1",
"babel-core": "^6.5.2",
"babel-loader": "^6.2.3",
"babel-preset-es2015": "^6.5.0",
"babel-preset-es2015-loose": "^7.0.0",
"babel-preset-react": "^6.5.0",
"browser-sync": "^2.11.1",
"react": "^0.14.7",
"react-dom": "^0.14.7",
"routility": "^0.1.0",
"webpack": "^1.12.13"
},
"peerDependencies": {
"react": "^0.14.0",
"react-dom": "^0.14.0",
"routility": "^0.1.0"
},
"scripts": {
"lint": "eslint *.js src",
"test": "karma start",
"watch:test": "karma start --no-single-run",
"check": "npm run lint && npm test",
"clean": "rimraf lib",
"build:lib": "babel src --out-dir lib",
"build:umd": "webpack src/index.js dist/routility-react.js --config webpack.config.development.js",
"build:umd:min": "webpack src/index.js dist/routility-react.min.js --config webpack.config.production.js",
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min",
"preversion": "npm run check",
"postversion": "git push && git push --tags",
"prepublish": "npm run clean && npm run build"
}
}