forked from recurship/api-koa-sequelize-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
98 lines (98 loc) · 2.98 KB
/
package.json
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "api-koa-mongodb-starter",
"description": "A boiler-plate setup for API servers with Koa",
"version": "0.0.1",
"author": "Narain Sagar <[email protected]> (http://github.com/narainsagar)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/narainsagar/api-koa2-mongodb-starter.git"
},
"bugs": {
"url": "https://github.com/narainsagar/api-koa2-mongodb-starter/issues"
},
"scripts": {
"postinstall": "npm run build",
"clean": "rimraf coverage dist",
"build": "npm run clean && npm run build:transpile",
"start": "cross-env PROJECT_ENV=staging node --require babel-polyfill ./dist/app.js",
"dev": "cross-env PROJECT_ENV=local nodemon --exec babel-node -- ./src/app.js",
"local:start": "cross-env PROJECT_ENV=local daemon:start",
"local:stop": "cross-env PROJECT_ENV=local daemon:stop",
"staging:start": "cross-env PROJECT_ENV=staging npm run daemon:start",
"staging:stop": "cross-env PROJECT_ENV=staging npm run daemon:stop",
"test": "cross-env PROJECT_ENV=testing npm run test:ci",
"test:watch": "cross-env PROJECT_ENV=testing npm run test:mocha:watch",
"build:transpile": "babel src -d dist",
"pretest:ci": "npm run lint",
"test:ci": "cross-env NODE_ENV=test nyc --all mocha",
"test:mocha:watch": "mocha --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"raml": "raml2html -i doc/api/api.raml -o api.html",
"daemon:start": "forever --uid api-koa-starter -a -c 'node --require babel-polyfill' start ./dist/app.js",
"daemon:stop": "forever stop api-koa-starter || true"
},
"dependencies": {
"bluebird": "3.5.1",
"debug": "3.1.0",
"kcors": "2.2.1",
"koa": "2.3.0",
"koa-body": "2.5.0",
"koa-convert": "1.2.0",
"koa-helmet": "3.2.0",
"koa-morgan": "1.0.1",
"koa-router": "7.2.1",
"mongoose": "4.12.4",
"ramda": "0.25.0",
"winston": "2.4.0"
},
"devDependencies": {
"@types/koa": "2.0.39",
"babel-cli": "6.26.0",
"babel-eslint": "8.0.1",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-syntax-async-functions": "6.13.0",
"babel-plugin-transform-regenerator": "6.26.0",
"babel-plugin-transform-runtime": "6.23.0",
"babel-polyfill": "6.26.0",
"babel-preset-env": "1.6.1",
"babel-register": "6.26.0",
"chai": "4.1.2",
"cross-env": "5.1.0",
"eslint": "4.9.0",
"forever": "0.15.3",
"mocha": "4.0.1",
"mockery": "2.1.0",
"nodemon": "1.12.1",
"nyc": "11.2.1",
"raml2html": "3.0.1",
"rimraf": "2.6.2",
"sinon": "4.0.1",
"supertest": "3.0.0"
},
"nyc": {
"check-coverage": true,
"lines": 60,
"branches": 60,
"functions": 60,
"statements": 60,
"reporter": [
"lcov",
"text"
],
"exclude": [
"**/*.spec.js",
"test/**",
"env/**",
"docs/**",
"dist/**"
],
"require": [
"babel-register",
"babel-polyfill"
],
"sourceMap": false,
"instrument": false
}
}