-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.2 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
{
"name": "@hyrious/esbuild-plugin-commonjs",
"version": "0.2.4",
"description": "Bundle commonjs externals in es module in esbuild.",
"author": "hyrious <[email protected]>",
"license": "MIT",
"keywords": [
"esbuild",
"plugin",
"commonjs",
"modules",
"require"
],
"repository": "hyrious/esbuild-plugin-commonjs",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.d.ts",
"index.js",
"index.js.map",
"index.ts",
"lexer.ts",
"utils.ts"
],
"engines": {
"node": ">=14"
},
"scripts": {
"build": "npm run build:js && npm run build:type",
"build:js": "esbuild index.ts --bundle --packages=external --sourcemap --sources-content=false --outfile=index.js --platform=node --target=node14",
"build:type": "dts index.ts -o index.d.ts",
"test": "esbuild-dev index.test.ts"
},
"peerDependencies": {
"cjs-module-lexer": "*",
"esbuild": "*"
},
"peerDependenciesMeta": {
"cjs-module-lexer": {
"optional": true
}
},
"devDependencies": {
"@hyrious/dts": "^0.2.0",
"@hyrious/esbuild-dev": "^0.10.5",
"@types/node": "^20.10.6",
"cjs-module-lexer": "^1.2.3",
"esbuild": "^0.19.11"
}
}