-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.36 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": "lodex-workers",
"version": "9.3.1",
"description": "ezs dedicated server for Lodex",
"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/lodex-workers#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 31976:31976 inistcnrs/${npm_package_name}:${npm_package_version}",
"publish": "docker push inistcnrs/${npm_package_name}:${npm_package_version}"
}
}