ToolJet/marketplace/_templates/plugin/new/packagejson.ejs.t
Arpit 7dea6c9ad1
Enhancements to the process of developing a Marketplace plugin (#5777)
* in dev mode, start watching for changes in all packages

* plugin reload service

* typo

* fixes updates from fs

* checks if marketplace dev mode is on to decode the run code from plugin index file

* clean up

* removes console.log

* refactor: marketplace dashboard

* prep to merge

* dotenv

* fixes: install new upadates for one plugin at a time

* fixes app crash for new plugins(marketplace/datasource) with default schema

* avoid creating docs for marketplace to root docs

* Before starting watcher, build the marketplace once.

* fixes: installed plugin crashes if deleting the entire plugin from the dir, but the build still haves the plugin files
2023-03-24 17:05:08 +05:30

29 lines
682 B
Perl

---
to: <%= plugins_path %>/plugins/<%= name %>/package.json
---
{
"name": "@tooljet-marketplace/<%= name %>",
"version": "1.0.0",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib"
],
"scripts": {
"test": "echo \"Error: run tests from root\" && exit 1",
"build": "ncc build lib/index.ts -o dist",
"watch": "ncc build lib/index.ts -o dist --watch"
},
"homepage": "https://github.com/tooljet/tooljet#readme",
"dependencies": {
"@tooljet-marketplace/common": "^1.0.0"
},
"devDependencies": {
"typescript": "^4.7.4",
"@vercel/ncc": "^0.34.0"
}
}