Widget to bring the Migme fun to web apps.
npm install migme-surfboard
Replace ${VERSION}
with a released version number.
<script src="https://cdn.rawgit.com/migme/surfboard/releases/download/${VERSION}/migme-surfboard.min.js"></script>
// ES6
import Surfboard from 'migme-surfboard'
// CommonJS
var Surfboard = require('migme-surfboard')
// AMD
define(['migme-surfboard'], function (Surfboard) {
// ...
})
const widget = new Surfboard()
# Install dependencies
npm install
# Run tests (continuous integration)
npm test
# Run tests (development)
karma start
# ... sans code coverage for clean source maps
# See: douglasduteil/isparta#31
karma start --coverage false
# Build
gulp browserify
# ... forever
gulp watchify
npm i -g http-server
http-server
open http://127.0.0.1:8080