mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 15:04:52 +09:00
Split up codebase into the packages @clsterio/lib, @clusterio/master, @clusterio/slave, and @clusterio/ctl using lerna to manage them. This will allow deployment to use only the parts needed reducing install size, and better separate the code into shared library, master, slave and control.
41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "mocha --exit --check-leaks -R spec --recursive test plugins/*/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",
|
|
"html5-validator": "^1.2.1",
|
|
"jsdoc": "^3.6.3",
|
|
"jsonwebtoken": "^8.2.1",
|
|
"jszip": "^3.2.2",
|
|
"lerna": "^3.22.1",
|
|
"mocha": "^6.2.0",
|
|
"mocha.parallel": "^0.15.5",
|
|
"nyc": "^14.1.1",
|
|
"phin": "^3.4.1"
|
|
}
|
|
}
|