-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
92 lines (92 loc) · 3.45 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
{
"name": "hackerbay-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@blueprintjs/core": "^3.6.1",
"axios": "^0.18.0",
"axios-mock-adapter": "^1.15.0",
"moment": "^2.22.2",
"react": "^16.5.1",
"react-dom": "^16.5.1",
"react-redux": "^5.0.7",
"react-router-dom": "^4.3.1",
"react-scripts": "1.1.5",
"redux": "^4.0.0",
"redux-form": "^7.4.2",
"redux-form-validators": "^2.7.2",
"redux-logger": "^3.0.6",
"redux-promise-middleware": "^5.1.1",
"redux-thunk": "^2.3.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom --testPathIgnorePatterns Imageshots",
"test:unitandintegration": "react-scripts test --env=jsdom --testPathIgnorePatterns Imageshots Storyshots",
"test:storyshots": "react-scripts test --env=jsdom Storyshots.test.js --testPathIgnorePatterns Imageshots",
"test:imageshots:local": "concurrently \"npm run storybook\" \"sleep 1 && react-scripts test --env=jsdom ImageshotsForLocal.test.js\"",
"test:imageshots:ci": "npm run build-storybook && react-scripts test --env=jsdom ImageshotsForCI.test.js",
"test:cypress:local": "concurrently \"npm start\" \"wait-on http://localhost:3000 && cypress open\"",
"test:cypress:ci": "npm start & wait-on http://localhost:3000 && cypress run --record",
"test:ci": "npm run test -- --coverage && codecov",
"test:ci:withCypress": "npm run test -- --coverage && codecov && npm run test:cypress:ci",
"eject": "react-scripts eject",
"lint": "eslint ./",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"docker:dev:run": "docker-compose -f docker-compose.yml -f dc-development.yml up --build",
"docker:dev:stop": "docker-compose -f docker-compose.yml -f dc-development.yml down -v",
"docker:dev:test": "docker-compose -f docker-compose.yml -f dc-development.yml run -e NODE_ENV=test frontend npm test"
},
"devDependencies": {
"@storybook/addon-actions": "^3.4.11",
"@storybook/addon-backgrounds": "^3.4.11",
"@storybook/addon-console": "^1.0.4",
"@storybook/addon-info": "^3.4.11",
"@storybook/addon-knobs": "^3.4.11",
"@storybook/addon-links": "^3.4.11",
"@storybook/addon-notes": "^3.4.11",
"@storybook/addon-storyshots": "^3.4.11",
"@storybook/addon-viewport": "^3.4.11",
"@storybook/addons": "^3.4.11",
"@storybook/react": "^3.4.11",
"babel-core": "^6.26.3",
"babel-runtime": "^6.26.0",
"codecov": "^3.1.0",
"concurrently": "^4.0.1",
"cypress": "^3.1.0",
"deep-freeze": "0.0.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-chai-friendly": "^0.4.1",
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-prettier": "^2.6.2",
"jest-config": "^23.6.0",
"jest-dom": "^2.0.2",
"prettier": "^1.14.2",
"react-test-renderer": "^16.5.2",
"react-testing-library": "^5.1.0",
"redux-form-storybook": "^1.0.2",
"redux-mock-store": "^1.5.3",
"storybook-addon-jsx": "^5.4.0",
"storybook-host": "^5.0.3",
"wait-on": "^3.1.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.stories.{js,jsx}",
"!src/*.{js,jsx}"
],
"coverageThreshold": {
"global": {
"branches": 50,
"functions": 50,
"lines": 50,
"statements": -100
}
}
}
}