mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Use a separate folder for the TypeScript build for Node.js in the dist folder. This makes each type of build consistently have its own output folder instead of being interleaved with the Node.js build.
47 lines
1.0 KiB
JSON
47 lines
1.0 KiB
JSON
{
|
|
"name": "@clusterio/lib",
|
|
"description": "Shared library for Clusterio",
|
|
"version": "2.0.0-alpha.16",
|
|
"repository": "https://github.com/clusterio/clusterio",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prepare": "tsc --build && pnpm run compile_validator",
|
|
"compile_validator": "node scripts/compile_validator.js"
|
|
},
|
|
"main": "dist/node/index.js",
|
|
"browser": "browser.ts",
|
|
"keywords": [
|
|
"factorio"
|
|
],
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"dependencies": {
|
|
"@sinclair/typebox": "^0.30.4",
|
|
"ajv": "^8.12.0",
|
|
"chalk": "^4.1.2",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"fs-extra": "^11.1.1",
|
|
"jszip": "^3.10.1",
|
|
"klaw": "^4.1.0",
|
|
"set-blocking": "^2.0.0",
|
|
"triple-beam": "^1.4.1",
|
|
"winston": "^3.10.0",
|
|
"winston-transport": "^4.5.0",
|
|
"ws": "^8.13.0",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@types/fs-extra": "^11.0.1",
|
|
"@types/node": "^20.4.5",
|
|
"@types/set-blocking": "^2.0.0",
|
|
"@types/triple-beam": "^1.3.2",
|
|
"@types/ws": "^8.5.5",
|
|
"@types/yargs": "^17.0.24",
|
|
"typescript": "^5.1.6"
|
|
}
|
|
}
|