* feature: event based plugin * chore: update README.md * Update yarn script for build plugins (#363) * Update yarn script for build plugins * Plugin-core install from npmjs instead of from local --------- Co-authored-by: Hien To <> * #360 plugin preferences (#361) * feature: #360 plugin preferences * chore: update core-plugin README.md * chore: create collections on start * chore: bumb core version * chore: update README * chore: notify preferences update * fix: preference update --------- Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
47 lines
1.3 KiB
JSON
47 lines
1.3 KiB
JSON
{
|
|
"name": "data-plugin",
|
|
"version": "1.0.4",
|
|
"description": "The Data Connector provides easy access to a data API using the PouchDB engine. It offers accessible data management capabilities.",
|
|
"icon": "https://raw.githubusercontent.com/tailwindlabs/heroicons/88e98b0c2b458553fbadccddc2d2f878edc0387b/src/20/solid/circle-stack.svg",
|
|
"main": "dist/esm/index.js",
|
|
"author": "Jan",
|
|
"license": "MIT",
|
|
"activationPoints": [
|
|
"init"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --project ./config/tsconfig.esm.json && tsc --project ./config/tsconfig.cjs.json && webpack --config webpack.config.js",
|
|
"postinstall": "rimraf ./data-plugin*.tgz && npm run build",
|
|
"build:publish": "npm pack && cpx *.tgz ../../pre-install"
|
|
},
|
|
"exports": {
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/module.js",
|
|
"default": "./dist/esm/index.js"
|
|
},
|
|
"devDependencies": {
|
|
"cpx": "^1.5.0",
|
|
"node-pre-gyp": "^0.17.0",
|
|
"rimraf": "^3.0.2",
|
|
"ts-loader": "^9.4.4",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "^5.88.2",
|
|
"webpack-cli": "^5.1.4"
|
|
},
|
|
"bundledDependencies": [
|
|
"pouchdb-node",
|
|
"pouchdb-find"
|
|
],
|
|
"files": [
|
|
"dist/**",
|
|
"package.json",
|
|
"node_modules"
|
|
],
|
|
"dependencies": {
|
|
"@janhq/plugin-core": "^0.1.7",
|
|
"pouchdb-find": "^8.0.1",
|
|
"pouchdb-node": "^8.0.1"
|
|
}
|
|
}
|