mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Change the expected exported name of plugin declarations to be "plugin" at the main entrypoint instead of the default export. This makes the plugin's code organisation more flexible especially when using CommonJS JavaScript modules as they can export additional symbols from the plugin declaration file.
37 lines
988 B
JSON
37 lines
988 B
JSON
{
|
|
"name": "@clusterio/plugin-statistics_exporter",
|
|
"version": "2.0.0-alpha.13",
|
|
"description": "Clusterio plugin for gathering statistics from Factorio servers",
|
|
"author": "Hornwitser <github@hornwitser.no>",
|
|
"homepage": "https://github.com/clusterio/clusterio#readme",
|
|
"license": "MIT",
|
|
"repository": "clusterio/clusterio",
|
|
"main": "dist/plugin/index.js",
|
|
"scripts": {
|
|
"prepare": "tsc --build && webpack-cli --env production",
|
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/clusterio/clusterio/issues"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"peerDependencies": {
|
|
"@clusterio/lib": "^2.0.0-alpha.0"
|
|
},
|
|
"devDependencies": {
|
|
"@clusterio/lib": "^2.0.0-alpha.13",
|
|
"@clusterio/web_ui": "^2.0.0-alpha.13",
|
|
"@types/node": "^20.4.5",
|
|
"@types/react": "^18.2.21",
|
|
"typescript": "^5.1.6",
|
|
"webpack": "^5.88.2",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-merge": "^5.9.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|