diff --git a/packages/engine-media/package.json b/packages/engine-media/package.json new file mode 100644 index 0000000..ea8ceb2 --- /dev/null +++ b/packages/engine-media/package.json @@ -0,0 +1,28 @@ +{ + "name": "@chronocat/engine-media", + "description": "Chronocat 媒体引擎", + "version": "0.2.16", + "license": "AGPL-3.0", + "author": { + "name": "Il Harper", + "email": "hi@ilharper.com", + "url": "https://ilharper.com" + }, + "main": "lib/index.js", + "typings": "lib/index.d.ts", + "files": [ + "lib" + ], + "scripts": { + "build": "node -r esbuild-register ../../scripts/runOnChanged.cts ./src concurrently -n cjs,dts yarn:build:cjs yarn:build:dts", + "build:cjs": "node -r esbuild-register ../../scripts/build.cts", + "build:dts": "tsc -p tsconfig.json" + }, + "devDependencies": { + "@chronocat/shell": "workspace:packages/shell", + "concurrently": "^8.2.1", + "esbuild-register": "^3.5.0", + "ts-toolbelt": "^9.6.0", + "typescript": "~5.1.0" + } +} diff --git a/packages/engine-media/tsconfig.json b/packages/engine-media/tsconfig.json new file mode 100644 index 0000000..42cbe59 --- /dev/null +++ b/packages/engine-media/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../tsconfig.base", + "compilerOptions": { + "rootDir": "src", + "outDir": "lib", + }, + "include": [ + "src", + ], +} diff --git a/yarn.lock b/yarn.lock index ba2fd6f..9b4db12 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1807,6 +1807,18 @@ __metadata: languageName: unknown linkType: soft +"@chronocat/engine-media@workspace:packages/engine-media": + version: 0.0.0-use.local + resolution: "@chronocat/engine-media@workspace:packages/engine-media" + dependencies: + "@chronocat/shell": "workspace:packages/shell" + concurrently: "npm:^8.2.1" + esbuild-register: "npm:^3.5.0" + ts-toolbelt: "npm:^9.6.0" + typescript: "npm:~5.1.0" + languageName: unknown + linkType: soft + "@chronocat/plugin-iife@workspace:packages/iife": version: 0.0.0-use.local resolution: "@chronocat/plugin-iife@workspace:packages/iife"