-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path_package.json
More file actions
84 lines (83 loc) · 2.9 KB
/
_package.json
File metadata and controls
84 lines (83 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "<%= slug %>",
"version": "0.0.0",
"description": "<%= apiDescription %>",
"author": {
"name": "<%= authorName %>",
"email": "<%= authorEmail %>"
},
"main": "src/index.js",
"engines": {
"node": "~6.9.x"
},
"scripts": {
"start": "cross-env NODE_ENV=test node src/index.js",
"start:production": "cross-env NODE_ENV=production node src/index.js",
"start:stage": "cross-env NODE_ENV=development node src/index.js",
"start:homolog": "cross-env NODE_ENV=homologation node src/index.js",
"dev": "node -r dotenv/config node_modules/.bin/nodemon src/index.js",
"dev:tests": "node -r dotenv/config node_modules/.bin/nodemon --exec \"npm run lint && npm run coverage && npm start\"",
"test": "cross-env NODE_ENV=test mocha",
"test:unit": "cross-env NODE_ENV=test mocha --opts test/mocha.opts test/unit",
"test:integration": "cross-env NODE_ENV=test mocha --opts test/mocha.opts test/integration",
"postinstall": "npm run check-dependencies",
"check-dependencies": "nsp check",
"lint": "eslint src test",
"coverage": "istanbul cover node_modules/mocha/bin/_mocha",
"climate-coverage": "cross-env NODE_ENV=test npm run coverage && codeclimate-test-reporter < coverage/lcov.info",
"climate-coverage-dotenv": "cross-env NODE_ENV=test npm run coverage && node -r dotenv/config node_modules/codeclimate-test-reporter/bin/codeclimate.js < coverage/lcov.info",
"migrate": "node node_modules/db-migrate/bin/db-migrate up",
"migrate:production": "node node_modules/db-migrate/bin/db-migrate up -e production",
"migrate:stage": "node node_modules/db-migrate/bin/db-migrate up -e stage",
"migrate:homolog": "node node_modules/db-migrate/bin/db-migrate up -e homolog"
},
"config": {
"pre-git": {
"pre-commit": [
"npm run lint && npm test"
],
"post-commit": [
"git status"
],
"pre-push": [
"npm run lint && npm test"
]
}
},
"repository": "<%= repository %>",
"devDependencies": {
"codeclimate-test-reporter": "^0.3.3",
"cross-env": "^2.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-config-airbnb-base": "^11.1.1",
"expect.js": "^0.3.1",
"istanbul": "^0.4.5",
"mocha": "^3.0.2",
"nock": "^9.0.2",
"nodemon": "^1.10.2",
"nsp": "^2.6.1",
"pre-git": "^3.10.0",
"sinon": "^2.0.0",
"supertest": "^2.0.1",
"eslint": "^3.19.0",
"sqlite3": "^3.1.8"
},
"dependencies": {
"bluebird": "^3.4.6",
"bunyan": "^1.8.5",
"bunyan-prettystream": "^0.1.3",
"cuid": "^1.3.8",
"dotenv": "^2.0.0",
"eslint-config-airbnb-base": "^11.1.1",
"helmet": "^3.1.0",
"request-promise": "^4.1.1",
"require-directory": "^2.1.1",
"restify": "^4.3.0",
"restify-router": "^0.4.2",
"db-migrate": "^0.10.0-beta.20",
"eslint-plugin-import": "^2.2.0",
"knex": "^0.12.9",
"pg": "^6.1.5",
"request": "^2.81.0"
}
}