-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
73 lines (73 loc) · 2.28 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
{
"name": "toc",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "concurrently \"npm run server\" \"vite\"",
"dev:test": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"preview": "vite preview",
"prepare": "husky install",
"postinstall": "cp .env.template .env.local",
"server": "tsc -p server/tsconfig.json && cp server/server.js server/server.cjs && node server/server.cjs",
"test:unit": "npx vitest run",
"test:unit:coverage": "npx vitest run --coverage && make-coverage-badge --output-path=./misc/badge.svg",
"test:integration": "npx playwright test"
},
"dependencies": {
"clsx": "^2.0.0",
"cors": "^2.8.5",
"express": "^4.18.2",
"framer-motion": "^10.15.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-loading-skeleton": "^3.3.1"
},
"devDependencies": {
"@playwright/test": "^1.37.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/node": "^20.4.9",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"@vitest/coverage-v8": "^0.34.1",
"@vitest/ui": "^0.34.1",
"autoprefixer": "^10.4.14",
"concurrently": "^8.2.0",
"dotenv": "^16.3.1",
"eslint": "^8.45.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.3",
"make-coverage-badge": "^1.2.0",
"postcss": "^8.4.27",
"postcss-nested": "^6.0.1",
"prettier": "^3.0.1",
"stylelint": "^15.10.2",
"stylelint-rem-over-px": "^1.0.1",
"typescript": "^5.0.2",
"vite": "^4.4.5",
"vite-plugin-svgr": "^3.2.0",
"vitest": "^0.34.1"
},
"lint-staged": {
"*.json": "prettier --write",
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix --quiet"
],
"*.css": "stylelint --fix"
}
}