-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 1.69 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
{
"name": "boilerplate-react-ts",
"version": "1.0.0",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.8.0",
"styled-components": "^5.3.6"
},
"devDependencies": {
"@cypress/vite-dev-server": "^5.0.2",
"@snyk/protect": "^1.1092.0",
"@testing-library/cypress": "^9.0.0",
"@types/react": "^18.0.27",
"@types/react-dom": "^18.0.10",
"@types/styled-components": "^5.1.26",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@vitejs/plugin-react": "^3.0.1",
"cypress": "^12.4.1",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-react-app": "^7.0.1",
"eslint-config-standard-with-typescript": "^33.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"plop": "^3.1.1",
"prettier": "^2.8.3",
"typescript": "^4.9.4",
"vite": "^4.0.4"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"generate": "yarn plop --plopfile generators/plopfile.js",
"preview": "vite preview",
"lint": "eslint --ext .js,.ts,.jsx,.tsx src",
"format": "yarn run lint --fix & yarn prettier --write 'src/**/*.{js,jsx,ts,tsx}'",
"test": "cypress run",
"test:open": "cypress open",
"protect": "snyk-protect",
"lint-staged": "lint-staged",
"docker:dev": "docker-compose up -d --build",
"prepare": "husky install"
},
"lint-staged": {
"**/*.ts?(x)": [
"yarn lint --fix",
"yarn test",
"yarn protect"
]
},
"type": "module"
}