-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.15 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.15 KB
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "github-project-template",
"version": "1.0.0",
"description": "Comprehensive GitHub project template",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest run",
"test:unit": "vitest run --reporter=verbose",
"test:integration": "vitest run --config vitest.integration.config.ts",
"test:e2e": "playwright test",
"test:coverage": "vitest --coverage",
"test:watch": "vitest --watch",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"type-check": "tsc --noEmit",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"db:migrate": "prisma migrate dev",
"db:seed": "prisma db seed",
"db:reset": "prisma migrate reset",
"db:generate": "prisma generate",
"docker:build": "docker build -t project-name .",
"docker:run": "docker run -p 3000:3000 project-name",
"prepare": "husky install"
},
"keywords": [
"typescript",
"react",
"vite",
"github-template"
],
"author": "Your Name <your.email@example.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/xrey167/github-project-template.git"
},
"bugs": {
"url": "https://github.com/xrey167/github-project-template/issues"
},
"homepage": "https://github.com/xrey167/github-project-template#readme",
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@playwright/test": "^1.37.0",
"@types/node": "^20.11.0",
"@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": "^5.1.0",
"@vitest/coverage-v8": "^4.0.6",
"eslint": "^8.45.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"husky": "^8.0.3",
"jsdom": "^24.0.0",
"lint-staged": "^15.5.2",
"prettier": "3.6.2",
"typescript": "^5.0.2",
"vite": "^7.1.12",
"vitest": "^4.0.6"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,css,md}": [
"prettier --write"
]
},
"engines": {
"node": ">=18.0.0",
"npm": ">=9.0.0"
},
"volta": {
"node": "18.18.0"
},
"prettier": {
"semi": true,
"trailingComma": "es5",
"singleQuote": false,
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"arrowParens": "always",
"endOfLine": "lf",
"bracketSpacing": true,
"proseWrap": "preserve",
"overrides": [
{
"files": [
"*.yml",
"*.yaml"
],
"options": {
"printWidth": 120,
"proseWrap": "preserve"
}
},
{
"files": "*.md",
"options": {
"printWidth": 80,
"proseWrap": "preserve"
}
}
]
}
}