Indexer for SMVA save files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
smva-indexer/package.json

58 lines
3.0 KiB

{
"name": "smva-indexer",
"version": "1.1.1",
"description": "Simple SMVA save file templating system.",
"bin": "indexer.mjs",
"scripts": {
"start": "node build/smva-indexer-bundle.js",
"build": "concurrently -n Rollup,Data,Signer -s all -c green,yellow,red \"npm run build-rollup\" \"npm run build-data\" \"npm run build-signer\" && npm run build-nexe && npm run sign",
"build-signed": "concurrently -n Rollup,Signer -c green,red \"npm run build-rollup\" \"npm run build-signer\" && npm run sign",
"build-rollup": "rollup -c rollup.config.js",
"build-signer": "rollup -c signer-rollup.config.js",
"build-data": "cpy default-data.json smva-indexer-release.pub.pem build && move-file build/default-data.json build/smva-indexer-game-data.json",
"build-nexe": "concurrently -i -s all -n Win,Mac,Lin -c blue,white,yellow \"npm run build-win-nexe\" \"npm run build-mac-nexe\" \"npm run build-lin-nexe\"",
"build-win-nexe": "nexe -t windows-x86-14.15.3 -i build/smva-indexer-bundle.js -n indexer -o build/smva-indexer-win.exe --verbose",
"build-mac-nexe": "nexe -t mac-x64-14.15.3 -i build/smva-indexer-bundle.js -n indexer -o build/smva-indexer-macos --verbose",
"build-lin-nexe": "nexe -t linux-x64-14.15.3 -i build/smva-indexer-bundle.js -n indexer -o build/smva-indexer-linux --verbose",
"build-win": "npm run build-rollup && npm run build-win-nexe",
"build-mac": "npm run build-rollup && npm run build-mac-nexe",
"build-lin": "npm run build-rollup && npm run build-lin-nexe",
"sign": "NODE_PATH=node_modules node build/sign-bundle.js build/smva-indexer-bundle.js build/smva-indexer-bundle-signed.js smva-indexer-release.key.pem",
"publish": "sftp -b publish-commands.sftp kink-games.deliciousreya.net",
"release": "npm run build && npm run publish",
"generate-release-keys": "openssl genpkey -genparam -algorithm dsa -pkeyopt dsa_paramgen_bits:2048 -outform PEM --out smva-indexer-release.params.pem && openssl genpkey -paramfile smva-indexer-release.params.pem -aes-256-cbc -out smva-indexer-release.key.pem && openssl pkey -inform PEM -in smva-indexer-release.key.pem -outform PEM -pubout -out smva-indexer-release.pub.pem"
},
"keywords": [],
"author": {
"name": "Reya C.",
"email": "reya@deliciousreya.net"
},
"license": "MIT",
"dependencies": {
"chalk": "^5.0.0",
"data-urls": "^3.0.1",
"enquirer": "^2.3.6",
"env-paths": "^3.0.0",
"filenamify": "^5.1.0",
"home-dir": "^1.0.0",
"ini": "^2.0.0",
"make-dir": "^3.1.0",
"move-file": "^3.0.0",
"source-map-support": "^0.5.21",
"valid-filename": "^4.0.0"
},
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-url": "^6.1.0",
"concurrently": "^7.0.0",
"cpy-cli": "^3.1.1",
"move-file-cli": "^3.0.0",
"nexe": "^4.0.0-beta.19",
"rollup": "^2.67.2",
"rollup-plugin-consts": "^1.0.2"
}
}