This repository has been archived by the owner on Feb 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 4.51 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "@meltwater/makenew-koa-service",
"version": "9.0.0",
"description": "Koa skeleton for Meltwater Node.js microservices.",
"main": "dist/index.js",
"module": "index.js",
"sideEffects": false,
"keywords": [
"meltwater",
"koa",
"node"
],
"homepage": "https://github.com/meltwater/makenew-koa-service",
"bugs": "https://github.com/meltwater/makenew-koa-service/issues",
"repository": "meltwater/makenew-koa-service",
"license": "SEE LICENSE IN LICENSE.txt",
"author": {
"name": "Evan Sosenko",
"email": "evan.sosenko@meltwater.com"
},
"files": [
"yarn.lock",
"index.js",
"server.js",
"server",
"config/!(env|local)*",
"lib",
"data",
"dist",
"docs"
],
"scripts": {
"test": "nyc ava",
"pretest": "npm-run-all lint",
"test:update": "ava --update-snapshots",
"test:watch": "ava --watch",
"test:inspect": "node --inspect node_modules/ava/profile",
"test:inspect:watch": "nodemon --inspect node_modules/ava/profile",
"test:smoke": "SMOKE_TEST=true ava",
"test:smoke:update": "SMOKE_TEST=true ava --update-snapshots",
"test:smoke:watch": "SMOKE_TEST=true ava --watch",
"lint": "gulp lint",
"clean": "del dist",
"build": "npm-run-all --parallel build:*",
"prebuild": "npm-run-all clean",
"build:index": "babel --source-maps --out-dir dist index.js",
"build:lib": "babel --source-maps --ignore='**/*.spec.js' --out-dir dist/lib lib",
"build:server": "babel --source-maps --ignore='**/*.spec.js' --out-dir dist/server server",
"dist": "npm-run-all build",
"predist": "npm-run-all test",
"preversion": "npm-run-all dist",
"postversion": "git push && git push --tags",
"server": "babel-node server/index",
"server:watch": "nodemon --exec babel-node server/index",
"server:inspect": "babel-node --inspect server/index",
"server:inspect:watch": "nodemon --exec babel-node --inspect server/index",
"server:test": "NODE_ENV=test babel-node server/index",
"server:test:watch": "NODE_ENV=test nodemon --exec babel-node server/index",
"server:test:inspect": "NODE_ENV=test babel-node --inspect server/index",
"server:test:inspect:watch": "NODE_ENV=test nodemon --exec babel-node --inspect server/index",
"example": "babel-node examples",
"example:watch": "nodemon --exec babel-node examples",
"example:inspect": "babel-node --inspect examples",
"example:inspect:watch": "nodemon --exec babel-node --inspect examples",
"profile": "0x --output-dir tmp/0x.{timestamp} --output-html {outputDir}/index.html server.js",
"watch": "gulp watch",
"pretty": "prettier --ignore-path .gitignore --write '**/*.(js|json|graphql)'",
"format": "npm-run-all --serial pretty format:*",
"format:js": "standard --fix",
"report": "nyc report"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
}
}
]
]
},
"nyc": {
"exclude": [
"**/index.js",
"server.js",
"server/boot.js",
"server/filters.js",
"lib/app.js",
"lib/dependencies.js",
"lib/lifecycle/**/*.js",
"config/**/*.js",
"dist/**/*.js",
"package/**/*.js",
"examples/**/*.js",
"**/*.test.js",
"**/*.spec.js"
],
"reporter": [
"html",
"lcov",
"text"
]
},
"nodemonConfig": {
"ignore": [
"**/*.spec.js",
"test/",
"tmp/"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"jsxSingleQuote": true,
"trailingComma": "none",
"endOfLine": "lf"
},
"engines": {
"node": ">=14.15.0"
},
"resolutions": {
"eslint": "^7.12.1",
"standard": "^16.0.2"
},
"dependencies": {
"@meltwater/mlabs-health": "^1.3.0",
"@meltwater/mlabs-koa": "^9.0.0",
"awilix": "^4.0.0",
"koa": "^2.5.0",
"prom-client": "^12.0.0",
"source-map-support": "^0.5.9"
},
"devDependencies": {
"0x": "^4.7.2",
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.1",
"@babel/node": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"@meltwater/examplr": "^5.0.0",
"ava": "^3.3.0",
"del-cli": "^3.0.0",
"eslint": "^7.12.1",
"gulp": "^4.0.0",
"gulp-cli": "^2.0.0",
"gulp-jsonlint": "^1.1.2",
"gulp-standard": "^14.0.0",
"gulp-watch": "^5.0.0",
"gulplog": "^1.0.0",
"nodemon": "^2.0.1",
"npm-run-all": "^4.1.2",
"nyc": "^15.0.0",
"prettier": "^2.0.1",
"standard": "^16.0.2"
}
}