feat: plugin-embed

This commit is contained in:
yanmao 2021-11-29 10:25:43 +08:00
parent 24a1810c94
commit 8b4c4c1789
2 changed files with 48 additions and 17 deletions

View File

@ -1,29 +1,26 @@
{
"name": "@aomao/plugin-embed",
"version": "1.0.0",
"description": "> TODO: description",
"author": "yanmao <55792257+yanmao-cc@users.noreply.github.com>",
"homepage": "https://github.com/yanmao-cc/am-editor/tree/master/plugins/embed#readme",
"license": "MIT",
"main": "src/index.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"version": "2.6.14",
"main": "dist/index.ts",
"module": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"files": [
"lib"
"dist",
"lib",
"src"
],
"publishConfig": {
"access": "public"
},
"author": "me@yanmao.cc",
"license": "MIT",
"homepage": "https://github.com/yanmao-cc/am-editor#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/yanmao-cc/am-editor.git"
},
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1"
},
"bugs": {
"url": "https://github.com/yanmao-cc/am-editor/issues"
},
"dependencies": {
"@aomao/engine": "^2.6.14",
"@babel/runtime": "^7.13.10"
}
}

View File

@ -0,0 +1,34 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"importHelpers": true,
"jsx": "react",
"allowJs": true,
"skipLibCheck": true,
"experimentalDecorators": true,
"noImplicitReturns": true,
"declaration": true,
"suppressImplicitAnyIndexErrors": true,
"esModuleInterop": true,
"sourceMap": true,
"baseUrl": "./",
"strict": true,
"paths": {
"@/*": ["src/*"]
},
"allowSyntheticDefaultImports": true
},
"exclude": [
"node_modules",
"lib",
"es",
"dist",
"docs-dist",
"typings",
"**/__test__",
"test",
"fixtures"
]
}