tauri/tooling/cli.rs/templates/plugin/with-api/package.json

28 lines
669 B
JSON

{
"name": "tauri-plugin-{{ plugin_name }}-api",
"version": "0.1.0",
"authors": [
"You"
],
"description": "",
"browser": "webview-dist/index.js",
"main": "webview-dist/index.js",
"types": "webview-dist/index.d.ts",
"scripts": {
"build": "rollup -c ./webview-src/rollup.config.js",
"prepublishOnly": "yarn build",
"pretest": "yarn build"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^11.1.0",
"@rollup/plugin-typescript": "^8.1.0",
"rollup": "^2.38.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.1.3"
},
"dependencies": {
"@tauri-apps/api": "1.0.0-beta.8",
"tslib": "^2.1.0"
}
}