UNPKG

1.23 kBMarkdownView Raw
1# How to Contribute
2- Before create any pull requests, please open a issue explaining the situation (bug or enhacement)
3- Be sure to follow the eslint rules (webpack will always output its results)
4- Be sure before open the pull request, to test the existent code and/or create tests if you made a new feature.
5
6## Development Environment (Sandbox Mode)
7**Be sure all the dev-dependencies are installed.**
8Just run the command:
9```
10npm start
11```
12
13This will make the webpack compile the dev. env. and set up into a
14webserver with hot deployment into the localhost:8080. There you can make
15changes into the plugin and see in real time all your modifications running.
16Also, every modification will trigger the eslint, so alway check your code style!
17
18You can modify and see live all the modifications changing the file:
19```
20dev-env/index.js
21```
22**Be sure not commit this file!**
23
24## Testing and Building
25After develop/fix a bug, before do a **pull request**, run the test command:
26To run the build, before install the npm and gulp dependencies, then run:
27```
28npm test
29```
30
31If you just want to use the latest version directly from the source code just do:
32```
33npm run build
34```
35All the files will be outputed in the *dist/* directory
\No newline at end of file