-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2.94 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
{
"name": "rematch",
"version": "1.0.0",
"scripts": {
"prebuild": "npm run validate",
"build": "webpack --config webpack.prod.js",
"prebuild:analyze": "webpack --config webpack.prod.js --profile --json > buildlog/stats.json",
"build:analyze": "webpack-bundle-analyzer buildlog/stats.json dist -l debug",
"prestart": "npm run validate",
"start": "npm run start:dev",
"start:dev": "NODE_ENV=dev webpack-dev-server --config webpack.dev.js",
"test": "NODE_ENV=test jest --coverage",
"test:watch": "NODE_ENV=test jest --watch --coverage",
"lint": "eslint --ext .js --ext .jsx --fix ./src/app --o buildlog/linter.html -f html",
"sass-lint": "sass-lint --config .sasslintrc.json \"src/app/**/*.scss\" --verbose --no-exit",
"prevalidate": "rimraf buildlog",
"validate": "run-p -c lint sass-lint test",
"prepush": "npm run validate"
},
"dependencies": {
"@rematch/core": "^1.0.0-beta.4",
"babel-polyfill": "^6.26.0",
"prop-types": "^15.6.2",
"react": "^16.4.2",
"react-dom": "^16.4.2",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"rimraf": "^2.6.2",
"webpack-cli": "^3.1.0",
"webpack": "^4.16.5",
"webpack-merge": "^4.1.4"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.2",
"babel-loader": "^7.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"clean-webpack-plugin": "^0.1.19",
"css-loader": "^1.0.0",
"enzyme": "^3.4.1",
"enzyme-adapter-react-16": "^1.2.0",
"eslint": "^5.3.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-loader": "^2.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.10.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^23.4.2",
"jest-html-reporter": "^2.4.2",
"node-sass": "^4.9.2",
"npm-run-all": "^4.1.3",
"react-test-renderer": "^16.4.2",
"sass-lint": "^1.12.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.22.1",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-dev-server": "^3.1.5"
},
"jest": {
"testURL": "http://localhost/",
"setupFiles": [
"<rootDir>/test/setup.js"
],
"moduleNameMapper": {
"\\.(css|less|scss)$": "<rootDir>/test/__mocks__/style.js"
},
"collectCoverageFrom": [
"**/src/app/**/*.{js,jsx}",
"!**/src/app/index.jsx"
],
"coverageDirectory": "./buildlog/coverage",
"reporters": [
"default",
[
"./node_modules/jest-html-reporter",
{
"pageTitle": "Rematch",
"outputPath": "./buildlog/test-results.html",
"includeFailureMsg": true,
"includeConsoleLog": true,
"theme": "darkTheme",
"sort": "status"
}
]
]
}
}