-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathpackage.json
56 lines (56 loc) · 1.87 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
{
"name": "vite-vanilla-ts-lib-starter",
"private": true,
"version": "0.0.4",
"module": "./dist/vite-vanilla-ts-lib-starter.js",
"type": "module",
"exports": {
".": {
"import": "./dist/vite-vanilla-ts-lib-starter.js"
},
"./dist/": {
"import": "./dist/"
}
},
"types": "./dist/index.d.ts",
"scripts": {
"dev": "vite --host",
"build": "rimraf build/**/* && tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts && copyfiles ./package.json build",
"test": "vitest",
"test:coverage": "vitest --coverage",
"lint:scripts": "eslint . --ext .ts",
"lint:styles": "stylelint ./**/*.{css,scss}",
"format:scripts": "prettier . --write",
"format:styles": "stylelint ./**/*.{css,scss} --fix",
"format": "npm run format:scripts && npm run format:styles",
"prepare": "husky && echo 'npx lint-staged' > .husky/pre-commit && git add .husky/pre-commit",
"uninstall-husky": "npm uninstall husky --no-save && git config --unset core.hooksPath && npx rimraf .husky"
},
"devDependencies": {
"@types/jsdom": "^21.1.7",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitest/coverage-v8": "^2.0.4",
"copyfiles": "^2.4.1",
"dts-bundle-generator": "^9.5.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.4",
"lint-staged": "^15.2.7",
"postcss": "^8.4.40",
"postcss-scss": "^4.0.9",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"stylelint": "^16.8.1",
"stylelint-config-recommended": "^14.0.1",
"stylelint-config-sass-guidelines": "^12.0.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.3.5",
"vitest": "^2.0.4"
}
}