forked from JaKXz/api-koa-starter
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
99 lines (99 loc) · 3.01 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
99
{
"name": "koa-starter",
"description": "A boiler-plate setup for API servers with Koa",
"version": "0.0.1",
"author": "Seth Davenport <[email protected]> (http://github.com/SethDavenport)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/rangle/api-koa-starter.git"
},
"bugs": {
"url": "https://github.com/rangle/rangle-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 .",
"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": {
"babel-plugin-syntax-async-functions": "^6.1.4",
"babel-plugin-transform-regenerator": "^6.1.4",
"babel-polyfill": "^6.1.4",
"babel-preset-es2015": "^6.13.0",
"debug": "^3.1.0",
"koa": "^2.5.0",
"koa-body": "^2.5.0",
"koa-convert": "^1.2.0",
"koa-helmet": "^3.3.0",
"koa-morgan": "^1.0.1",
"koa-router": "^7.4.0",
"mysql": "^2.15.0",
"ramda": "^0.25.1",
"sequelize": "^3.27.0",
"sequelize-cli": "^2.4.0",
"winston": "^2.4.1"
},
"devDependencies": {
"@types/koa": "2.0.44",
"@types/sequelize": "^4.27.39",
"babel-cli": "^6.8.0",
"babel-eslint": "^8.2.2",
"babel-plugin-istanbul": "^4.1.5",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-register": "^6.9.0",
"chai": "^4.1.2",
"cross-env": "^5.1.4",
"eslint": "^4.19.0",
"forever": "^0.15.3",
"mocha": "^5.0.4",
"mockery": "^2.1.0",
"nodemon": "^1.17.2",
"nyc": "^11.6.0",
"raml2html": "^7.0.0",
"rimraf": "^2.6.2",
"sinon": "^1.17.3",
"supertest": "^3.0.0",
"supertest-as-promised": "^4.0.2"
},
"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
}
}