chore: move package.json to plugin root

This commit is contained in:
Jonas Kruckenberg
2023-01-05 17:06:00 +01:00
parent 49a57fc9e2
commit 4cced94332
54 changed files with 175 additions and 165 deletions
-32
View File
@@ -1,32 +0,0 @@
{
"name": "tauri-plugin-sql-api",
"version": "0.0.0",
"license": "MIT or APACHE-2.0",
"authors": [
"Tauri Programme within The Commons Conservancy"
],
"type": "module",
"browser": "dist/index.min.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"browser": "./dist/index.min.js"
},
"scripts": {
"build": "rollup -c"
},
"files": [
"dist",
"!dist/**/*.map",
"README.md",
"LICENSE"
],
"devDependencies": {
"tslib": "^2.4.1"
},
"dependencies": {
"@tauri-apps/api": "^1.2.0"
}
}
-10
View File
@@ -1,10 +0,0 @@
import { readFileSync } from "fs";
import { createConfig } from "../../../shared/rollup.config.mjs";
export default createConfig({
pkg: JSON.parse(
readFileSync(new URL("./package.json", import.meta.url), "utf8")
),
external: [/^@tauri-apps\/api/],
});
-1
View File
@@ -1 +0,0 @@
../../../shared/tsconfig.json