-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
123 lines (123 loc) · 3.05 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
115
116
117
118
119
120
121
122
123
{
"name": "@1stg/jedi",
"version": "0.0.1",
"description": "Customizable, pluggable and lazy loading first front-end project system",
"repository": "git@github.com:1stg/jedi.git",
"author": "JounQin <admin@1stg.me>",
"license": "MIT",
"main": "./lib",
"module": "./lib",
"types": "./lib/index.d.ts",
"scripts": {
"dev": "nodemon",
"build": "tsc -p src",
"demo": "rimraf dist && cross-env NODE_ENV=production webpack -p",
"lint": "tslint -p . -t stylish"
},
"peerDependencies": {
"react": "^16.6.3",
"react-dom": "^16.6.3"
},
"dependencies": {
"@babel/runtime": "^7.1.5"
},
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.1.6",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@types/html-webpack-plugin": "^3.2.0",
"@types/node": "^10.12.11",
"@types/react": "^16.7.11",
"@types/react-dom": "^16.0.11",
"@types/requirejs": "^2.1.31",
"@types/systemjs": "^0.20.6",
"@types/webpack": "^4.4.20",
"@types/webpack-dev-server": "^3.1.1",
"@types/webpack-env": "^1.13.6",
"antd": "^3.10.9",
"autoprefixer": "^9.3.1",
"babel-loader": "^8.0.4",
"cross-env": "^5.2.0",
"css-loader": "^1.0.1",
"cssnano": "^4.1.7",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.2.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"lint-staged": "^8.1.0",
"nodemon": "^1.18.7",
"postcss-loader": "^3.0.0",
"prettier": "^1.15.3",
"react": "^16.6.3",
"react-dom": "^16.6.3",
"react-hot-loader": "^4.3.12",
"rimraf": "^2.6.2",
"serve": "^10.1.1",
"style-loader": "^0.23.1",
"style-resources-loader": "^1.2.1",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.17.0",
"tslint-config-standard": "^8.0.1",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^3.6.0",
"typescript": "^3.2.1",
"typings-for-css-modules-loader": "^1.7.0",
"webpack": "^4.26.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10"
},
"babel": {
"presets": [
"@babel/env",
"@babel/react",
"@babel/typescript"
],
"plugins": [
"@babel/proposal-class-properties",
"@babel/transform-runtime",
"react-hot-loader/babel"
]
},
"browserslist": "last 1 version",
"cssnano": {
"preset": [
"default",
{
"discardComments": {
"removeAll": true
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run build && git add -A"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"tslint -p . -t stylish --fix",
"git add"
],
"*.{html,json,md}": [
"prettier --write",
"git add"
]
},
"nodemonConfig": {
"ext": "ts",
"exec": "webpack-dev-server --hot",
"watch": [
"webpack.config.ts"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
}