-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
119 lines (119 loc) · 3.18 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
{
"name": "umetrics",
"version": "1.0.0",
"description": "Convenient wrapper for prom-client to expose product's metrics to prometheus",
"main": "dist/index.js",
"scripts": {
"format": "prettier --write \"./**/*.{js,yml,json,md}\" --ignore-path .gitignore ",
"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",
"lint": "eslint --ignore-path .gitignore \"**/*.js\"",
"lint:fix": "npm run lint -- --fix",
"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": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.2",
"chai": "^4.2.0",
"coveralls": "^3.0.1",
"eslint": "^6.0.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-config-prettier": "^6.4.0",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.0",
"lint-staged": "^9.1.0",
"mocha": "^6.1.4",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"semantic-release": "^15.13.25"
},
"dependencies": {
"prom-client": "12.0.0"
},
"lint-staged": {
"*.js": [
"eslint --fix --ignore-path .gitignore",
"prettier --write",
"git add"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
},
"loose": true
}
]
],
"plugins": [
[
"@babel/plugin-proposal-object-rest-spread",
{
"useBuiltIns": true
}
]
]
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "docs",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "style",
"release": "patch"
}
]
}
},
"pkgRoot": "dist",
"files": [
"dist/**/*.*",
"!dist/**/*.test.*"
]
}