-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 3.94 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
{
"name": "portfolio",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^6.4.2",
"@types/react": "^18.0",
"@types/react-dom": "^18.0",
"antd": "^4",
"classnames": "^2.3.1",
"highlight.run": "^8.4.1",
"kbar": "^0.1.0-beta.21",
"lodash": "^4.17.21",
"logrocket": "^3.0.0",
"next": "canary",
"notyf": "^3.10.0",
"react": "latest",
"react-dom": "latest"
},
"scripts": {
"start": "yarn _conc 'yarn:build:ts:watch' 'yarn:build:scss:watch'",
"build": "yarn _conc 'yarn:build:ts' 'yarn:build:scss'",
"lint": "yarn _conc 'yarn:lint:ts' 'yarn:lint:deps'",
"lint:fix": "yarn lint:ts:fix:biome && yarn lint:ts:fix:next",
"format": "yarn _conc 'yarn:format:ts:biome' 'yarn:format:ts:imports'",
"format:fix": "yarn format:ts:fix:biome && yarn format:ts:fix:imports",
"test": "vitest run",
"test:coverage": "yarn test --coverage",
"test:watch": "vitest watch",
"test:coverage:watch": "yarn test:watch --coverage",
"test:ui:watch": "vitest watch --ui",
"test:coverage:ui:watch": "yarn test:ui:watch --coverage",
"build:ts": "next build",
"build:ts:watch": "next dev",
"build:scss": "yarn typed-scss-modules src --banner '// This file is automatically generated. Do not edit.'",
"build:scss:watch": "yarn build:scss --watch",
"lint:ts": "yarn _conc 'yarn:lint:ts:biome' 'yarn:lint:ts:next' 'yarn:lint:ts:types'",
"lint:ts:fix": "yarn lint:ts:fix:biome && yarn lint:ts:fix:next",
"lint:ts:biome": "biome lint --max-diagnostics 100 ./src",
"lint:ts:fix:biome": "yarn lint:ts:biome --apply",
"lint:ts:fix:unsafe:biome": "yarn lint:ts:biome --apply-unsafe",
"lint:ts:next": "next lint",
"lint:ts:fix:next": "yarn lint:ts:next --fix",
"lint:ts:types": "tsc --project tsconfig.json",
"lint:deps": "yarn _conc 'yarn:lint:deps:audit' 'yarn:lint:deps:cache'",
"lint:deps:audit": "yarn npm audit --all --recursive",
"lint:deps:cache": "yarn install --immutable --immutable-cache --check-cache --check-resolutions --refresh-lockfile",
"lint:ci": "yarn _conc 'yarn:lint:ci:biome' 'yarn:lint:ts:next' 'yarn:lint:ts:types' 'yarn:lint:deps'",
"lint:ci:biome": "biome ci --formatter-enabled=false --linter-enabled=true --organize-imports-enabled=false --max-diagnostics 1000 ./src",
"format:ts:biome": "biome format ./src",
"format:ts:fix:biome": "yarn format:ts:biome --write",
"format:ts:imports": "prettier src --check",
"format:ts:fix:imports": "yarn format:ts:imports --write",
"format:ci": "yarn _conc 'yarn:format:ci:biome' 'yarn:format:ts:imports'",
"format:ci:biome": "biome ci --formatter-enabled=true --linter-enabled=false --organize-imports-enabled=false --max-diagnostics 1000 ./src",
"_conc": "concurrently -p '[{time}-{name}-{pid}]' -t 'HH:mm:ss.SS' -c 'auto'",
"postinstall": "husky"
},
"lint-staged": {
"*.ts": [
"yarn lint:ts:fix",
"yarn format:fix"
],
"*.scss": [
"yarn build:scss"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@biomejs/biome": "1.5.3",
"@testing-library/react": "^14.2.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/lodash": "^4",
"@types/node": "20.11.19",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/coverage-istanbul": "^1.3.1",
"@vitest/ui": "^1.3.1",
"@yarnpkg/sdks": "^3.1.0",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint-config-next": "^14.1.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"prettier": "3.2.5",
"sass": "^1.71.0",
"turbo": "^1.12.4",
"typed-scss-modules": "^8.0.0",
"typescript": "^4.6.4",
"vite": "^5.1.7",
"vitest": "^1.3.0"
},
"packageManager": "[email protected]"
}