diff --git a/package.json b/package.json index a2ded9b9..655d9336 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "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", + "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", @@ -21,10 +21,21 @@ "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", - "mocha": "^8.4.0", - "nyc": "^15.1.0" + "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" } } diff --git a/test/package.json b/test/package.json deleted file mode 100644 index 539f5007..00000000 --- a/test/package.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "test", - "private": true, - "engines": { - "node": ">=12" - }, - "dependencies": { - "@clusterio/ctl": "^2.0.0-alpha.6", - "@clusterio/lib": "^2.0.0-alpha.6", - "@clusterio/master": "^2.0.0-alpha.6", - "@clusterio/slave": "^2.0.0-alpha.6", - "express": "^4.16.2", - "form-data": "^4.0.0", - "fs-extra": "^8.1.0", - "jsonwebtoken": "^8.2.1", - "jszip": "^3.2.2", - "node-forge": "^0.10.0", - "phin": "^3.5.1" - } -}