-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 3.05 KB
/
Copy pathpackage.json
File metadata and controls
130 lines (130 loc) · 3.05 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
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "react-router-tabs-controller",
"version": "0.0.1",
"description": "react-router-tabs-controller,react路由控制器",
"main": "libs/index.js",
"scripts": {
"build-publish": "npm run build && npm publish",
"build": "npm run build-es && npm run build-default",
"build-es": "cross-env BABEL_ENV=es babel ./src -d es",
"build-default": "cross-env BABEL_ENV=default babel ./src -d libs",
"build-default-watch": "cross-env BABEL_ENV=default babel ./src -d libs -w",
"build-es-watch": "cross-env BABEL_ENV=es babel ./src -d es -w",
"start": "react-boilerplate-app-scripts start",
"build-demo": "react-boilerplate-app-scripts build",
"serve-build": "react-boilerplate-app-scripts serve-build",
"prettier": "prettier --write './**/*(*.js|*.jsx|*.less|*.css)'",
"switch-demo": "switch-demo",
"test": ""
},
"lint-staged": {
"*.js|*.jsx": [
"eslint"
],
"*.js|*.jsx|*.less|*.css": [
"prettier --write",
"git add"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/dog-days/react-router-tabs-controller.git"
},
"keywords": [
"react",
"router",
"controller",
"控制器",
"路由"
],
"author": "xianshannan",
"license": "ISC",
"bugs": {
"url": "https://github.com/dog-days/react-router-tabs-controller/issues"
},
"homepage": "https://github.com/dog-days/react-router-tabs-controller#readme",
"dependencies": {
"promise": "^8.0.1",
"react-router-dom": "^4.1.2"
},
"devDependencies": {
"antd": "^3.5.4",
"babel-cli": "^6.24.1",
"cross-env": "^5.0.4",
"husky": "^1.0.0-rc.4",
"lint-staged": "^7.1.2",
"lodash": "^4.17.10",
"preact": "^8.2.6",
"preact-compat": "^3.17.0",
"prettier": "^1.13.3",
"prop-types": "^15.5.10",
"react": "^15.6.1",
"react-boilerplate-app-scripts": "^0.2.11",
"react-dom": "^15.6.1",
"switch-demo": "0.0.1"
},
"peerDependencies": {
"prop-types": ">=15.5.7",
"react": ">=15.5.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"react-boilerplate-app-scripts": {
"appSrcPath": "demo/demo-i18n/src",
"appPublicPath": "demo/demo-i18n/public"
},
"babel": {
"presets": [
"react",
[
"es2015",
{
"modules": false
}
],
"stage-0"
],
"plugins": [
"transform-decorators-legacy"
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel"
]
},
"default": {
"plugins": [
"transform-decorators-legacy"
],
"presets": [
"react",
"es2015",
"stage-0"
]
},
"es": {
"plugins": [
"transform-decorators-legacy"
],
"presets": [
"react",
[
"es2015",
{
"modules": false
}
],
"stage-0"
]
}
}
},
"eslintConfig": {
"extends": "react-app"
}
}