-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
22 lines (22 loc) · 1.15 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
{
"name": "front-end-build",
"version": "4.0.0",
"description": "[![logo](./logo.jpg)](https://frontliners.nl)",
"main": "index.js",
"scripts": {
"build": "docker build -t frontliners/front-end-build .",
"tag": "docker tag frontliners/front-end-build",
"push": "docker push frontliners/front-end-build",
"publish": "DOCKER_PROD_TAG=$(cat package.json | grep version | head -1 | awk -F: '{ print $2}' | sed 's/[\",]//g' | tr -d '[[:space:]]') && docker build -t frontliners/front-end-build . && docker tag frontliners/front-end-build frontliners/front-end-build:latest && docker tag frontliners/front-end-build frontliners/front-end-build:$DOCKER_PROD_TAG && docker push frontliners/front-end-build:latest && docker push frontliners/front-end-build:$DOCKER_PROD_TAG "
},
"repository": {
"type": "git",
"url": "git+https://github.com/frontlinersnl/front-end-build.git"
},
"author": "Rick van Lieshout <[email protected]> (http://rickvanlieshout.com)",
"license": "ISC",
"bugs": {
"url": "https://github.com/frontlinersnl/front-end-build/issues"
},
"homepage": "https://github.com/frontlinersnl/front-end-build#readme"
}