-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.56 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
{
"name": "vite-library-starter",
"description": "Vite library starter",
"version": "0.0.0",
"type": "module",
"files": [
"dist"
],
"main": "./dist/main.umd.cjs",
"module": "./dist/main.js",
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": "./dist/main.js",
"require": "./dist/main.umd.cjs"
}
},
"scripts": {
"build": "tsc && vite build",
"test": "vitest",
"test:watch": "vitest --watch",
"coverage": "vitest run --coverage",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.tsx",
"ci": "run-s lint coverage build",
"prepublishOnly": "pnpm run ci",
"prepare": "husky install"
},
"lint-staged": {
".{js,mjs,cjs,ts,mts,cts,jsx,tsx}": [
"eslint --fix"
],
".{ts,tsx,d.ts,cts,d.cts,mts,d.mts}": [
"tsc --noEmit"
],
"*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}": [
"vitest run"
],
"*": [
"prettier --ignore-unknown --write"
]
},
"devDependencies": {
"@tsconfig/node16": "^16.1.1",
"@tsconfig/recommended": "^1.0.2",
"@tsconfig/strictest": "^2.0.1",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"@vitest/coverage-v8": "^0.34.3",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.3",
"typescript": "~5.0.4",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.3",
"vitest": "^0.34.3"
}
}