generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
139 lines (139 loc) · 3.64 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "unplugin-remove",
"type": "module",
"version": "1.0.3",
"packageManager": "[email protected]",
"description": "Plugin to remove console.xx and debugger for Vite & Webpack & Esbuild & Rollup",
"license": "MIT",
"homepage": "https://github.com/Talljack/unplugin-remove#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Talljack/unplugin-remove.git"
},
"bugs": {
"url": "https://github.com/Talljack/unplugin-remove/issues"
},
"keywords": [
"unplugin",
"vite",
"webpack",
"rollup",
"esbuild",
"rspack",
"rolldown",
"transform",
"remove debugger",
"remove console",
"console",
"debugger"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./vite": {
"import": "./dist/vite.js",
"require": "./dist/vite.cjs"
},
"./webpack": {
"import": "./dist/webpack.js",
"require": "./dist/webpack.cjs"
},
"./rollup": {
"import": "./dist/rollup.js",
"require": "./dist/rollup.cjs"
},
"./esbuild": {
"import": "./dist/esbuild.js",
"require": "./dist/esbuild.cjs"
},
"./rspack": {
"import": "./dist/rspack.js",
"require": "./dist/rspack.cjs"
},
"./rolldown": {
"import": "./dist/rolldown.js",
"require": "./dist/rolldown.cjs"
},
"./types": {
"import": "./dist/types.js",
"require": "./dist/types.js"
},
"./*": "./*"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./*"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch src",
"build:fix": "esno scripts/postbuild.ts",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"dev:vite": "pnpm run dev & pnpm -C playground/vite run dev",
"build:vite": "pnpm run build && pnpm -C playground/vite run build",
"dev:webpack": "pnpm run dev & pnpm -C playground/webpack run serve",
"build:webpack": "pnpm run build && pnpm -C playground/webpack run build",
"dev:rspack": "pnpm -C playground/rspack run dev",
"build:rspack": "pnpm run build && pnpm -C playground/rspack run build",
"dev:rolldown": "pnpm -C playground/rolldown run dev",
"build:rolldown": "pnpm run build && pnpm -C playground/rolldown run build",
"prepublishOnly": "pnpm run build",
"release": "bumpp && pnpm publish",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit",
"coverage": "vitest run --coverage --coverage.include=src/utils",
"prepare": "simple-git-hooks"
},
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/generator": "^7.25.0",
"@babel/parser": "^7.25.3",
"@babel/traverse": "^7.25.3",
"@rollup/pluginutils": "^5.1.0",
"magic-string": "^0.30.11",
"unplugin": "^1.12.0"
},
"devDependencies": {
"@babel/types": "^7.25.2",
"@types/node": "^22.0.2",
"@vitest/coverage-v8": "^2.0.5",
"bumpp": "^9.4.2",
"eslint": "9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"esno": "^4.7.0",
"fast-glob": "^3.3.2",
"lint-staged": "^15.2.7",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"rollup": "^4.19.2",
"simple-git-hooks": "^2.11.1",
"talljack-eslint-config": "^0.2.6",
"tsup": "^8.2.3",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vitest": "^2.0.5",
"webpack": "^5.93.0"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint src --fix"
}
}