mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-15 09:04:04 +02:00
.. | ||
api | ||
src | ||
.gitignore_TEMPLATE | ||
api_index.ts | ||
package_TEMPLATE.json | ||
README.md | ||
tsconfig.json | ||
webpack.config.js |
Joplin Plugin
This is a template to create a new Joplin plugin.
The main two files you will want to look at are:
/src/index.ts
, which contains the entry point for the plugin source code./src/manifest.json
, which is the plugin manifest. It contains information such as the plugin a name, version, etc.
The plugin is built using webpack, which create the compiled code in /dist
. The project is setup to use TypeScript, although you can change the configuration to use plain JavaScript.
Building the plugin
To build the plugin, simply run npm run dist
.