-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.54 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
{
"name": "cra-template-josh-ts",
"version": "0.1.1",
"license": "MIT",
"author": "Joshua Dysiewicz <[email protected]>",
"engines": {
"node": ">=9"
},
"main": "template.json",
"description": "A quick start CRA template for TypeScript React projects containing setup for React, TypeScript, ESLint, Prettier, Emotion CSS-in-JS, Cypress automated testing, and a README briefly explaining how to use each.",
"keywords": [
"react",
"create-react-app",
"cra-template",
"template",
"eslint",
"cypress",
"prettier",
"typescript"
],
"files": [
"template",
"template.json"
],
"repository": {
"type": "git",
"url": "https://github.com/JDysiewicz/cra-template-josh-ts",
"directory": "/"
},
"private": false,
"dependencies": {
"@emotion/core": "^11.0.0",
"@emotion/react": "^11.1.4",
"@emotion/styled": "^11.0.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^16.9.8",
"cypress": "^6.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-scripts": "4.0.1",
"typescript": "^4.0.3",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"lint": "node_modules/.bin/eslint --ext js,jsx,ts,tsx src",
"cy:dev": "cypress open",
"clean-files": "rm -rf template/cypress template/public template/src && rm -f template/.env template/.eslintrc.js template/.prettierrc.js template/cypress.env.json template/gitignore template/README.md template/tsconfig.json",
"copy-files": "cp -a ./src/. template/src && cp -a ./cypress/. template/cypress && cp -a ./public/. template/public && cp .env .eslintrc.js .prettierrc.js cypress.env.json README.md tsconfig.json template/ && cp .gitignore template/gitignore",
"prePublish": "yarn clean-files && yarn copy-files"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"eslint-config-prettier": "^7.1.0",
"eslint-config-react": "^1.1.7",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-prettier": "^3.3.1",
"prettier": "^2.2.1"
}
}