1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/CliClient/tests/support/plugins/content_script
2020-10-21 00:35:06 +01:00
..
api Update plugin templates 2020-10-21 00:35:06 +01:00
src Update plugin templates 2020-10-21 00:35:06 +01:00
.gitignore Plugins: Added support for content scripts 2020-10-21 00:23:55 +01:00
package-lock.json Plugins: Added support for content scripts 2020-10-21 00:23:55 +01:00
package.json Plugins: Added support for content scripts 2020-10-21 00:23:55 +01:00
README.md Plugins: Added support for content scripts 2020-10-21 00:23:55 +01:00
tsconfig.json Plugins: Added support for content scripts 2020-10-21 00:23:55 +01:00
webpack.config.js Plugins: Added support for content scripts 2020-10-21 00:23:55 +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.