-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 1.95 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
{
"name": "dva-hot",
"version": "0.4.1",
"description": "HMR plugin for dva without babel",
"typings": "./index.d.ts",
"scripts": {
"build": "rimraf lib && babel src --out-dir lib",
"precommit": "lint-staged",
"format": "prettier --write \"**/*.js\"",
"test": "jest",
"lint": "eslint .",
"example": "webpack-dev-server --config ./example/webpack.config.js"
},
"author": "dgeibi",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.4.0",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@types/history": "^4.7.2",
"@types/react": "^16.8.19",
"@types/webpack-env": "^1.13.9",
"acorn": "^6.0.0",
"babel-loader": "^8.0.6",
"dva": "^2.4.1",
"eslint": "^5.16.0",
"eslint-config-dgeibi": "^6.0.0",
"eslint-import-resolver-webpack": "^0.11.1",
"fs-extra": "^8.0.0",
"husky": "^2.0.0",
"jest": "^24.0.0",
"jest-plugin-console-matchers": "^2.9.0",
"jest-plugins": "^2.9.0",
"lint-staged": "^8.2.0",
"prettier": "^1.18.0",
"react": "^16.8.2",
"react-dom": "^16.8.2",
"rimraf": "^2.6.3",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.3",
"webpack-dev-server": "^3.7.1"
},
"directories": {
"lib": "lib"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 90
},
"peerDependencies": {
"react": "15.x || 16.x",
"react-dom": "15.x || 16.x"
},
"files": [
"lib/",
"index.js",
"index.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dgeibi/dva-hot.git"
},
"keywords": [
"dva",
"hmr"
],
"bugs": {
"url": "https://github.com/dgeibi/dva-hot/issues"
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write"
]
},
"homepage": "https://github.com/dgeibi/dva-hot#readme",
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/jest-plugins.js"
]
}
}