-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 3.01 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
108
109
110
{
"name": "next",
"version": "0.1.0",
"packageManager": "pnpm@7.29.0",
"engines": {
"node": "18",
"pnpm": "7.x"
},
"private": true,
"scripts": {
"dev": "next dev",
"build": "ANALYZE=true next build",
"start": "next start",
"format:check": "prettier . --cache --check",
"format:fix": "pnpm run format:check --write",
"lint:check": "run-p --continue-on-error \"lint:*:check\"",
"lint:fix": "run-p --continue-on-error \"lint:*:fix\"",
"lint:code:check": "eslint . --cache --ignore-path .gitignore",
"lint:code:fix": "pnpm run lint:code:check --fix",
"lint:styles:check": "stylelint \"**/*.css\" --cache --ignore-path .gitignore",
"lint:styles:fix": "pnpm run lint:styles:check --fix",
"preinstall": "npx only-allow pnpm",
"setup": "is-ci || simple-git-hooks",
"test:unit": "jest",
"test:e2e": "playwright test",
"test:e2e:codegen": "playwright codegen",
"test:e2e:debug": "playwright test --debug",
"test:e2e:ui": "playwright test --ui",
"types:check": "tsc --noEmit",
"validate": "run-p format:check lint:check types:check test:unit test:e2e"
},
"dependencies": {
"@next/bundle-analyzer": "^14.0.1",
"@sentry/nextjs": "^7.80.0",
"@vercel/analytics": "^1.1.1",
"next": "13.5.4",
"next-compose-plugins": "^2.2.1",
"react": "^18",
"react-dom": "^18",
"stylelint-config-standard": "^34.0.0"
},
"devDependencies": {
"@commitlint/cli": "^18.4.2",
"@commitlint/config-conventional": "^18.4.2",
"@playwright/test": "^1.39.0",
"@testing-library/jest-dom": "^6.1.4",
"@testing-library/react": "^14.0.0",
"@types/is-ci": "^3.0.4",
"@types/jest": "^29.5.8",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "14.0.2",
"eslint-config-prettier": "^9.0.0",
"is-ci": "^3.0.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.1.0",
"npm-run-all2": "^6.1.1",
"prettier": "3.1.0",
"simple-git-hooks": "^2.9.0",
"stylelint": "^15.11.0",
"typescript": "^5"
},
"browserslist": {
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"production": [
">=0.75%",
"not dead",
"not op_mini all"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"extends": [
"next/core-web-vitals",
"prettier"
]
},
"prettier": {
"singleQuote": true
},
"stylelint": {
"extends": "stylelint-config-standard"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"eslint --cache --fix",
"prettier --cache --write"
],
"*.@(css)": [
"stylelint --cache --fix",
"prettier --cache --write"
],
"*.!(css|js|ts|tsx)": "prettier --cache --ignore-unknown --write"
},
"simple-git-hooks": {
"commit-msg": "pnpm exec commitlint --edit",
"pre-commit": "pnpm exec lint-staged"
}
}