xml-js

v1.4.1
A convertor between XML text and Javascript object / JSON text.
XML xml js JSON json cdata CDATA doctype processing instruction and 17 more...

debug

nodemon --inspect --watch lib/ --watch test/ --debug-brk test/index.js

debug:cli

nodemon --inspect --watch lib/ --debug-brk index.js -- --help

jasmine

jasmine JASMINE_CONFIG_PATH=./test/jasmine.json

watch:jasmine

watch "npm run jasmine" lib/ test/

bundle:jasmine

globify test/*_test.js --watch --verbose --list --outfile test/browse-jasmine/bundle.js

live:jasmine

browser-sync start --port 9991 --server test/browse-jasmine/ --files test/browse-jasmine/ --no-open --no-ui --no-online

open:jasmine

biased-opener --browser chrome http://localhost:9991

istanbul

istanbul cover --dir test/browse-coverage -x test/browse-** test/index.js

watch:istanbul

watch "npm run istanbul" lib/ test/ --ignoreDirectoryPattern=/browse-.+/

live:istanbul

browser-sync start --port 9992 --server test/browse-coverage/lcov-report/ --files test/browse-coverage/lcov-report/ --no-open --no-ui --no-online

open:istanbul

biased-opener --browser chrome http://localhost:9992

live

npm-run-all --parallel live:* open:*

start

npm-run-all --parallel bundle:jasmine watch:istanbul live:* open:*

git:commit

git add . && git commit -a -m "Committed by npm script." && git push origin master

git:push

git push origin master

deploy

npm-run-all --serial coverage:* git:*

coverage

npm-run-all coverage:*

coverage:a-step

npm run istanbul

coverage:coveralls

cat ./test/browse-coverage/lcov.info | coveralls

coverage:codacy

cross-env CODACY_PROJECT_TOKEN=0207815122ea49a68241d1aa435f21f1 cat ./test/browse-coverage/lcov.info | codacy-coverage

coverage:codeclimate

cross-env CODECLIMATE_REPO_TOKEN=60848a077f9070acf358b0c7145f0a2698a460ddeca7d8250815e75aa4333f7d codeclimate-test-reporter < test\browse-coverage\lcov.info

prepublish

npm run test

test

npm run jasmine && npm run test:types

test:types

tsc -p ./types

Metadata

  • MIT
  • Whatever
  • Yousuf Almarzooqi
  • released 8/21/2017

Downloads

Maintainers