Skip to content

Instantly share code, notes, and snippets.

@fecaps
Last active June 10, 2019 21:04
Show Gist options
  • Save fecaps/8f75cb97a1ce4efe3a1fc15a3154777b to your computer and use it in GitHub Desktop.
Save fecaps/8f75cb97a1ce4efe3a1fc15a3154777b to your computer and use it in GitHub Desktop.
Btime package.json file
{
"name": "btime-micro-service",
"version": "1.0.0",
"description": "Btime micro service",
"engines": {
"node": ">=8.10.0"
},
"files": [
"srv",
"src"
],
"scripts": {
"start": "node srv/start.js",
"start-dev": "node --inspect=9201 srv/start.js",
"test": "LISTEN_PORT=50000 LOG_LEVEL=error nyc --check-coverage --lines 75 --functions 75 --reporter=html --reporter=text mocha -S test/*.test.js --exit --timeout 555555",
"test-debugger": "LISTEN_PORT=50000 mocha --inspect-brk=9201 -S test/*.test.js --exit --timeout 0",
"fixStyle": "./node_modules/eslint/bin/eslint.js ./ --fix",
},
"husky": {
"hooks": {
"pre-commit": "./node_modules/eslint/bin/eslint.js ./",
"pre-push": "npm test"
}
},
"author": "Btime <team@btime.io>",
"license": "GPL-3.0",
"dependencies": {
"lodash": "4.13.1"
},
"devDependencies": {
"chai": "^4.1.2",
"eslint": "^5.5.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-mocha": "^5.2.0",
"eslint-plugin-node": "^7.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^0.15.0-rc.3",
"mocha": "^5.2.0",
"nyc": "^13.0.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment