1.0.0 • Published 7 years ago
vff-extension-boilerplate v1.0.0
🌮 VFF extension boilerplate 🌮
Usage
Create a new empty repo on GitHub
git clone https://github.com/TwiztedDesign/vff-extension-boilerplate.git [my-extension-name]
cd [my-extension-name] Clean the README
rm README.md && touch README.mdIf you have LICENSE, you can clean it too.
rm LICENSE
touch LICENSERemove all git info from the boilerplate
rm -rf .gitInitiate the new git repo
git init
git add -A
git commit -m "first commit"
git remote add origin [my-extension remote repo]
git push -u origin masterInstall Dependencies
npm installBuild
npm run buildThis will generate the file /dist/vff-ext.js.
Include this in your html file after you include the vff script
usage examples
To check out the examples, uncomment the require statements in the index.html
and open examples/basic/index.html in your browser
Tests
Run tests:
npm test Watch tests:
npm run test-watch🍻 Cheers 🍻
1.0.0
7 years ago