mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
The Node.js specific rules for Eslint were deprecated in favour of the node plugin for Eslint. Add node plugin for eslint and switch over to using its rules, fixing any issues detected.
32 lines
924 B
JSON
32 lines
924 B
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "mocha --check-leaks -R spec --exclude \"**/node_modules/**\" --recursive test plugins/global_chat/test plugins/research_sync/test plugins/statistics_exporter/test plugins/subspace_storage/test plugins/player_auth/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": ">=12"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^7.25.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"jsdoc": "^3.6.6",
|
|
"lerna": "^4.0.0",
|
|
"mocha": "^8.4.0",
|
|
"nyc": "^15.1.0"
|
|
}
|
|
}
|