beanstalkd-worker
v1.3.1 beanstalkd worker
prepublish
npm run check && npm run build
check
npm run lint && npm run test:unit
lint
eslint src
build
rm -rf lib/* && babel src --ignore test --optional bluebirdCoroutines,runtime --out-dir lib
cover
cross-env NODE_PATH=src NODE_ENV=test istanbul cover _mocha -- --require scripts/mocha-bootload --check-leaks --colors --reporter spec test/unit/*.test.js test/unit/**/*.test.js
test
npm run test:unit && npm run test:integration
test:unit
cross-env NODE_PATH=src NODE_ENV=test mocha --require scripts/mocha-bootload --check-leaks --colors --reporter spec test/unit/*.test.js test/unit/**/*.test.js
test:integration
cross-env NODE_ENV=test mocha --require scripts/mocha-bootload --check-leaks --colors --reporter spec test/integration/*.test.js test/integration/**/*.test.js
test:integration:docker
docker-compose up -d && npm run test:integration && docker-compose down
restart-beanstalkd
docker-compose kill beanstalkd && docker-compose start beanstalkd