ci: added package.json + release

This commit is contained in:
Giles Bradshaw 2020-08-11 10:02:21 +01:00
parent f11ffceba4
commit ca96b8f741
4 changed files with 28 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

3
.versionrc Normal file
View File

@ -0,0 +1,3 @@
{
"tagMessageInChangeLog": true
}

4
deploy.sh Normal file
View File

@ -0,0 +1,4 @@
docker stack rm commento
echo 'sleeping...zzz'
sleep 60
docker stack deploy -c docker-compose.yml commento

20
package.json Normal file
View File

@ -0,0 +1,20 @@
{
"private": true,
"name": "commento",
"version": "0.0.1",
"description": "commento",
"scripts": {
"deploy": "sh deploy.sh",
"release": "standard-version",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://sigyl.com/git/stack/commento"
},
"author": "Giles Bradshaw",
"license": "ISC",
"devDependencies": {
"standard-version": "git+https://github.com/gilesbradshaw/standard-version.git"
}
}