-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
132 lines (132 loc) · 2.89 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "koa-es7-boilerplate",
"version": "0.0.0",
"description": "A boilerplate for writing Koa 2 apps with Babel.",
"author": "Jeff Hansen",
"license": "MIT",
"engines": {
"node": ">=8.0.0",
"npm": ">=3.8"
},
"scripts": {
"start": "node dist/bin/www.js",
"build": "rimraf dist && cross-env NODE_ENV=production babel src -d dist -s",
"dev": "nodemon src/bin/www.js",
"test": "cross-env NODE_ENV=test jest",
"cover": "npm run test -- --coverage",
"lint": "eslint --fix src && prettier --write \"src/**/*.js\"",
"precommit": "lint-staged"
},
"dependencies": {
"@koa/cors": "^2.2.2",
"awilix": "^4.0.1",
"awilix-koa": "^3.0.0",
"axios": "^0.18.0",
"bristol": "^0.4.0",
"fejl": "^1.0.2",
"koa": "^2.6.2",
"koa-bodyparser": "^4.2.1",
"koa-compress": "^3.0.0",
"koa-respond": "^2.1.0",
"koa-router": "^7.4.0",
"lodash": "^4.17.11",
"palin": "^2.2.0",
"yenv": "^2.1.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1",
"babel-plugin-source-map-support": "^2.0.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"cross-env": "^5.2.0",
"eslint": "^5.10.0",
"eslint-config-prettier": "^3.3.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^1.2.1",
"jest": "^23.6.0",
"lint-staged": "^8.1.0",
"nodemon": "^1.18.9",
"prettier": "^1.15.3",
"rimraf": "^2.6.2",
"smid": "^0.1.1"
},
"eslintConfig": {
"parser": "babel-eslint",
"plugins": [
"jest"
],
"extends": [
"standard",
"prettier",
"plugin:jest/recommended"
],
"env": {
"jest/globals": true
}
},
"prettier": {
"singleQuote": true,
"semi": false
},
"lint-staged": {
"*.js": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"nodemonConfig": {
"execMap": {
"js": "babel-node"
}
},
"jest": {
"testMatch": [
"**/__tests__/**/*.test.js"
],
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"__tests__",
"src/lib/env",
"src/bin"
]
},
"babel": {
"sourceMaps": "both",
"plugins": [
"transform-runtime",
"transform-object-rest-spread"
],
"presets": [
[
"env",
{
"targets": {
"node": "current"
}
}
]
],
"env": {
"production": {
"plugins": [
"source-map-support"
],
"ignore": [
"**/__tests__/**"
]
}
}
}
}