mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Remove Hotpatch and implement a save patcher in its place. The save patcher takes a normal Factorio save and adds modules to it that's loaded by a generated control.lua file. This greatly reduces the difficulty of adding an existing game to Clusterio and using scenario code in plugins. The mechanism for selecting what code to patch into the saves from plugins is temorary and expected to change with #220.
86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"name": "clusterio",
|
|
"version": "1.7.0",
|
|
"description": "Interserver communication for factorio",
|
|
"repository": "https://github.com/clusterio/factorioClusterio",
|
|
"main": "master.js",
|
|
"scripts": {
|
|
"test": "mocha --exit --check-leaks -R spec --recursive test sharedPlugins/*/test",
|
|
"fast-test": "FAST_TEST=y npm test",
|
|
"cover": "nyc npm test",
|
|
"fast-cover": "FAST_TEST=y nyc npm test",
|
|
"ci-cover": "nyc --reporter=lcovonly npm run-script test",
|
|
"start": "echo Run node client.js start [instance] to start slaves && node master.js",
|
|
"install": "node lib/npmPostinstall.js",
|
|
"bundle-dependencies": "bundle-dependencies"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test/**",
|
|
"sharedPlugins/*/test/**"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"factorio"
|
|
],
|
|
"author": "Danielv123",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"dependencies": {
|
|
"as-table": "^1.0.31",
|
|
"averaged-timeseries": "^1.4.0",
|
|
"base64url": "^3.0.0",
|
|
"bcrypt": "^3.0.6",
|
|
"bcrypt-promise": "^2.0.0",
|
|
"body-parser": "^1.18.2",
|
|
"cli": "^1.0.1",
|
|
"cli-interact": "^0.1.9",
|
|
"compression": "^1.7.2",
|
|
"cookie-parser": "^1.4.3",
|
|
"deepmerge": "^4.0.0",
|
|
"ejs": "^2.5.7",
|
|
"express": "^4.16.2",
|
|
"express-fileupload": "1.1.5",
|
|
"express-prometheus-request-metrics": "github:burnash/express-prometheus-request-metrics",
|
|
"follow-redirects": "^1.5.0",
|
|
"fs-extra": "^8.1.0",
|
|
"getmac": "^1.4.0",
|
|
"ini": "^1.3.5",
|
|
"jsonwebtoken": "^8.2.1",
|
|
"jszip": "^3.2.2",
|
|
"lib": "file:./lib",
|
|
"luamin": "^1.0.4",
|
|
"minimist": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"moment": "^2.22.2",
|
|
"needle": "^2.4.0",
|
|
"node-factorio-api": "^0.3.8",
|
|
"node-forge": "^0.7.1",
|
|
"prom-client": "^10.2.3",
|
|
"rcon-client": "^4.0.4",
|
|
"request": "^2.83.0",
|
|
"sanitizer": "^0.1.3",
|
|
"simple-git": "^1.96.0",
|
|
"single-line-log": "^1.1.2",
|
|
"socket.io": "^2.2.0",
|
|
"socket.io-client": "^2.2.0",
|
|
"socket.io-prometheus": "^0.2.1",
|
|
"sync-request": "^4.0.1",
|
|
"tail": "^2.0.2",
|
|
"typescript-collections": "^1.3.2"
|
|
},
|
|
"devDependencies": {
|
|
"html5-validator": "^1.2.1",
|
|
"mocha": "^6.2.0",
|
|
"mocha-sinon": "^2.1.0",
|
|
"mocha.parallel": "^0.15.5",
|
|
"nock": "^11.3.0",
|
|
"nyc": "^14.1.1",
|
|
"sinon": "^7.4.1",
|
|
"supertest": "^4.0.2"
|
|
}
|
|
}
|