forked from HHS/TANF-app
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
113 lines (113 loc) · 3.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
{
"name": "tdrs-frontend",
"version": "0.1.0",
"license": "MIT",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"@fortawesome/react-fontawesome": "^0.1.18",
"@lagunovsky/redux-react-router": "^3.2.0",
"axios": "^0.27.2",
"classnames": "^2.3.0",
"file-type": "^16.5.3",
"history": "^5.3.0",
"include-media": "^1.4.10",
"miragejs": "^0.1.44",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-idle-timer": "^4.6.4",
"react-redux": "^7.2.5",
"react-router": "^6.3.0",
"react-router-dom": "^6.3.0",
"react-scripts": "^4.0.3",
"redux": "^4.1.1",
"redux-thunk": "^2.3.0",
"seamless-immutable": "^7.1.3",
"uswds": "2.13.3",
"uuid": "^8.3.2"
},
"scripts": {
"start": "react-scripts start",
"start:ci": "CI=true HOST=localhost BROWSER=none npm run start",
"build": "sh -ac '. ./.env.${REACT_APP_ENV}; SASS_PATH=node_modules:src react-scripts build'",
"build:development": "REACT_APP_ENV=development npm run build",
"build:production": "REACT_APP_ENV=production npm run build",
"test": "react-scripts test",
"test:cov": "react-scripts test --coverage --watchAll",
"test:ci": "CI=1 react-scripts test --coverage",
"test:accessibility": "concurrently -k -s first 'REACT_APP_PA11Y_TEST=true npm run start:ci' 'wait-on http://localhost:3000/ && npm run pa11y-ci'",
"test:e2e": "cypress open",
"test:e2e-ci": "cypress run --headless -b chrome --env cypressToken=${CYPRESS_TOKEN}",
"eject": "react-scripts eject",
"lint": "eslint src/ && echo 'Lint complete.'",
"pa11y-ci": "pa11y-ci --config .pa11yci.json"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@badeball/cypress-cucumber-preprocessor": "^14.0.0",
"@cypress/webpack-preprocessor": "^5.15.5",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"concurrently": "^7.2.0",
"cypress": "^11.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-prettier": "^4.0.0",
"faker": "^5.5.3",
"jest-enzyme": "^7.1.2",
"pa11y-ci": "^3.0.1",
"prettier": "^2.6.0",
"react-error-overlay": "6.0.9",
"redux-devtools-extension": "^2.13.8",
"redux-mock-store": "^1.5.4",
"sass": "^1.50.0",
"wait-on": "^6.0.1"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/index.js",
"!src/axios-instance.js",
"!src/serviceWorker.js",
"!src/configureStore.js",
"!src/mirage.js",
"!src/middleware/logger.js",
"!src/utils/**/*.js"
],
"coverageThreshold": {
"global": {
"statements": 90,
"branches": 90,
"functions": 90,
"lines": 90
}
}
},
"cypress-cucumber-preprocessor": {
"stepDefinitions": [
"cypress/e2e/*/[filepath].js",
"cypress/e2e/common-steps/*.js",
"cypress/e2e/accounts/*.js",
"cypress/e2e/integration/*.js"
]
}
}