kinvey-backbone-sdk
v3.4.1 Kinvey JavaScript Backbone
build
npm run clean && npm run transpile && npm run bundle && npm run minify
bundle
webpack --config webpack.config.js
clean
del coverage dist s3
minify
uglifyjs --screw-ie8 --compress warnings=false --mangle --comments --output ./dist/kinvey-backbone-sdk.min.js -- ./dist/kinvey-backbone-sdk.js
cover
istanbul cover _mocha -- --compilers js:babel-core/register -r babel-polyfill -s 100 --recursive test/unit/setup test/unit
docs
esdoc -c esdoc.json
e2e:server
selenium-standalone install --version=3.0.1 && selenium-standalone start
e2e:app
npm run build && shjs ./scripts/e2e.js && node ./test/browserstack/app
e2e:test
wdio ./test/browserstack/wdio.conf
e2e:test:browserstack
wdio ./test/browserstack/browserstack.conf
lint
npm run lint:src
lint:src
eslint src/**
lint:test
eslint test/unit/**
preversion
del node_modules && npm install && npm test
postversion
git push && git push --tags
s3
npm run build && shjs ./scripts/s3.js
test
mocha --compilers js:babel-core/register -r babel-polyfill -s 100 --recursive test/unit/setup test/unit
test:watch
mocha -w --compilers js:babel-core/register -r babel-polyfill -s 100 --recursive test/unit/setup test/unit
transpile
babel src --out-dir dist