-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.09 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
{
"name": "view-counter",
"version": "1.0.0",
"description": "A simple README View Counter",
"main": "dist/index.js",
"scripts": {
"start": "node dist/index.js",
"prerun:dev": "nodemon dist/index.js",
"dev": "concurrently --kill-others \"npm:build:watch\" \"npm:prerun:dev\"",
"clean": "rimraf dist && mkdir dist && rm -rf declarations && rm -rf node_modules && npm i",
"build": "tsc",
"build:watch": "tsc --watch --preserveWatchOutput",
"lint": "eslint src/**/*.ts --quiet",
"lint:fix": "prettier . --write --loglevel silent && eslint src/**/*.ts --fix --quiet",
"test": "node dist/index.test.js",
"test:watch": "node dist/index.test.js --watch",
"deploy": "npm run clean && npm run lint:fix && npm run build && npm run test && npm start",
"deploy:dev": "npm run clean && npm run lint:fix && npm run build && npm run dev",
"deploy:container": "npm run clean && npm run lint:fix && npm run build && npm run test && docker build -t $npm_package_name:$npm_package_version . && export $(cat $(PWD)/.env | xargs) && docker run -d -p $PORT:$PORT $npm_package_name:$npm_package_version",
"deploy:container:clean": "docker rmi $npm_package_name -f && npm run deploy:container"
},
"type": "module",
"keywords": [
"counter",
"readme",
"views",
"badges",
"github",
"profile"
],
"author": "Toby Hagan",
"license": "MIT",
"dependencies": {
"@google-cloud/logging": "^9.8.0",
"@types/cors": "^2.8.12",
"@types/dotenv": "^8.2.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"ioredis": "^4.28.5"
},
"devDependencies": {
"@types/compression": "^1.7.2",
"@types/express": "^4.17.13",
"@types/ioredis": "^4.28.10",
"@types/node": "^17.0.21",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"concurrently": "^7.0.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"nodemon": "^2.0.15",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"supertest": "^6.2.2",
"ts-node": "^10.6.0",
"typescript": "^4.6.2"
}
}