forked from Goodluckhf/uMetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
147 lines (147 loc) · 3.56 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
{
"name": "umetrics",
"version": "1.0.0",
"description": "Convenient wrapper for prom-client to expose product's metrics to prometheus",
"main": "dist/index.js",
"scripts": {
"test": "mocha --exit --ui bdd --reporter spec --require babel-register ./src/**/*.server.test.js ./src/*.server.test.js",
"test:coverage:dev": "nyc --reporter=text --require babel-register mocha --exit --ui bdd --reporter spec --require babel-register ./src/**/*.server.test.js ./src/*.server.test.js",
"test:coverage": "nyc --reporter=lcov --require babel-register mocha --exit --ui bdd --reporter spec --require babel-register ./src/**/*.server.test.js ./src/*.server.test.js",
"report-coverage": "cat coverage/lcov.info | coveralls",
"eslint": "npx eslint --quiet .",
"prebuild": "rimraf ./dist",
"build": "babel src -d ./dist -s --ignore *.server.test.js",
"precommit": "lint-staged",
"semantic-release": "semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Goodluckhf/uMetrics.git"
},
"keywords": [
"prometheus",
"metrics",
"javascript",
"prom-client"
],
"author": "Goodluckhf <Goodluckhf@yandex.ru>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Goodluckhf/uMetrics/issues"
},
"engines": {
"node": ">=6.10.0"
},
"homepage": "https://github.com/Goodluckhf/uMetrics#readme",
"devDependencies": {
"chai": "^4.2.0",
"mocha": "^5.2.0",
"nyc": "^12.0.2",
"babel-cli": "^6.26.0",
"babel-eslint": "^8.2.3",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"coveralls": "^3.0.1",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-flowtype": "^2.49.3",
"eslint-plugin-import": "^2.12.0",
"husky": "^0.14.3",
"lint-staged": "^7.1.3",
"mocha-lcov-reporter": "^1.3.0",
"semantic-release": "^15.5.4"
},
"dependencies": {
"prom-client": "11.1.3"
},
"lint-staged": {
"*.js": "eslint"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"eslint-config-airbnb-base"
],
"parser": "babel-eslint",
"rules": {
"no-multi-spaces": 0,
"indent": [
"error",
"tab"
],
"no-tabs": 0,
"key-spacing": [
"error",
{
"align": {
"beforeColon": false,
"afterColon": true,
"on": "colon"
}
}
],
"no-unused-expressions": 0,
"no-param-reassign": 0,
"no-underscore-dangle": [
"error",
{
"allowAfterThis": true
}
],
"spaced-comment": 0,
"no-trailing-spaces": 0,
"arrow-body-style": [
1,
"as-needed"
],
"flowtype/space-before-type-colon": 0,
"flowtype/space-after-type-colon": 0
}
},
"babel": {
"presets": [
[
"env",
{
"targets": {
"node": "current"
},
"useBuiltIns": "usage",
"loose": true
}
]
],
"plugins": [
[
"transform-object-rest-spread",
{
"useBuiltIns": true
}
]
]
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
}
]
}
},
"pkgRoot": "dist",
"files": [
"dist/**/*.*",
"!dist/**/*.test.*"
]
}