-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
30 lines (30 loc) · 1.16 KB
/
Copy pathpackage.json
File metadata and controls
30 lines (30 loc) · 1.16 KB
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
{
"name": "unity-web-modkit-v2",
"version": "1.1.0",
"description": "",
"main": "./lib/mod.js",
"types": "./lib/mod.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "del /q /s dist && tsc && npx webpack && powershell -Command \"(Get-Content -Path ./dist/*.js -Raw) -replace 'window.UnityWebModkit=n', 'if (!unsafeWindow?.UnityWebModkit)unsafeWindow.UnityWebModkit = n,window.UnityWebModkit = n' | Set-Content -Path ./dist/*.js\"",
"mybuild": "del /q /s dist && tsc && npx webpack --output-filename unity-web-modkit.js && powershell -Command \"(Get-Content -Path ./dist/unity-web-modkit.js -Raw) -replace 'window.UnityWebModkit=n', 'if (!unsafeWindow?.UnityWebModkit)unsafeWindow.UnityWebModkit = n,window.UnityWebModkit = n' | Set-Content -Path ./dist/unity-web-modkit.js\""
},
"files": [
"lib"
],
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@rspack/cli": "^0.2.8",
"prettier": "3.0.0",
"ts-loader": "^9.4.4",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"neverthrow": "^6.0.0"
}
}