generated from markthree/node-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
66 lines (66 loc) · 1.58 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
64
65
66
{
"version": "0.0.0",
"name": "vite-plugin-name",
"description": "开箱即用的 vite 插件模板",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/name/repo.git"
},
"exports": {
"./*": "./*",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist",
"client.d.ts"
],
"scripts": {
"build": "tsup",
"test": "vitest",
"test:watch": "vitest --watch",
"coverage": "vitest --coverage",
"dev": "pnpm run build -- --watch",
"init:info": "plop --plopfile scripts/init.js",
"release": "npm run build && bumpp --commit --push --tag && npm publish",
"play": "pnpm -C examples/vite run dev",
"play:open": "pnpm -C examples/vite run dev:open",
"play:host": "pnpm -C examples/vite run dev:host",
"play:build": "pnpm -C examples/vite run build",
"play:preview": "pnpm -C examples/vite run preview",
"play:preview:open": "pnpm -C examples/vite run preview:open",
"play:preview:host": "pnpm -C examples/vite run preview:host"
},
"keywords": [
"vite",
"plugin",
"template"
],
"author": {
"name": "name",
"email": "xx@xx.com",
"url": "https://github.com/name"
},
"bugs": {
"email": "xx@xx.com",
"url": "https://github.com/name/repo/issues"
},
"license": "MIT",
"devDependencies": {
"@types/node": "^17.0.24",
"bumpp": "^7.1.1",
"c8": "^7.11.0",
"esno": "^0.14.1",
"plop": "^3.0.5",
"tsup": "^5.12.5",
"typescript": "^4.6.3",
"vite": "^2.9.5",
"vitest": "^0.1.27"
}
}