mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Add a separate plugin-list.json file for storing which plugins are available and the path to pass to require in order to load it. This allows plugins to be published and installed as npm packages. And also replaces the old method of installing plugins by putting them in the plugins folder.
39 lines
1.0 KiB
JSON
39 lines
1.0 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "mocha --exit --check-leaks -R spec --recursive 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",
|
|
"lint": "eslint \"*.js\" packages plugins test",
|
|
"docs": "jsdoc --configure docs/jsdoc.json",
|
|
"bundle-dependencies": "bundle-dependencies"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test/**",
|
|
"plugins/*/test/**"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=10.16 <11 || >= 11.13"
|
|
},
|
|
"devDependencies": {
|
|
"@clusterio/ctl": "file:./packages/ctl",
|
|
"@clusterio/lib": "file:./packages/lib",
|
|
"@clusterio/master": "file:packages/master",
|
|
"@clusterio/slave": "file:./packages/slave",
|
|
"eslint": "^7.2.0",
|
|
"fs-extra": "^8.1.0",
|
|
"jsdoc": "^3.6.3",
|
|
"jsonwebtoken": "^8.2.1",
|
|
"jszip": "^3.2.2",
|
|
"lerna": "^3.22.1",
|
|
"mocha": "^6.2.0",
|
|
"nyc": "^14.1.1",
|
|
"phin": "^3.4.1"
|
|
}
|
|
}
|