mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 15:04:52 +09:00
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"files": [],
|
|
"scripts": {
|
|
"build": "tsc --build",
|
|
"watch": "tsc --build --watch",
|
|
"build-mod": "node ./packages/lib/build_mod.js --source-dir ./packages/host/lua/clusterio_lib",
|
|
"test": "pnpm run build && mocha --enable-source-maps --check-leaks -R spec --recursive test \"plugins/*/test/**\" --exclude \"test/manual/**\"",
|
|
"silent-test": "SILENT_TEST=y pnpm 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 packages plugins test",
|
|
"lint-fix": "eslint --fix packages plugins test",
|
|
"clean": "node ./clean.js fast",
|
|
"clean-tests": "node ./clean.js tests",
|
|
"clean-all": "node ./clean.js all",
|
|
"docs": "typedoc",
|
|
"bundle-dependencies": "bundle-dependencies"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test/**",
|
|
"plugins/*/test/**"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"workspaces": [
|
|
"packages/*",
|
|
"plugins/*",
|
|
"external_plugins/*",
|
|
"external_plugins/*/*"
|
|
],
|
|
"devDependencies": {
|
|
"@clusterio/controller": "workspace:*",
|
|
"@clusterio/ctl": "workspace:*",
|
|
"@clusterio/host": "workspace:*",
|
|
"@clusterio/lib": "workspace:*",
|
|
"@clusterio/web_ui": "workspace:*",
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@eslint/js": "^9.32.0",
|
|
"@stylistic/eslint-plugin": "^5.2.2",
|
|
"@swc/core": "^1.13.3",
|
|
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
"@typescript-eslint/parser": "^8.38.0",
|
|
"eslint": "^9.32.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"express": "^5.1.0",
|
|
"form-data": "^4.0.4",
|
|
"fs-extra": "^11.3.0",
|
|
"globals": "^16.3.0",
|
|
"jsonwebtoken": "^9.0.2",
|
|
"jszip": "^3.10.1",
|
|
"mocha": "^11.7.1",
|
|
"nyc": "^17.1.0",
|
|
"phin": "^3.7.1",
|
|
"typedoc": "^0.28.9",
|
|
"typescript": "^5.9.2",
|
|
"yargs": "^18.0.0"
|
|
}
|
|
}
|