-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
61 lines (61 loc) · 2.06 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
{
"name": "plataforma-sabia",
"private": true,
"scripts": {
"start:ci": "lerna run start:ci --parallel --no-bail",
"start": "lerna run dev --parallel --no-bail",
"postinstall": "lerna exec --parallel --no-bail -- npm i --package-lock-only --quiet && lerna bootstrap",
"lint": "eslint .",
"test": "(cd packages/api && npm run test) && (cd packages/web && npm run test)",
"coverage": "(cd packages/api && npm run coverage) && (cd packages/web && npm run jest)",
"test:e2e:run": "cross-env NODE_ENV=cypress start-server-and-test start:ci '3334|8000' \"cypress run --record --headless\" ",
"test:e2e": "cypress run --headed",
"merge-coverage": "nyc merge packages/api/.nyc_output .nyc_output/api.json && nyc merge packages/web/coverage .nyc_output/web.json && nyc report",
"build-coverage": "npm run coverage && npm run merge-coverage"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"eslint"
]
},
"devDependencies": {
"@10up/eslint-config": "^2.0.0",
"@cypress/code-coverage": "^3.9.10",
"@testing-library/cypress": "^6.0.0",
"babel-eslint": "10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"coveralls": "^3.1.0",
"cross-env": "^7.0.2",
"cypress": "^6.4.0",
"cypress-file-upload": "^5.0.7",
"cypress-wait-until": "^1.7.1",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsdoc": "^22.1.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.0",
"husky": "^4.2.3",
"is-ci": "^2.0.0",
"lerna": "^3.22.1",
"lint-staged": "^10.0.8",
"nyc": "^15.1.0",
"prettier": "^1.19.1",
"smtp-tester": "^1.2.0",
"start-server-and-test": "^1.11.0"
},
"engines": {
"node": ">=14.15.0"
}
}