-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.23 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.23 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
{
"name": "ts-starter",
"type": "module",
"version": "0.0.1",
"description": "A starter template for TypeScript projects",
"author": "oiij",
"license": "MIT",
"homepage": "https://github.com/oiij/ts-starter",
"repository": {
"type": "git",
"url": "git@github.com:oiij/ts-starter.git"
},
"bugs": "https://github.com/oiij/ts-starter/issues",
"keywords": [
"ts-starter"
],
"sideEffects": false,
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"LICENSE",
"README.md",
"dist",
"package.json"
],
"scripts": {
"dev": "tsdown --watch",
"build": "tsc --noEmit && tsdown",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepublishOnly": "pnpm build",
"release": "bumpp && npm publish",
"awe": "pnpx are-we-esm",
"nmi": "pnpx node-modules-inspector",
"start": "esno src/index.ts",
"test": "vitest",
"update:deps": "taze -w && pnpm i",
"type:check": "tsc --noEmit",
"cz": "czg",
"commit": "git pull && git add -A && pnpm cz && git push",
"link": "pnpm link --global",
"preinstall": "npx only-allow pnpm",
"postinstall": "npx simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "catalog:",
"@oiij/tsconfig": "catalog:",
"@types/node": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/ui": "catalog:",
"bumpp": "catalog:",
"commitlint": "catalog:",
"cz-git": "catalog:",
"czg": "catalog:",
"eslint": "catalog:",
"eslint-plugin-format": "catalog:",
"esno": "catalog:",
"lint-staged": "catalog:",
"simple-git-hooks": "catalog:",
"taze": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"unplugin-vue": "catalog:",
"vite": "catalog:",
"vitepress": "catalog:",
"vitepress-demo-plugin": "catalog:",
"vitest": "catalog:",
"vue-tsc": "catalog:"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && pnpm type:check"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"pnpm lint:fix"
]
},
"publishConfig": {
"access": "public"
}
}