generated from hemengke1997/ts-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
118 lines (118 loc) · 3.26 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
{
"name": "vite-plugin-public-typescript",
"version": "4.1.2",
"description": "vite plugin for inject typescript into html. (Think it as javascript files in public dir)",
"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",
"build:pages": "pnpm run build && cd playground/spa && pnpm run build",
"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\""
},
"peerDependencies": {
"esbuild": "*",
"vite": ">=5"
},
"dependencies": {
"@antfu/install-pkg": "^0.4.1",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@babel/preset-typescript": "^7.25.7",
"browserslist": "^4.24.0",
"browserslist-to-esbuild": "^2.1.1",
"core-js": "^3.38.1",
"debug": "^4.3.7",
"fast-glob": "^3.3.2",
"fs-extra": "^11.2.0",
"local-pkg": "^0.5.0",
"lodash.omit": "^4.5.0",
"magic-string": "^0.30.12",
"on-change": "^5.0.1",
"parse5": "^7.2.0",
"picocolors": "^1.1.1",
"prompts": "^2.4.2",
"std-env": "^3.7.0"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@minko-fe/commitlint-config": "^2.1.2",
"@minko-fe/eslint-config": "^4.1.0",
"@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.7.6",
"@types/prompts": "^2.4.9",
"bumpp": "^9.7.1",
"conventional-changelog-cli": "^5.0.0",
"cross-env": "^7.0.3",
"esbuild": "^0.24.0",
"eslint": "^9.12.0",
"npm-run-all2": "^6.2.4",
"simple-git-hooks": "^2.11.1",
"taze": "^0.17.2",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"vite": "^5.4.9",
"vitest": "^2.1.3",
"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"
]
}
}