-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 3.67 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 \"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 \"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-dev-server --mode=development",
"build": "webpack --mode=production",
"postbuild": "cp ./public/index.html ./dist/index.html",
"start": "npm-run-all --parallel start:*",
"start:server": "node server",
"start:client": "npm run build && 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",
"git add"
]
},
"keywords": [],
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)",
"license": "GPL-3.0",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.5.5",
"@emotion/babel-preset-css-prop": "^10.0.17",
"@testing-library/cypress": "^5.0.0",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.4",
"babel-loader": "^8.0.6",
"css-loader": "^3.2.0",
"cypress": "^3.4.1",
"eslint": "^6.3.0",
"eslint-config-kentcdodds": "^14.4.0",
"eslint-import-resolver-jest": "^3.0.0",
"eslint-plugin-cypress": "^2.6.1",
"file-loader": "^4.2.0",
"husky": "^3.0.5",
"identity-obj-proxy": "^3.0.0",
"is-ci-cli": "^1.1.1",
"jest": "^24.9.0",
"jest-emotion": "^10.0.17",
"jest-runner-eslint": "^0.7.4",
"jest-watch-select-projects": "^0.1.2",
"jest-watch-typeahead": "^0.4.0",
"lint-staged": "^9.2.5",
"npm-run-all": "^4.1.5",
"prettier": "^1.18.2",
"prop-types": "^15.6.2",
"serve": "^11.1.0",
"start-server-and-test": "^1.10.0",
"style-loader": "^1.0.0",
"test-data-bot": "^0.8.0",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.8",
"webpack-dev-server": "^3.8.0"
},
"dependencies": {
"@emotion/core": "^10.0.17",
"@emotion/styled": "^10.0.17",
"@reach/router": "^1.2.1",
"axios": "^0.19.0",
"emotion-theming": "^10.0.17",
"react": "^16.9.0",
"react-dom": "^16.9.0"
},
"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"
}