-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
118 lines (118 loc) · 4 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
{
"name": "frontend",
"description": "A production-ready boilerplate built with ES6 React/Redux",
"license": "MIT",
"version": "0.0.1",
"author": "Brian Cappello",
"homepage": "https://github.com/briancappello",
"repository": "https://github.com/briancappello/flask-unchained-react-spa",
"scripts": {
"analyze": "node node_modules/webpack-bundle-analyzer/lib/bin/analyzer.js static/stats.json --port 5556",
"build:analyze": "npm run build && npm run analyze",
"build:dll": "node frontend/internals/scripts/dependencies.js",
"build:webpack": "NODE_ENV=production webpack --config frontend/internals/webpack/webpack.prod.config.js",
"build": "npm run clean && npm run build:webpack",
"clean": "rimraf static",
"postinstall": "npm run build:dll",
"postsetup": "npm run build:dll",
"start": "node frontend/server",
"test": "NODE_ENV=test jest",
"test:watch": "NODE_ENV=test jest --watchAll"
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"classnames": "^2.2.5",
"date-fns": "^1.28.5",
"handlebars": "^4.5.3",
"hoist-non-react-statics": "^2.3.1",
"invariant": "^2.2.2",
"isomorphic-fetch": "^2.2.1",
"js-cookie": "^2.1.4",
"lodash": "^4.17.13",
"normalize.css": "^4.2.0",
"path-to-regexp": "^2.0.0",
"prop-types": "^15.6.0",
"query-string": "^5.0.0",
"react": "^16.0.0",
"react-dom": "^16.0.0",
"react-helmet": "^5.2.0",
"react-highlight": "briancappello/react-highlight#react-v16-compiled",
"react-loadable": "^4.0.5",
"react-redux": "^5.0.6",
"react-redux-loading-bar": "^2.9.2",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.6",
"react-svg": "^2.1.22",
"redux": "^3.7.2",
"redux-form": "^7.1.0",
"redux-saga": "^0.15.6",
"set-value": "^2.0.1",
"super-skeleton": "briancappello/super-skeleton"
},
"devDependencies": {
"add-asset-html-webpack-plugin": "^2.1.1",
"babel-core": "^6.26.0",
"babel-jest": "^20.0.3",
"babel-loader": "^7.1.2",
"babel-plugin-dynamic-import-node": "^1.0.2",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-display-name": "^6.25.0",
"babel-preset-env": "^1.6.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"css-loader": "^0.28.5",
"express": "^4.15.4",
"express-http-proxy": "^1.0.6",
"file-loader": "^0.11.2",
"html-webpack-plugin": "^2.30.1",
"ip": "^1.1.5",
"jest-cli": "^20.0.4",
"json-loader": "^0.5.7",
"node-sass": "^4.12.0",
"react-hot-loader": "^3.0.0-beta.7",
"redbox-react": "^1.5.0",
"resolve-url-loader": "^2.1.0",
"rimraf": "^2.6.1",
"sass-loader": "^6.0.6",
"shelljs": "^0.7.8",
"style-loader": "^0.18.2",
"url-loader": "^0.6.2",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.18.2"
},
"dllPlugin": {
"path": "node_modules/react-spa-dlls"
},
"jest": {
"collectCoverageFrom": [
"app/**/*.{js,jsx}",
"!app/**/*.test.{js,jsx}",
"!app/index.js",
"!app/routes.js"
],
"coverageThreshold": {
"global": {
"statements": 98,
"branches": 91,
"functions": 98,
"lines": 98
}
},
"moduleDirectories": [
"node_modules",
"app"
],
"moduleNameMapper": {
".*\\.(css|less|styl|scss|sass)$": "<rootDir>/frontend/internals/testing/mocks/cssModule.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/frontend/internals/testing/mocks/fileMock.js"
},
"setupTestFrameworkScriptFile": "<rootDir>/frontend/internals/testing/test-bundler.js",
"testRegex": "tests/.*\\.test\\.js$"
}
}