-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
103 lines (103 loc) · 3.6 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
{
"name": "react-lego",
"version": "3.0.0",
"description": "",
"license": "MIT",
"main": "src/server-entry.js",
"engines": {
"node": "^8.11.2",
"npm": "^5.6.0",
"yarn": "^1.1.0"
},
"author": "Peter Mouland",
"scripts": {
"------ GIT HOOKS ------": "",
"postinstall": "yarn build",
"------ BUILD STEPS ------": "",
"build": "rm -rf compiled && yarn compile && cp src/index.html compiled",
"compile": "webpack --config webpack.config.prod.js",
"------ SERVER STEPS ------": "",
"start": "http-server compiled",
"start:dev": "ENV=dev node src/server-entry.js",
"------ TESTING ------": "",
"test:setup": "selenium-standalone install yarn build",
"lint": "sass-lint -v -q -c ./sass-lint.yml && eslint 'src/**/*.js' 'src/**/*.jsx'",
"test": "yarn test:unit && yarn test:func",
"test:unit": "jest --config jest.json .*.spec.jsx?",
"test:func": "jest --config jest.json .*.func.jsx? --collectCoverage false",
"test:e2e": "yarn test:e2e-local",
"test:e2e-local": "yarn nightwatch -- --env local --tag staging",
"test:e2e-production": "yarn nightwatch -- --env chrome_win --tag production",
"test:e2e-staging": "yarn nightwatch -- --env safari_osx,chrome_osx,firefox_win,firefox_osx,IE11,edge --tag staging",
"nightwatch": "nightwatch -o ./tests/e2e/tests_output -c ./tests/config/nightwatch/nightwatch.conf.js",
"------ UTILS ------": "",
"nuke": "rm -rf node_modules && yarn && yarn test"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn test",
"pre-push": "yarn build && yarn test:setup && yarn test:e2e"
}
},
"dependencies": {
"@babel/core": "^7.0.0-beta.49",
"@babel/plugin-transform-runtime": "^7.0.0-beta.49",
"@babel/preset-react": "^7.0.0-beta.49",
"@babel/runtime": "^7.0.0-beta.49",
"assets-webpack-plugin": "^3.5.1",
"babel-core": "^7.0.0-0",
"babel-loader": "^8.0.0-beta.2",
"css-loader": "^0.28.10",
"cssnano": "^4.0.0-rc.2",
"debug": "^3.1.0",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"http-server": "^0.11.1",
"node-fetch": "^2.1.2",
"node-sass": "^4.9.0",
"postcss-loader": "^2.1.1",
"progress-bar-webpack-plugin": "^1.11.0",
"promise-polyfill": "^8.0.0",
"prop-types": "^15.6.1",
"react": "^16.4.0",
"react-document-meta": "^2.1.2",
"react-dom": "^16.4.0",
"react-router-dom": "^4.2.2",
"sass-loader": "^7.0.3",
"style-loader": "^0.21.0",
"webpack": "^4.11.0",
"webpack-cli": "^3.0.2",
"webpack-visualizer-plugin": "^0.1.11",
"whatwg-fetch": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.49",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.49",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.49",
"@babel/preset-env": "^7.0.0-beta.49",
"@babel/register": "^7.0.0-beta.49",
"babel-eslint": "^8.2.3",
"babel-jest": "^23.0.1",
"babel-plugin-add-module-exports": "^0.2.1",
"chance": "^1.0.16",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.18.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jest": "^21.12.2",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.7.0",
"express": "^4.16.2",
"http-proxy": "^1.16.2",
"husky": "^0.15.0-rc.8",
"jest": "^23.1.0",
"jsdom": "^11.6.2",
"nightwatch": "^0.9.19",
"nightwatch-html-reporter": "^2.0.5",
"sass-lint": "^1.12.1",
"selenium-standalone": "^6.12.0",
"webpack-serve": "^1.0.2",
"yargs": "^11.0.0"
}
}