mirror of
https://github.com/skillbert/rsmv.git
synced 2025-12-23 21:47:48 -05:00
104 lines
2.9 KiB
JSON
104 lines
2.9 KiB
JSON
{
|
|
"name": "alt1cache",
|
|
"version": "0.1.0",
|
|
"description": "A viewer for NXT client models and materials",
|
|
"main": "dist/main.js",
|
|
"exports": {
|
|
".": "./dist/api.js",
|
|
"./package.json": "./package.json",
|
|
"./src/*": "./src/*.ts",
|
|
"./*": "./dist/*.js"
|
|
},
|
|
"scripts": {
|
|
"start": "electron ./dist/main.js",
|
|
"filetypes": "node dist/buildfiletypes.js",
|
|
"buildnative": "electron-rebuild -f & node node_modules/sharp/install/dll-copy",
|
|
"build": "webpack",
|
|
"watch": "webpack --watch",
|
|
"hot": "webpack serve --config webpack.config.web.js",
|
|
"web": "webpack --config webpack.config.web.js",
|
|
"webrelease": "webpack --config webpack.config.web.js --mode production",
|
|
"clean": "rimraf dist",
|
|
"nodegl": "electron dist/runbrowser"
|
|
},
|
|
"author": "Skillbert",
|
|
"license": "GPL-4",
|
|
"devDependencies": {
|
|
"@types/crc": "^3.4.0",
|
|
"@types/json-schema": "^7.0.9",
|
|
"@types/node-fetch": "^2.6.1",
|
|
"@types/react": "^18.0.12",
|
|
"@types/react-dom": "^18.0.5",
|
|
"@types/sharp": "^0.29.2",
|
|
"@types/sql.js": "^1.4.3",
|
|
"@types/sqlite3": "^3.1.8",
|
|
"@types/three": "^0.162.0",
|
|
"@types/webpack-env": "^1.16.3",
|
|
"@types/wicg-file-system-access": "^2020.9.5",
|
|
"assert": "^2.0.0",
|
|
"autobind-decorator": "^2.4.0",
|
|
"browserify-zlib": "^0.2.0",
|
|
"buffer": "^6.0.3",
|
|
"canvas": "^2.10.2",
|
|
"classnames": "^2.3.1",
|
|
"copy-webpack-plugin": "^10.2.4",
|
|
"electron": "^26.3.0",
|
|
"electron-rebuild": "^3.2.7",
|
|
"file-loader": "^6.2.0",
|
|
"idb-keyval": "^6.1.0",
|
|
"json-schema": "^0.4.0",
|
|
"json-stringify-pretty-compact": "^3.0.0",
|
|
"lzma-native": "^8.0.1",
|
|
"process": "^0.11.10",
|
|
"react": "^18.1.0",
|
|
"react-dom": "^18.1.0",
|
|
"rimraf": "^3.0.2",
|
|
"sharp": "^0.33.2",
|
|
"sql.js": "file:./src/libs/sqljsfork",
|
|
"sqlite3": "^5.0.8",
|
|
"stream-browserify": "^3.0.0",
|
|
"three": "^0.162.0",
|
|
"ts-loader": "^9.2.8",
|
|
"typescript": "^5.1.6",
|
|
"util": "^0.12.4",
|
|
"webpack": "^5.70.0",
|
|
"webpack-cli": "^4.9.2",
|
|
"webpack-dev-server": "^4.7.4"
|
|
},
|
|
"dependencies": {
|
|
"cmd-ts": "^0.7.0",
|
|
"comment-json": "^4.2.2",
|
|
"lzma": "^2.3.2",
|
|
"node-fetch": "^2.6.5"
|
|
},
|
|
"peerDependencies": {
|
|
"canvas": ">=2.10.2",
|
|
"electron": "^26.3.0",
|
|
"lzma-native": "^8.0.1",
|
|
"sharp": ">=0.30.5",
|
|
"sqlite3": ">=5.0.8"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"sqlite3": {
|
|
"//reason": "Required to load NXT client caches (GameCacheLoader)",
|
|
"optional": true
|
|
},
|
|
"canvas": {
|
|
"//reason": "Required when doing image/texture related stuff inside the node process and not in electron/puppeteer.",
|
|
"optional": true
|
|
},
|
|
"sharp": {
|
|
"//reason": "Required when doing image/texture related stuff inside the node process and not in electron/puppeteer.",
|
|
"optional": true
|
|
},
|
|
"electron": {
|
|
"//reason": "Used for the desktop app, can also be used as alternative for model rendering to image.",
|
|
"optional": true
|
|
},
|
|
"lzma-native": {
|
|
"//reason": "Improves cache loading performance dramatically when loading large files.",
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|