generated from hemengke1997/ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
122 lines (122 loc) · 3.33 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "vite-plugin-public-typescript",
"version": "4.1.2",
"packageManager": "[email protected]",
"description": "Vite plugin for injecting TypeScript into HTML",
"type": "module",
"keywords": [
"vite",
"typescript",
"public-typescript",
"inject script",
"html"
],
"license": "MIT",
"homepage": "https://github.com/hemengke1997/vite-plugin-public-typescript",
"repository": {
"type": "git",
"url": "git+https://github.com/hemengke1997/vite-plugin-public-typescript.git"
},
"author": "hemengke <https://github.com/hemengke1997>",
"files": [
"*.d.ts",
"*.md",
"dist"
],
"main": "./dist/node/index.cjs",
"module": "./dist/node/index.js",
"types": "./dist/node/index.d.ts",
"exports": {
".": {
"types": "./dist/node/index.d.ts",
"require": "./dist/node/index.cjs",
"import": "./dist/node/index.js"
},
"./virtual": {
"types": "./virtual.d.ts"
},
"./manifest": {
"types": "./manifest.d.ts"
}
},
"scripts": {
"dev": "tsup --watch",
"build": "rm -rf dist && tsup",
"prepare": "simple-git-hooks",
"test": "run-s test:unit test:serve test:build",
"test:unit": "vitest run",
"test:serve": "vitest run -c vitest.config.e2e.ts",
"test:build": "cross-env VITE_TEST_BUILD=1 vitest run -c vitest.config.e2e.ts",
"commitlint": "commitlint -e",
"lint": "tsc --noEmit && eslint . --fix",
"up": "taze -I -w",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"bump": "bumpp package.json -c --no-push -t --all -x \"pnpm run changelog\"",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"peerDependencies": {
"esbuild": "*",
"vite": ">=5"
},
"dependencies": {
"@antfu/install-pkg": "^0.5.0",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"browserslist": "^4.24.2",
"browserslist-to-esbuild": "^2.1.1",
"core-js": "^3.39.0",
"debug": "^4.3.7",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"local-pkg": "^0.5.1",
"lodash.omit": "^4.5.0",
"magic-string": "^0.30.14",
"on-change": "^5.0.1",
"parse5": "^7.2.1",
"picocolors": "^1.1.1",
"prompts": "^2.4.2",
"std-env": "^3.8.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@minko-fe/commitlint-config": "^2.1.2",
"@minko-fe/eslint-config": "^4.1.1",
"@minko-fe/tsconfig": "^2.1.1",
"@types/babel__core": "^7.20.5",
"@types/babel__preset-env": "^7.9.7",
"@types/debug": "^4.1.12",
"@types/fs-extra": "^11.0.4",
"@types/lodash.omit": "^4.5.9",
"@types/node": "^22.10.0",
"@types/prompts": "^2.4.9",
"bumpp": "^9.8.1",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "^9.15.0",
"npm-run-all2": "^7.0.1",
"simple-git-hooks": "^2.11.1",
"taze": "^0.18.0",
"tsup": "8.3.0",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vitepress": "^1.5.0",
"vitest": "^2.1.6",
"vitest-e2e": "^0.0.10"
},
"engines": {
"node": ">=16.0.0"
},
"simple-git-hooks": {
"commit-msg": "npm run commitlint",
"pre-commit": "npm run lint"
},
"commitlint": {
"extends": [
"@minko-fe/commitlint-config"
]
}
}