-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.85 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
{
"name": "anycast_detector",
"version": "1.0.0",
"description": "Detect if the provided ip type is anycast",
"main": "dist/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 0",
"format": "prettier -w 'src/**/*.ts'",
"lint": "eslint --fix 'src/**/*.ts'",
"dev": "NODE_ENV=DEVELOPMENT nodemon src/index.ts",
"build": "tsc",
"start": "NODE_ENV=PRODUCTION node dist/index.js",
"pre-deploy": "npm run build && mv node_modules node_modules_bak && npm install --omit=dev",
"deploy": "npm run pre-deploy && serverless deploy --region eu-central-1 && serverless deploy --region us-west-1 && npm run post-deploy",
"post-deploy": "rm -r node_modules && mv node_modules_bak node_modules",
"deploy:eu": "npm run pre-deploy && serverless deploy --region eu-central-1 && npm run post-deploy",
"deploy:us": "npm run pre-deploy && serverless deploy --region us-west-1 && npm run post-deploy"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AA-Hamza/anycast_detector.git"
},
"keywords": [
"anycast",
"ip",
"detector"
],
"author": "Ahmed Anwar",
"license": "ISC",
"bugs": {
"url": "https://github.com/AA-Hamza/anycast_detector/issues"
},
"homepage": "https://github.com/AA-Hamza/anycast_detector#readme",
"dependencies": {
"@codegenie/serverless-express": "^4.14.0",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"morgan": "^1.10.0",
"node-cache": "^5.1.2"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"nodemon": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}