Adopt lerna and typescript

This commit is contained in:
Jerome Wu
2022-09-13 17:23:21 +08:00
parent d2ea0066a7
commit 94bb51d073
139 changed files with 35770 additions and 11094 deletions

0
apps/node-ts/index.ts Normal file
View File

View File

@@ -0,0 +1,6 @@
import createFFmpegCore from "@ffmpeg/core-mt";
void (async () => {
const core = await createFFmpegCore();
console.log(core);
})();

View File

@@ -0,0 +1,6 @@
import createFFmpegCore from "@ffmpeg/core";
void (async () => {
const core = await createFFmpegCore();
console.log(core);
})();

21
apps/node-ts/package.json Normal file
View File

@@ -0,0 +1,21 @@
{
"name": "node-ts",
"version": "0.0.1",
"description": "node example",
"main": "index.ts",
"scripts": {
"lint": "eslint .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Jerome Wu <jeromewus@gmail.com>",
"license": "MIT",
"dependencies": {
"@ffmpeg/core": "^0.11.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"eslint": "^8.23.1",
"typescript": "^4.8.3"
}
}

View File

@@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}