-
Notifications
You must be signed in to change notification settings - Fork 25
/
package.json
48 lines (48 loc) · 1.49 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
{
"name": "@xmcl/curseforge",
"version": "2.1.1",
"main": "./index.ts",
"module": "./index.ts",
"sideEffects": false,
"description": "An implementation of curseforge (official) API in https://docs.curseforge.com/",
"scripts": {
"build:type": "tsc",
"build:cjs": "esbuild --target=node16 --external:undici --platform=node --sourcemap --format=cjs --bundle --outfile=dist/index.js index.ts",
"build:esm": "esbuild --target=node16 --external:undici --platform=node --sourcemap --format=esm --bundle --outfile=dist/index.mjs index.ts",
"build:browser": "esbuild --target=es2020 --sourcemap --alias:undici=undici-shim --format=esm --bundle --outfile=dist/index.browser.mjs index.ts"
},
"engines": {
"node": ">=16.4"
},
"publishConfig": {
"access": "public",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"browser": "./dist/index.browser.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Voxelum/minecraft-launcher-core-node.git"
},
"author": "[email protected]",
"keywords": [
"minecraft",
"typescript",
"minecraft-launcher",
"nodejs",
"electron",
"curseforge"
],
"license": "MIT",
"dependencies": {
"undici": "6.0.1"
},
"bugs": {
"url": "https://github.com/Voxelum/minecraft-launcher-core-node/issues"
},
"homepage": "https://github.com/Voxelum/minecraft-launcher-core-node#readme",
"devDependencies": {
"esbuild": "^0.17.16",
"undici-shim": "workspace:^*"
}
}