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

View File

@@ -0,0 +1,3 @@
module.exports = {
extends: "../../.eslintrc.cjs",
};

2
packages/core/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
dist/
types/

View File

@@ -0,0 +1,50 @@
{
"name": "@ffmpeg/core",
"version": "0.11.0",
"description": "ffmpeg.wasm core",
"main": "./dist/ffmpeg-core.cjs",
"types": "./types/ffmpeg-core.d.ts",
"exports": {
".": {
"types": "./types/ffmpeg-core.d.ts",
"import": "./dist/ffmpeg-core.js",
"require": "./dist/ffmpeg-core.cjs"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/ffmpegwasm/ffmpeg.wasm.git"
},
"keywords": [
"ffmpeg",
"webassembly",
"video",
"audio",
"transcode"
],
"author": "jeromewus@gmail.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/ffmpegwasm/ffmpeg.wasm/issues"
},
"homepage": "https://github.com/ffmpegwasm/ffmpeg.wasm#readme",
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"types"
],
"scripts": {
"lint": "eslint types"
},
"dependencies": {
"@types/emscripten": "^1.39.6"
},
"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"
}