-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.34 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
{
"private": true,
"name": "ezmaster-prometheus",
"version": "1.1.2",
"description": "Prometheus",
"repository": {
"type": "git",
"url": "git+https://github.com/Inist-CNRS/ezmaster-apps.git"
},
"keywords": [
"ezmaster"
],
"author": "Nicolas Thouvenin <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Inist-CNRS/ezmaster-apps/issues"
},
"homepage": "https://github.com/Inist-CNRS/ezmaster-apps/tree/main/applications/prometheus#readme",
"scripts": {
"version:insert": "sed -i \"s#\\(${npm_package_name}.\\)\\([\\.a-z0-9]\\+\\)#\\1${npm_package_version}#g\" README.md && git add README.md",
"version:commit": "git commit -a -m \"release ${npm_package_name}@${npm_package_version}\"",
"version:tag": "git tag \"${npm_package_name}@${npm_package_version}\" -m \"${npm_package_name}@${npm_package_version}\"",
"version:push": "git push && git push --tags",
"version": "npm run version:insert && npm run version:commit && npm run version:tag",
"postversion": "npm run version:push && npm run build && npm run publish",
"build": "docker build -t inistcnrs/${npm_package_name}:${npm_package_version} .",
"prestart": "npm run build",
"start": "docker run --rm -p 9090:9090 inistcnrs/${npm_package_name}:${npm_package_version}",
"publish": "docker push inistcnrs/${npm_package_name}:${npm_package_version}"
}
}