mercury-sdk-js

v0.124.0
Javascript SDK for front end applications

build

npm run clean && npm run transpile

build-min

NODE_ENV=production webpack -p --config webpack.production.config.js && gzip -9 dist/mercury-sdk.min.js

build-profile

webpack --config webpack.profile.config.js

clean

rm -rf dist && mkdir dist

dev

webpack-dev-server --devtool eval --progress --colors --hot --content-base examples

jsdoc

rm -rf jsdocs && mkdir jsdocs && ./node_modules/.bin/jsdoc src utilities -r -d jsdocs

lint-ci

rm -rf checkstyle && mkdir checkstyle && eslint -f checkstyle src/** > checkstyle/checkstyle-result.xml

lint-local

eslint src/** utilities/**

test

./node_modules/karma/bin/karma start --single-run --no-auto-watch karma.config.js

test-watch

./node_modules/karma/bin/karma start --auto-watch --no-single-run karma.config.js

test-server

node utilities/jasmineServerRunner -src

test-integration

node utilities/jasmineServerRunner -__integration_tests__

test-cross-browser

./node_modules/karma/bin/karma start --browsers Chrome,Firefox,Safari,PhantomJS --reporters spec --single-run --no-auto-watch karma.config.js

test-phantom

./node_modules/karma/bin/karma start --browsers PhantomJS --single-run --no-auto-watch karma.ci.config.js

test-manual

./node_modules/karma/bin/karma start karma.manual.config.js

test-ci

npm run test-server && npm run test-phantom && npm run test-integration

transpile

babel src --out-dir dist --ignore /__tests__/

update-docs

npm run jsdoc && node utilities/generateDocs

update-config

node utilities/updateConfig

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 6/2/2017

Downloads

Maintainers