-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.06 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
{
"name": "mc-npm-updater",
"displayName": "Minecraft Bedrock NPM Updater",
"description": "A lightweight & configurable npm package updater for Minecraft Bedrock scripting API node modules",
"version": "1.0.0",
"publisher": "CrossXOverGaming",
"icon": "icon.png",
"repository": {
"url": "https://github.com/CaptainCooky/mc-npm-updater.git"
},
"engines": {
"vscode": "^1.92.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished",
"onCommand:extension.updateMinecraftModules"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"type": "object",
"properties": {
"minecraftModules.enableAutoUpdate": {
"type": "boolean",
"default": true,
"description": "Enable auto-update for Minecraft modules."
},
"minecraftModules.scheduleUpdate": {
"type": "string",
"default": "daily",
"description": "Schedule updates (options: daily, weekly, monthly)."
},
"minecraftModules.enabledModules": {
"type": "array",
"default": [
"@minecraft/server",
"@minecraft/server-ui",
"@minecraft/math",
"@minecraft/vanilla-data",
"@minecraft/common",
"@minecraft/core-build-tasks",
"@minecraft/server-admin",
"@minecraft/server-gametest",
"@minecraft/server-net",
"@minecraft/server-editor",
"@minecraft/debug-utilities"
],
"description": "List of Minecraft modules to auto-update."
},
"minecraftModules.userDefinedModules": {
"type": "array",
"default": [],
"description": "User-defined modules to auto-update."
}
}
},
"commands": [
{
"command": "extension.updateMinecraftModules",
"title": "Update Minecraft Modules",
"category": "Minecraft Bedrock NPM Updater"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/node-schedule": "^2.1.7",
"@types/vscode": "^1.92.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"esbuild": "^0.21.5",
"eslint": "^8.57.0",
"node-schedule": "^2.1.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.4.5"
}
}