Files
esengine/package.json

108 lines
4.6 KiB
JSON
Raw Normal View History

2020-06-08 11:49:45 +08:00
{
"name": "@esengine/ecs-framework-monorepo",
2025-08-06 09:56:55 +08:00
"version": "2.1.29",
"description": "ECS Framework Monorepo - 高性能ECS框架及其网络插件",
"private": true,
"workspaces": [
"packages/*"
],
"keywords": [
"ecs",
"entity-component-system",
"game-engine",
"typescript",
"laya",
"cocos",
"egret"
],
2020-06-08 11:49:45 +08:00
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna run clean",
2025-08-12 09:39:07 +08:00
"build": "npm run build:core && npm run build:math && npm run build:network-shared && npm run build:network-client && npm run build:network-server",
"build:core": "cd packages/core && npm run build",
2025-08-11 09:01:01 +08:00
"build:math": "cd packages/math && npm run build",
2025-08-12 09:39:07 +08:00
"build:network-shared": "cd packages/network-shared && npm run build",
"build:network-client": "cd packages/network-client && npm run build",
"build:network-server": "cd packages/network-server && npm run build",
"build:npm": "npm run build:npm:core && npm run build:npm:math && npm run build:npm:network-shared && npm run build:npm:network-client && npm run build:npm:network-server",
"build:npm:core": "cd packages/core && npm run build:npm",
2025-08-11 09:01:01 +08:00
"build:npm:math": "cd packages/math && npm run build:npm",
2025-08-12 09:39:07 +08:00
"build:npm:network-shared": "cd packages/network-shared && npm run build:npm",
"build:npm:network-client": "cd packages/network-client && npm run build:npm",
"build:npm:network-server": "cd packages/network-server && npm run build:npm",
"test": "lerna run test",
"test:coverage": "lerna run test:coverage",
"test:ci": "lerna run test:ci",
"prepare:publish": "npm run build:npm && node scripts/pre-publish-check.cjs",
"sync:versions": "node scripts/sync-versions.cjs",
2025-08-11 10:25:28 +08:00
"publish:all": "npm run prepare:publish && npm run publish:all:dist",
2025-08-12 09:39:07 +08:00
"publish:all:dist": "npm run publish:core && npm run publish:math && npm run publish:network-shared && npm run publish:network-client && npm run publish:network-server",
2025-08-11 10:03:19 +08:00
"publish:core": "cd packages/core && npm run publish:npm",
"publish:core:patch": "cd packages/core && npm run publish:patch",
2025-09-28 12:26:51 +08:00
"publish:math": "cd packages/math && npm run publish:npm",
2025-08-11 10:03:19 +08:00
"publish:math:patch": "cd packages/math && npm run publish:patch",
2025-08-12 09:39:07 +08:00
"publish:network-shared": "cd packages/network-shared && npm run publish:npm",
"publish:network-shared:patch": "cd packages/network-shared && npm run publish:patch",
"publish:network-client": "cd packages/network-client && npm run publish:npm",
"publish:network-client:patch": "cd packages/network-client && npm run publish:patch",
"publish:network-server": "cd packages/network-server && npm run publish:npm",
"publish:network-server:patch": "cd packages/network-server && npm run publish:patch",
"publish": "lerna publish",
2025-09-28 12:26:51 +08:00
"version": "lerna version",
"docs:dev": "vitepress dev docs",
"docs:build": "npm run docs:api && vitepress build docs",
"docs:preview": "vitepress preview docs",
"docs:api": "typedoc",
"docs:api:watch": "typedoc --watch",
"update:worker-demo": "npm run build:core && cd examples/worker-system-demo && npm run build && cd ../.. && npm run copy:worker-demo",
"copy:worker-demo": "node scripts/update-worker-demo.js",
"format": "prettier --write \"packages/**/src/**/*.{ts,tsx,js,jsx}\"",
"format:check": "prettier --check \"packages/**/src/**/*.{ts,tsx,js,jsx}\"",
"lint": "eslint \"packages/**/src/**/*.{ts,tsx,js,jsx}\"",
"lint:fix": "eslint \"packages/**/src/**/*.{ts,tsx,js,jsx}\" --fix"
2020-06-08 11:49:45 +08:00
},
"author": "yhh",
"license": "MIT",
"devDependencies": {
2025-09-28 12:26:51 +08:00
"@iconify/json": "^2.2.388",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.14",
2025-06-08 21:50:50 +08:00
"@types/node": "^20.19.0",
"@typescript-eslint/eslint-plugin": "^8.46.1",
"@typescript-eslint/parser": "^8.46.1",
"eslint": "^9.37.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^8.1.8",
"prettier": "^3.6.2",
"rimraf": "^5.0.0",
"rollup": "^4.42.0",
"rollup-plugin-dts": "^6.2.1",
"semver": "^7.6.3",
"ts-jest": "^29.4.0",
2025-09-28 12:26:51 +08:00
"typedoc": "^0.28.13",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.8.3",
"unplugin-icons": "^22.3.0",
"vitepress": "^1.6.4"
2020-06-08 11:49:45 +08:00
},
"publishConfig": {
"access": "public"
2020-06-16 13:13:55 +08:00
},
2023-03-13 12:10:17 +08:00
"repository": {
"type": "git",
"url": "https://github.com/esengine/ecs-framework.git"
2025-06-17 00:32:16 +08:00
},
"dependencies": {
2025-06-19 18:32:32 +08:00
"@types/multer": "^1.4.13",
2025-06-17 00:32:16 +08:00
"@types/ws": "^8.18.1",
"coi-serviceworker": "^0.1.7",
"minigame-api-typings": "^3.8.12",
"protobufjs": "^7.5.3",
"reflect-metadata": "^0.2.2",
2025-06-17 00:32:16 +08:00
"ws": "^8.18.2"
}
2025-06-09 15:55:26 +08:00
}