git clone https://github.com/digital-engine-info/bubble-plugin-boilerplate.git myLibrary
npm install
Bubble plugins examples can be found in
src
directory :
src/serverAction/index.js
contains the runServer expected by a bubble server side action
Before shipping, make sure to:
- Edit
LICENSE
file - Edit
package.json
information (These will be used to generate the headers for your built files)
You can run unit tests by using following command. Documentation about the test library can be found here Tests are written in files *.test.js stored closed to the source files : index.js --> index.test.js
npm test