-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.8 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
{
"name": "website",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev -p 3000",
"build": "next build && next export",
"start": "next start",
"lint": "eslint --ext .jsx,.js src/",
"dev:coverage": "NODE_ENV=e2e nyc --silent yarn dev",
"cy:open": "cypress open",
"cy:run": "cypress run",
"test:jest": "jest",
"test:cy": "start-server-and-test dev:coverage 3000 cy:run",
"test": "yarn test:jest && yarn test:cy",
"ci:start": "yarn dev:coverage && wait-on http://localhost:3000",
"pretest": "rm -rf .nyc_output || true",
"posttest": "yarn report:combined",
"mkdir:reports": "mkdir reports || true",
"precopy:reports": "yarn mkdir:reports",
"copy:reports": "cp cypress-coverage/coverage-final.json reports/from-cypress.json && cp jest-coverage/coverage-final.json reports/from-jest.json",
"precombine:reports": "yarn copy:reports && mkdir .nyc_output || true",
"combine:reports": "npx nyc merge reports && mv coverage.json .nyc_output/out.json",
"prereport:combined": "yarn combine:reports",
"report:combined": "npx nyc report --reporter lcov --reporter text --report-dir coverage",
"open:coverage": "open ./coverage/lcov-report/index.html"
},
"dependencies": {
"@emotion/babel-preset-css-prop": "^10.0.27",
"@emotion/core": "^10.0.28",
"emotion-theming": "^10.0.27",
"eslint-plugin-cypress": "^2.10.3",
"gray-matter": "^4.0.2",
"next": "9.3.5",
"prop-types": "^15.7.2",
"raw-loader": "^4.0.1",
"react": "16.13.1",
"react-dom": "16.13.1",
"react-markdown": "^4.3.1"
},
"devDependencies": {
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-react-jsx": "^7.9.4",
"@cypress/code-coverage": "^3.7.2",
"@testing-library/jest-dom": "^5.5.0",
"@testing-library/react": "^10.0.3",
"@testing-library/user-event": "^10.1.0",
"babel-eslint": "8",
"babel-jest": "^25.4.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-istanbul": "^6.0.0",
"babel-plugin-transform-dynamic-import": "^2.1.0",
"cross-env": "^7.0.2",
"cypress": "^4.5.0",
"eslint": "4.x",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.18.3",
"eslint-plugin-react-hooks": "^1.7.0",
"http-server": "^0.12.3",
"jest": "^25.4.0",
"jest-emotion": "^10.0.32",
"jest-environment-jsdom": "^26.0.1",
"jest-environment-jsdom-global": "^2.0.2",
"jest-prop-type-error": "^1.1.0",
"next-images": "^1.4.0",
"react-test-renderer": "^16.13.1",
"start-server-and-test": "^1.11.0",
"wait-on": "^5.0.0"
},
"nyc": {
"report-dir": "cypress-coverage",
"include": [
"src/**/*.js"
]
}
}