-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 3.24 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "docker-optimization",
"version": "1.0.0",
"description": "Example project showing how to optimize your Dockerfile to reduce your final docker image size",
"main": "build/index.js",
"private": true,
"scripts": {
"build:docker:v1": "/usr/bin/time --format='----- Build duration: %e seconds -----' docker build --no-cache --force-rm --tag docker-optimization-v1 --file ./dockerfiles/v1/Dockerfile .",
"build:docker:v2": "/usr/bin/time --format='----- Build duration: %e seconds -----' docker build --no-cache --force-rm --tag docker-optimization-v2 --file ./dockerfiles/v2/Dockerfile .",
"build:docker:v3": "/usr/bin/time --format='----- Build duration: %e seconds -----' docker build --no-cache --force-rm --tag docker-optimization-v3 --file ./dockerfiles/v3/Dockerfile .",
"build:docker:v4": "/usr/bin/time --format='----- Build duration: %e seconds -----' docker build --no-cache --force-rm --tag docker-optimization-v4 --file ./dockerfiles/v4/Dockerfile .",
"build:docker:v5": "/usr/bin/time --format='----- Build duration: %e seconds -----' docker build --no-cache --force-rm --tag docker-optimization-v5 --file ./dockerfiles/v5/Dockerfile .",
"build:docker:all": "npm run build:docker:v1 && npm run build:docker:v2 && npm run build:docker:v3 && npm run build:docker:v4 && npm run build:docker:v5",
"docker:v1": "docker run -i -t -p=8080:8080 --rm --name docker-optimization-v1 docker-optimization-v1",
"docker:v2": "docker run -i -t -p=8080:8080 --rm --name docker-optimization-v2 docker-optimization-v2",
"docker:v3": "docker run -i -t -p=8080:8080 --rm --name docker-optimization-v3 docker-optimization-v3",
"docker:v4": "docker run -i -t -p=8080:8080 --rm --name docker-optimization-v4 docker-optimization-v4",
"docker:v5": "docker run -i -t -p=8080:8080 --rm --name docker-optimization-v5 docker-optimization-v5",
"build": "rm -rf build && tsc --project tsconfig.json",
"dev": "NODE_ENV=development nodemon --watch src -e ts --exec 'ts-node --project tsconfig.json src/index.ts'",
"start": "node ./build/index.js",
"lint": "tslint -t verbose --project tsconfig-dev.json -c tslint.json ./src/{,**/}*.ts ./tests/{,**/}*.ts",
"test": "mocha --require ts-node/register --project tsconfig-dev.json --bail --recursive ./tests/unit/{,**/}*.ts",
"cover": "nyc --report-dir tests/coverage/unit npm t",
"coveralls": "cat tests/coverage/unit/lcov.info | ./node_modules/.bin/coveralls"
},
"author": {
"name": "Rémy Jeancolas",
"email": "remy.jeancolas@illogeek.eu"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/RemyJeancolas/dockerfile-optimization"
},
"bugs": {
"url": "https://github.com/RemyJeancolas/dockerfile-optimization/issues"
},
"dependencies": {
"newrelic": "^4.1.0",
"restify": "^7.1.1"
},
"devDependencies": {
"@types/chai": "^4.1.3",
"@types/mocha": "^5.2.0",
"@types/node": "^9.6.6",
"@types/restify": "^5.0.7",
"@types/sinon": "^4.3.1",
"chai": "^4.1.2",
"coveralls": "^3.0.1",
"mocha": "^5.1.1",
"nodemon": "^1.17.3",
"nyc": "^11.7.1",
"sinon": "^4.5.0",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"tslint-microsoft-contrib": "^5.0.3",
"typescript": "^2.8.3"
}
}