-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.36 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
{
"name": "kenode-react-base",
"version": "1.1.0",
"description": "react base",
"main": "index.js",
"repository": "https://github.com/thondery/kenote-react-base.git",
"author": "thondery <thondery@163.com>",
"license": "MIT",
"dependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-hot-loader": "^3.1.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-loader": "^7.1.2",
"babel-plugin-lodash": "^3.2.11",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"codecov": "^3.0.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"cssnano": "^3.10.0",
"extract-text-webpack-plugin": "^3.0.2",
"file-loader": "^1.1.5",
"fs-extra": "^4.0.2",
"html-webpack-include-assets-plugin": "^1.0.2",
"html-webpack-plugin": "^2.30.1",
"jest": "^21.2.1",
"json-loader": "^0.5.7",
"lodash-webpack-plugin": "^0.11.4",
"node-sass": "^4.6.0",
"postcss-loader": "^2.0.8",
"react-test-renderer": "^16.0.0",
"sass-loader": "^6.0.6",
"style-loader": "^0.19.0",
"url-loader": "^0.6.2",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.9.4"
},
"scripts": {
"dev": "cross-env NODE_ENV=development webpack-dev-server --config webpack.dev.config.js --progress",
"start": "npm run clean && npm run build:dll && npm run dev",
"build": "npm run clean && npm run build:dll && npm run compile",
"compile": "cross-env NODE_ENV=production webpack --config webpack.prod.config.js --progress",
"build:dll": "webpack --config webpack.dll.config.js --progress",
"clean": "rimraf ./dist",
"test": "jest --u --colors",
"codecov": "jest --u --colors --coverage && codecov"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
".*\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js"
},
"transform": {
"^.+\\.js$": "babel-jest"
},
"moduleDirectories": [
"node_modules",
"src"
]
}
}