forked from kbysiec/vite-vanilla-ts-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.67 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
{
"name": "vite-vanilla-ts-lib-starter",
"private": true,
"version": "0.0.2",
"main": "./dist/vite-ts-lib-starter.cjs",
"module": "./dist/vite-ts-lib-starter.mjs",
"exports": {
".": {
"require": "./dist/vite-ts-lib-starter.cjs",
"import": "./dist/vite-ts-lib-starter.mjs"
}
},
"scripts": {
"dev": "vite --host",
"build": "tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
"test": "jest --runInBand",
"test:coverage": "jest --runInBand --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 install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit",
"uninstall-husky": "npm uninstall husky --no-save && git config --unset core.hooksPath && npx rimraf .husky"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"@types/jsdom": "^20.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"dts-bundle-generator": "^7.1.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"stylelint": "^14.16.1",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vite": "^4.0.4"
}
}