-
Notifications
You must be signed in to change notification settings - Fork 330
/
package.json
107 lines (107 loc) · 3.73 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
{
"name": "calculator",
"version": "2.0.0",
"description": "See how to configure Jest and Cypress with React, Babel, and Webpack",
"main": "index.js",
"scripts": {
"test": "is-ci-cli \"test:coverage\" \"test:watch\"",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:debug": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"cy:run": "cypress run",
"cy:open": "cypress open",
"test:e2e": "is-ci-cli \"test:e2e:run\" \"test:e2e:dev\"",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "start-server-and-test start http://localhost:8080 cy:run",
"test:e2e:dev": "start-server-and-test dev http://localhost:8080 cy:open",
"dev": "npm-run-all --parallel dev:*",
"dev:server": "node server",
"dev:client": "webpack serve --mode=development",
"build": "webpack --mode=production",
"postbuild": "node -e \"require('fs').copyFileSync('./public/index.html', './dist/index.html')\"",
"start": "npm-run-all --parallel start:*",
"start:server": "node server",
"start:client": "serve --no-clipboard --single --listen 8080 dist",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|json|css|html|md)\"",
"lint": "jest --config test/jest.lint.js",
"validate": "npm run test:coverage && npm run test:e2e:run",
"postinstall": "cd server && npm install",
"netlify": "npm-run-all --parallel test:coverage build && cp -r coverage/lcov-report dist/lcov-report",
"setup": "npm install && npm run validate"
},
"jest-runner-eslint": {
"cliOptions": {
"ignorePath": "./.gitignore"
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test:e2e:run"
}
},
"lint-staged": {
"**/*.+(js|json|css|html|md)": [
"prettier",
"jest --findRelatedTests"
]
},
"keywords": [],
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"license": "GPL-3.0",
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@emotion/babel-preset-css-prop": "^11.0.0",
"@emotion/jest": "^11.1.0",
"@testing-library/cypress": "^7.0.3",
"@testing-library/jest-dom": "^5.11.8",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
"babel-loader": "^8.2.2",
"css-loader": "^5.0.1",
"cypress": "^6.2.0",
"eslint": "^7.17.0",
"eslint-config-kentcdodds": "^17.3.0",
"eslint-import-resolver-jest": "^3.0.0",
"eslint-plugin-cypress": "^2.11.2",
"file-loader": "^6.2.0",
"husky": "^4.3.6",
"identity-obj-proxy": "^3.0.0",
"is-ci-cli": "^2.1.2",
"jest": "^26.6.3",
"jest-runner-eslint": "^0.10.0",
"jest-watch-select-projects": "^2.0.0",
"jest-watch-typeahead": "^0.6.1",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"serve": "^11.3.2",
"start-server-and-test": "^1.11.7",
"style-loader": "^2.0.0",
"test-data-bot": "^0.8.0",
"webpack": "^5.11.1",
"webpack-cli": "^4.3.1",
"webpack-dev-server": "^3.11.1"
},
"dependencies": {
"@emotion/core": "^11.0.0",
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@reach/router": "^1.3.4",
"axios": "^0.21.1",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kentcdodds/jest-cypress-react-babel-webpack.git"
},
"bugs": {
"url": "https://github.com/kentcdodds/jest-cypress-react-babel-webpack/issues"
},
"homepage": "https://github.com/kentcdodds/jest-cypress-react-babel-webpack#readme"
}