-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.71 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.71 KB
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
{
"name": "next-app",
"version": "0.1.0",
"license": "MIT",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"cy-open": "$(npm bin)/cypress open",
"cy:run": "$(npm bin)/cypress run",
"test-jest": "cross-env NODE_ENV=test_jest jest",
"jest-cov": "cross-env NODE_ENV=test_jest jest --coverage",
"test-cy": "cross-env NODE_ENV=test start-server-and-test dev http://localhost:3000 cy:run",
"cov-clean": "rm -rf .coverage-jest .coverage-cypress .nyc_output .coverage",
"combined-cov": "npm run cov-clean && npm run jest-cov && npm run test-cy",
"copy-reports": "rm -f .nyc_output/out.json && cp .coverage-cypress/coverage-final.json .nyc_output/cypress.json && cp .coverage-jest/coverage-final.json .nyc_output/jest.json",
"merge": "nyc merge .nyc_output .nyc_output/combined.json",
"coverage": "npm run combined-cov && npm run copy-reports && npm run merge && nyc report --report-dir=.nyc_output/lcov --reporter=html",
"storybook": "start-storybook -s ./public -p 6006",
"build-storybook": "build-storybook",
"lint": "./node_modules/eslint/bin/eslint.js .",
"fix-all": "./node_modules/eslint/bin/eslint.js . --fix ",
"fix": "./node_modules/eslint/bin/eslint.js --fix "
},
"dependencies": {
"@reduxjs/toolkit": "^1.3.6",
"next": "9.4.4",
"prop-types": "^15.7.2",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-redux": "^7.2.0",
"redux": "^4.0.5",
"styled-components": "^5.1.1"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@cypress/code-coverage": "^3.8.1",
"@storybook/addon-a11y": "^5.3.19",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addon-viewport": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/react": "^5.3.19",
"@testing-library/react": "^10.2.1",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.0.0",
"cross-env": "^7.0.2",
"cypress": "^4.8.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-cypress": "^2.11.1",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^2.5.1",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.10",
"nyc": "^15.1.0",
"start-server-and-test": "^1.11.0"
},
"nyc": {
"reporter": [
"text",
"json",
"lcov"
],
"report-dir": ".coverage-cypress"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run coverage"
}
},
"lint-staged": {
"*.js": "npm run lint"
}
}