@docomodigital/js-fetcher
v3.0.3prebuild
rimraf ./dist ./umd
build:cjs
cross-env NODE_ENV=production BABEL_ENV=cjs babel --config-file ../../babel.config.js ./src --out-dir ./dist
build:esm
cross-env NODE_ENV=production BABEL_ENV=esm babel --config-file ../../babel.config.js ./src --out-dir ./dist/esm
build:umd
cross-env NODE_ENV=production BABEL_ENV=production-umd rollup -c ../../rollup.config.js
build
yarn build:cjs && yarn build:esm && yarn build:umd
start
NODE_ENV=development node ../../scripts/start.js
test
node ../../scripts/runTests.js
test:watch
node ../../scripts/runTests.js --watchAll
test:open
node ../../scripts/runTests.js && open coverage/lcov-report/index.html
lint
node ../../scripts/lint.js
doc
node ../../scripts/docs.js
doc:latest
node ../../scripts/docs --version=latest
preversion
npm run lint && npm run test
version
npm run build && npm run doc && npm run doc:latest && npm run copyFiles
copyFiles
node ../../scripts/copyFiles.js
npm i @docomodigital/js-fetcher
Metadata
- MIT
- Whatever
- Unknown
- released 12/16/2019