mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 15:14:52 +09:00
Add symlinkMods function which takes an instance and a shared mods folder as input and updates or creates the instance mods folder from it by symlinking the mods in the shared mods folder to the instance mods folder. On Windows this uses hard links as the symlinks require elevated privileges.
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",
|
|
"lib": "file:./lib",
|
|
"luamin": "^1.0.4",
|
|
"minimist": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"moment": "^2.22.2",
|
|
"ncp": "^2.0.0",
|
|
"needle": "^2.4.0",
|
|
"node-factorio-api": "^0.3.8",
|
|
"node-forge": "^0.7.1",
|
|
"prom-client": "^10.2.3",
|
|
"rcon-client-fork": "^3.2.0",
|
|
"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"
|
|
}
|
|
}
|