generators/app/templates/root/_package.json
{
"name": "<%= name %>",
"version": "0.0.1",
"description": "<%= description %>",
"author": {
"name": "<%= author %>",
"email": "<%= email %>"
},
"main": "index.js",
"scripts": {
"local": "SERVICE_ENV=local node index.js",
"start": "node index.js",
<%_ if (showcase) { -%>
"infra-up": "docker-compose -f docker-compose.yml up -d",
"infra-down": "docker-compose -f docker-compose.yml down",
"sleep": "node test/helpers/sleep.js 30000",
<%_ } -%>
"test": "SERVICE_ENV=test mocha --reporter spec './test/**/*.test.js'",
"test-ci": "<% if (showcase) { %>npm run infra-up && npm run sleep && <% } %>SERVICE_ENV=test mocha --reporter mocha-junit-reporter<% if (showcase) { %> && npm run infra-down<% } %>",
"lint": "eslint .",
"manifest": "node_modules/make-manifest/bin/make-manifest",
"qa": "npm run lint && npm run test",
"precommit": "npm run lint",
"prepush": "npm run test"
},
"devDependencies": {
"chai": "^4.3.4",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-mocha": "^9.0.0",
"expect.js": "^0.3.1",
"husky": "^6.0.0",
"mocha": "^9.0.0",
"mocha-junit-reporter": "^2.0.0",
"sinon": "^11.1.1",
"supertest": "^6.1.3"
},
"dependencies": {
"@hapi/boom": "^9.1.2",
"bunyan": "^1.8.15",
"chalk": "^4.1.1",
"confabulous": "^2.0.3",
"debug": "^4.3.1",
<%_ if (showcase) { -%>
"error-handler-module": "^1.0.3",
<%_ } -%>
"express-jsdoc-swagger": "^1.6.2",
"helmet": "^4.6.0",
"hogan.js": "^3.0.2",
"make-manifest": "^1.0.4",
"on-headers": "^1.0.2",
"optional": "^0.1.4",
"prepper": "^1.2.0",
"ramda": "^0.27.1",
"systemic": "^3.3.9",
"systemic-domain-runner": "^1.1.0",
"systemic-express": "^1.1.1"<% if (showcase) { %>,
"systemic-mongodb": "^1.0.5",
"systemic-rabbitmq": "^1.0.1"<% } %>
}
}