-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 loc) · 3.27 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
61
62
63
64
65
66
67
{
"name": "14_github_of_life",
"version": "1.0.0",
"description": "Demonstrate a full screen game of life using github like tiles.",
"scripts": {
"audit": "better-npm-audit audit",
"clean": "rimraf dist",
"build": "NODE_ENV=development parcel build ./src/index.html --no-optimize --public-url ./",
"rebuild": "npm run clean;npm run build",
"clean:build": "npm run rebuild",
"test": "jest",
"test:coverage": "jest --coverage",
"docs": "typedoc --options ./.typedoc.json",
"start": "run-p -l type-check:watch start:dev",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
"start:dev": "npm run clean;parcel ./src/index.html",
"start:browser": "open http://localhost:1234",
"docker:build": "docker build --target PRODUCTION -f Dockerfile --label \"org.opencontainers.image.created=$(date '+%Y-%m-%dT%H:%M:%SZ')\" --label \"org.opencontainers.image.version=${githubsha}\" --label \"org.opencontainers.image.url=$(git remote get-url origin)\" -t registry.heroku.com/github-of-life/web .",
"docker:rebuild": "docker build --no-cache --target PRODUCTION -f Dockerfile --label \"org.opencontainers.image.created=$(date '+%Y-%m-%dT%H:%M:%SZ')\" --label \"org.opencontainers.image.version=${githubsha}\" --label \"org.opencontainers.image.url=$(git remote get-url origin)\" -t registry.heroku.com/github-of-life/web .",
"docker:test": "npm run docker:build && container-structure-test test --image registry.heroku.com/github-of-life/web --config ./container-structure-tests.yaml",
"docker:run": "npm run docker:build && docker run --rm -it -d -p 8080:80 --name githuboflife registry.heroku.com/github-of-life/web",
"docker:scan": "docker scan registry.heroku.com/github-of-life/web",
"docker:stop": "docker stop githuboflife",
"docker:slim": "docker-slim build registry.heroku.com/github-of-life/web",
"docker:browse": "open http://localhost:8080",
"docker:lint": "hadolint ./Dockerfile; dockle registry.heroku.com/github-of-life/web",
"docker:size": "dive registry.heroku.com/github-of-life/web --ci",
"deploy": "npm run docker:build && docker push registry.heroku.com/github-of-life/web && heroku container:release web -a github-of-life",
"browse:live": "open https://github-of-life.herokuapp.com/"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/d3": "^7.0.0",
"@types/jest": "^27.4.1",
"@types/node": "^16.11.26",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"better-npm-audit": "^3.7.3",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-security": "^1.4.0",
"jest": "^27.5.1",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"parcel": "^2.4.1",
"parcel-reporter-static-files-copy": "^1.3.4",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typedoc": "^0.22.9",
"typedoc-plugin-markdown": "^3.11.14",
"typescript": "^4.6.3"
},
"dependencies": {
"@types/js-cookie": "^3.0.0",
"@types/web": "0.0.45",
"jest-junit": "^13.0.0",
"js-cookie": "^3.0.1"
}
}