https://github.com/zodern/mup-plugin-boilerplate
Boilerplate for Meteor Up plugins
https://github.com/zodern/mup-plugin-boilerplate
Last synced: 8 months ago
JSON representation
Boilerplate for Meteor Up plugins
- Host: GitHub
- URL: https://github.com/zodern/mup-plugin-boilerplate
- Owner: zodern
- Created: 2018-03-05T00:24:01.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-11-15T21:50:14.000Z (over 7 years ago)
- Last Synced: 2025-10-11T06:32:10.471Z (8 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Boilerplate for Meteor Up Plugins
Learn how to create plugins from the [Meteor Up docs](http://meteor-up.com/plugins.html#creating-a-plugin).
### Folders:
`src` This is the source for the plugin. You can use es6 in these files.
`src/assets` Place any scripts or templates used by nodemiral tasks here.
`lib` Files in this folder are generated by babel, and are used when running the plugin. They are ignored by git, but included when published on npm.
### Scripts
`npm run build` Generates the lib folder from the src folder
`npm run build:watch` Same as the `build` script, but will watch for files that change and regenerate them
### Getting Started
Run the commands:
```
git clone https://github.com/zodern/mup-plugin-boilerplate.git
cd
rm -rf .git
git init
```
Next, you will want to change name and description in package.json and `src/index`