mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Mocha's recursive search feature finds all files and then removes paths that match the exclution filter, except that the globstar filter doesn't match directories with a dot in them which is created by pnpm. Avoid this madness by removing the test package.
42 lines
1.1 KiB
JSON
42 lines
1.1 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "mocha --check-leaks -R spec --recursive test \"plugins/*/test/**\"",
|
|
"fast-test": "FAST_TEST=y pnpm test",
|
|
"cover": "nyc pnpm test",
|
|
"fast-cover": "FAST_TEST=y nyc pnpm test",
|
|
"ci-cover": "nyc --reporter=lcovonly pnpm 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": {
|
|
"@clusterio/ctl": "workspace:*",
|
|
"@clusterio/lib": "workspace:*",
|
|
"@clusterio/master": "workspace:*",
|
|
"@clusterio/slave": "workspace:*",
|
|
"eslint": "^7.25.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"express": "^4.16.2",
|
|
"form-data": "^4.0.0",
|
|
"fs-extra": "^8.1.0",
|
|
"jsdoc": "^3.6.6",
|
|
"jsonwebtoken": "^8.2.1",
|
|
"jszip": "^3.2.2",
|
|
"mocha": "^9.2.2",
|
|
"node-forge": "^0.10.0",
|
|
"nyc": "^15.1.0",
|
|
"phin": "^3.5.1"
|
|
}
|
|
}
|