-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.44 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.44 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
{
"name": "vite-vanilla-sass-lint",
"version": "1.5.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "npx eslint \"src/assets/js/**/*.js\" && npx stylelint \"src/assets/**/*.{css,scss}\" && npx htmlhint \"**/*.html\"",
"lint:fix": "npx eslint \"src/assets/js/**/*.js\" --fix && npx stylelint \"src/assets/**/*.{css,scss}\" --fix",
"format": "prettier --write 'src/**/*.{js,css,scss,html,md}'",
"format:check": "prettier --check 'src/**/*.{js,css,scss,html,md}'",
"clean": "rm -rf dist",
"audit": "npm audit",
"audit:fix": "npm audit fix",
"test": "vitest",
"test:ci": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"prepare": "husky"
},
"lint-staged": {
"*.{js,mjs,cjs,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{css,scss}": [
"stylelint --fix",
"prettier --write"
],
"*.{html,md,json}": [
"prettier --write"
]
},
"description": "Vite Vanilla JS + Sass starter with ESLint, Stylelint and HTMLHint linting, Vitest testing, pre-commit hooks, CI/CD, image optimization, modern-normalize.",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/marcop135/vite-vanilla-sass-lint.git"
},
"keywords": [
"vite",
"vanilla-js",
"sass",
"scss",
"starter",
"template",
"eslint",
"stylelint",
"htmlhint",
"prettier"
],
"author": "Marco Pontili",
"license": "MIT",
"bugs": {
"url": "https://github.com/marcop135/vite-vanilla-sass-lint/issues"
},
"homepage": "https://github.com/marcop135/vite-vanilla-sass-lint#readme",
"devDependencies": {
"@vitejs/plugin-legacy": "^7.2.1",
"autoprefixer": "^10.4.24",
"eslint": "^10.0.0",
"globals": "^17.3.0",
"htmlhint": "^1.8.1",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"postcss": "^8.5.3",
"prettier": "^3.8.1",
"sass-embedded": "^1.97.3",
"stylelint": "^17.1.1",
"stylelint-config-standard-scss": "^17.0.0",
"terser": "^5.46.0",
"vite": "^7.3.1",
"vite-plugin-eslint2": "^5.0.5",
"vite-plugin-html": "^3.2.2",
"vite-plugin-imagemin": "^0.6.1",
"vite-plugin-stylelint": "^6.0.4",
"vitest": "^2.1.8",
"@vitest/ui": "^2.1.8",
"@vitest/coverage-v8": "^2.1.8",
"jsdom": "^25.0.1"
},
"dependencies": {
"modern-normalize": "^3.0.1"
}
}