-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 4.79 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
124
125
126
127
128
129
130
131
132
133
134
{
"name": "testcase",
"private": true,
"version": "0.0.0",
"description": "Flow test project",
"engines": {
"node": ">= 0.10",
"npm": ">= 2.1"
},
"dependencies": {
"react": "^15.4",
"react-dom": "^15.4",
"react-redux": "^4.4.5",
"redux": "~3.5.2"
},
"devDependencies": {
"babel": "^6.0.0",
"babel-cli": "^6.18.0",
"babel-core": "^6.0.0",
"babel-eslint": "^7.1.0",
"babel-jest": "^19.0.0",
"babel-loader": "^6.0.0",
"babel-plugin-react-transform": "^2.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-es2015": "^6.0.0",
"babel-preset-react": "^6.0.0",
"babel-preset-stage-0": "^6.0.0",
"brfs": "^1.4.1",
"css-loader": "^0.14.5",
"del": "^1.2.0",
"enzyme": "^2.7.1",
"eslint": "^3.10.2",
"eslint-config-airbnb": "^13.0.0",
"eslint-loader": "^1.1.1",
"eslint-plugin-flowtype": "^2.25.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^2.2.3",
"eslint-plugin-react": "^6.7.1",
"file-loader": "0.8.5",
"flow-bin": "^0.41.0",
"flow-coverage-report": "^0.3.0",
"gulp": "^3.9.0",
"gulp-changed": "^1.2.1",
"gulp-debug": "^2.1.2",
"gulp-load-plugins": "^0.10.0",
"gulp-merge-json": "^0.4.0",
"gulp-rename": "^1.2.2",
"gulp-size": "^1.2.1",
"gulp-util": "^3.0.5",
"html-webpack-plugin": "^1.5.2",
"jest": "^19.0.2",
"less": "^2.5.1",
"less-loader": "^2.2.0",
"lint-staged": "^3.3.0",
"merge-stream": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz",
"minimist": "^1.1.1",
"mkdirp": "^0.5.1",
"node-sass": "^3.13.0",
"postcss": "^4.1.11",
"postcss-loader": "^0.4.4",
"pre-commit": "^1.2.2",
"react-addons-perf": "^15.4",
"react-addons-test-utils": "^15.4",
"react-test-renderer": "^15.4",
"react-transform-catch-errors": "^1.0.0",
"react-transform-hmr": "^1.0.1",
"run-sequence": "^1.1.0",
"sass-loader": "^4.0.2",
"style-loader": "^0.12.3",
"transform-loader": "^0.2.3",
"url-loader": "^0.5.6",
"webpack": "^2.2.0",
"webpack-bundle-analyzer": "^1.3.0",
"webpack-dashboard": "^0.2.0",
"webpack-dev-server": "^2.2.0",
"webpack-visualizer-plugin": "^0.1.10"
},
"scripts": {
"start": "node server.js",
"test": "NODE_ENV=test node_modules/.bin/jest --watch --no-cache",
"test:watch": "NODE_ENV=test npm test -- --watch --no-single-run",
"build": "gulp build",
"vendor": "webpack --config webpack-vendor.config.js",
"dev": "yarn install && webpack --config webpack-vendor.config.js && gulp --customer=$CUSTOMER build && webpack-dashboard -- webpack-dev-server --history-api-fallback true --inline --hot --content-base build/public --config webpack-dev.config.js",
"dev:windows": "webpack --config webpack-vendor.config.js && gulp --customer=grip build && webpack-dev-server --history-api-fallback true --inline --hot --content-base build/public --config webpack-dev.config.js",
"prod": "webpack --env.nodevtools --env.release --config webpack-vendor.config.js && NODE_ENV=production gulp --customer=$CUSTOMER clean build && webpack --env.nodevtools --env.release --config webpack-app.config.js && webpack --env.nodevtools --env.release --config webpack-server.config.js",
"proddebug": "webpack --config webpack-vendor.config.js && NODE_ENV=development gulp --customer=$CUSTOMER clean build && webpack --config webpack-app.config.js && webpack --config webpack-server.config.js",
"stats": "UV_THREADPOOL_SIZE=100 webpack --config webpack-app.config.js --profile --json > stats.json",
"flow": "./node_modules/.bin/flow",
"lint-staged": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint --config .eslintrc-staged",
"jest --bail --debug --no-cache --verbose --findRelatedTests"
]
},
"pre-commit": [
"lint-staged",
"flow"
],
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.test.{js,jsx}",
"!src/app.js",
"!src/api.js",
"!src/theme.js",
"!src/theme-overruled.js",
"!src/Context.js",
"!src/server.js",
"!src/routes/routes.js",
"!src/components/Planning10/PlanningBody/PlanningFilter"
],
"coverageThreshold": {
"global": {
"statements": 98,
"branches": 91,
"functions": 98,
"lines": 98
}
},
"moduleDirectories": [
"node_modules",
"src"
],
"moduleNameMapper": {
".*\\.(css|less|styl|scss|sass)$": "<rootDir>/internals/mocks/cssModule.js",
".*\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/image.js"
},
"setupTestFrameworkScriptFile": "<rootDir>/internals/testing/test-bundler.js",
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.js?$"
}
}