-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
26 lines (26 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
{
"name": "refgpec",
"version": "2.8.0",
"description": "Application de gestion d'un référentiel de profils/compétences pour une démarche GPEC",
"contributors": [
{
"name": "Stéphane Gully",
"url": "https://github.com/kerphi"
},
{
"name": "Jimmy Falck",
"url": "https://github.com/jimmojito"
}
],
"license": "MIT",
"private": true,
"scripts": {
"insertversion:docker-compose": "sed -i \"s#\\(image: inistcnrs/refgpec-[a-z]\\+:\\)\\([\\.a-z0-9]\\+\\)#\\1${npm_package_version}#g\" docker-compose.*yml",
"insertversion:makefile": "sed -i \"s#\\(inistcnrs/refgpec:\\)\\([\\.a-z0-9]\\+\\)#\\1${npm_package_version}#g\" Makefile",
"insertversion:footer": "sed -i \"s#\\(version \\)\\([\\.a-z0-9]\\+\\)#\\1${npm_package_version}#g\" refgpec-front/src/components/refgpec-home.jsx",
"insertversion:package": "sed -i \"s#\\(\\\"version\\\": \\)\\(\\\"[\\.a-z0-9]\\+\\\"\\)#\\1\\\"${npm_package_version}\\\"#g\" refgpec-front/package.json",
"version": "npm run insertversion:docker-compose && npm run insertversion:makefile && npm run insertversion:footer && npm run insertversion:package && git add docker-compose*.yml Makefile refgpec-front/src/components/refgpec-home.jsx refgpec-front/package.json",
"postversion": "git push && git push --tags",
"precommit": "cd refgpec-front/ && npm run precommit"
}
}