-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) 路 2.29 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "---name---",
"type": "module",
"version": "0.0.0",
"packageManager": "[email protected]",
"description": "vite plugin.",
"license": "MIT",
"homepage": "https://github.com/xparcai/---name---#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/xparcai/---name---.git"
},
"bugs": {
"url": "https://github.com/xparcai/---name---/issues"
},
"keywords": [
"vite",
"vite-plugin"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./*": "./*"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"files": [
"dist"
],
"engines": {
"node": "18.x || 20.x"
},
"scripts": {
"dev": "tsup --watch src",
"build": "tsup",
"build:fix": "esno scripts/postbuild.ts",
"play": "npm -C playground run dev",
"prepublishOnly": "npm run build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "vitest",
"test:update": "vitest -u",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"preinstall": "only-allow pnpm",
"prepare": "npx simple-git-hooks",
"precommit": "esno verify-commit.ts",
"deps": "nr deps:patch",
"deps:patch": "taze patch -wri",
"deps:minor": "taze minor -wri",
"deps:major": "taze major -wri",
"clean": "nr clean:dist && nr clean:deps",
"clean:dist": "rimraf dist",
"clean:deps": "rimraf node_modules"
},
"dependencies": {
"vite": "^5.0.4"
},
"devDependencies": {
"@antfu/eslint-config": "^2.1.2",
"@types/node": "^20.10.2",
"bumpp": "^9.2.0",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"debug": "^4.3.4",
"eslint": "^8.55.0",
"esno": "^4.0.0",
"fast-glob": "^3.3.2",
"lint-staged": "^15.1.0",
"nodemon": "^3.0.2",
"only-allow": "^1.2.1",
"rimraf": "^5.0.5",
"simple-git-hooks": "^2.9.0",
"taze": "^0.13.0",
"tsup": "^8.0.1",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
},
"simple-git-hooks": {
"pre-commit": "pnpm dlx lint-staged",
"commit-msg": "pnpm run precommit"
},
"lint-staged": {
"*": "pnpm run lint:fix"
}
}