|
@@ -19,6 +19,12 @@
|
|
|
},
|
|
|
"homepage": "https://github.com/tauri-apps/tauri#readme",
|
|
|
"type": "module",
|
|
|
+ "types": "./types/index.d.ts",
|
|
|
+ "main": "./index.cjs",
|
|
|
+ "module": "./index.js",
|
|
|
+ "exports": {
|
|
|
+ "./package.json": "./package.json"
|
|
|
+ },
|
|
|
"scripts": {
|
|
|
"build": "rollup -c --configPlugin typescript",
|
|
|
"npm-pack": "yarn build && cd ./dist && npm pack",
|
|
@@ -48,9 +54,6 @@
|
|
|
"tslib": "2.6.2",
|
|
|
"typescript": "5.2.2"
|
|
|
},
|
|
|
- "exports": {
|
|
|
- "./package.json": "./package.json"
|
|
|
- },
|
|
|
"engines": {
|
|
|
"node": ">= 18",
|
|
|
"npm": ">= 6.6.0",
|