-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
72 lines (72 loc) · 2.18 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
{
"name": "sveltekit-starter-template",
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:e2e": "playwright test",
"test:unit": "vitest",
"test:unit:once": "vitest --no-watch",
"test:unit:ui": "vitest --ui",
"format": "prettier --plugin-search-dir . --write .",
"lint": "eslint \"src/**/*.{tsx,ts,svelte}\"",
"lint:styles": "stylelint \"src/**/*.{svelte,scss}\"",
"lint:fix": "prettier --plugin-search-dir . --write . && eslint --fix \"src/**/*.{tsx,ts,svelte}\" && stylelint \"src/**/*.{svelte,scss}\" --fix",
"lint-staged": "lint-staged"
},
"devDependencies": {
"@playwright/test": "^1.28.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.5.0",
"@sveltejs/vite-plugin-svelte": "^2.2.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2",
"@types/jest": "^29.5.1",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vitest/ui": "^0.31.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-svelte": "^2.26.0",
"husky": "^8.0.3",
"jsdom": "^22.0.0",
"lint-staged": "^13.2.2",
"node-sass": "^8.0.0",
"postcss": "^8.4.23",
"postcss-html": "^1.5.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.8.1",
"sass": "^1.62.1",
"stylelint": "^15.6.1",
"stylelint-config-recommended-scss": "^11.0.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-scss": "^5.0.0",
"svelte": "^3.54.0",
"svelte-check": "^3.0.1",
"svelte-preprocess": "^5.0.3",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^4.3.0",
"vitest": "^0.31.0"
},
"type": "module",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,svelte,css,scss}": [
"pnpm run lint:fix",
"pnpm run lint",
"pnpm run lint:styles",
"sh -c 'if vitest --list-files | grep -q \".test.\"; then pnpm run test:unit:once; fi'",
"git add"
]
}
}