packaged sample-package
Sample package for bower and npm demo proposes.
This repo is for distribution on npm
and bower
.
Install
You can install this package either with npm
or with bower
.
npm
npm install sample-package
Then add a <script>
to your index.html
:
<script src="/node_modules/sample-package/sample-package.js"></script>
Or require('sample-package')
from your code.
bower
bower install sample-package
Then add a <script>
to your index.html
:
<script src="/bower_components/sample-package/sample-package.js"></script>