feat(media): init media engine

This commit is contained in:
Il Harper 2024-09-05 21:54:46 +08:00
parent 5467e7bfd9
commit 6e9c44d316
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC
3 changed files with 50 additions and 0 deletions

View File

@ -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"
}
}

View File

@ -0,0 +1,10 @@
{
"extends": "../../tsconfig.base",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib",
},
"include": [
"src",
],
}

View File

@ -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"