1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/CliClient/tests/support/plugins/withExternalModules
2020-10-09 18:35:46 +01:00
..
api All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
dist All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
src All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
.gitignore All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
package-lock.json All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
package.json All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
README.md All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
tsconfig.json All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00
webpack.config.js All: Add support for application plugins (#3257) 2020-10-09 18:35:46 +01:00

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.