-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
59 lines (59 loc) · 2.39 KB
/
package.json
File metadata and controls
59 lines (59 loc) · 2.39 KB
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
{
"name": "cloudflare-country-codes-api",
"version": "1.0.0",
"description": "A simple API to return a list of information about a users country.",
"main": "dist/index.mjs",
"engines": {
"node": ">=12.0.0"
},
"author": "Ben Louis Armstrong <ben.armstrong22@gmail.com>",
"license": "MIT",
"scripts": {
"build": "node ./build.js",
"dev": "miniflare --live-reload --debug --env .env --modules dist/index.mjs",
"tests": "npm run build && cross-env NODE_OPTIONS=--experimental-vm-modules jest -i --colors --verbose --detectOpenHandles",
"tests:coverage": "npm run build && cross-env NODE_OPTIONS=--experimental-vm-modules jest -i --colors --verbose --detectOpenHandles --coverage",
"tests:summary": "npm run build && cross-env NODE_OPTIONS=--experimental-vm-modules jest -i --colors --verbose --detectOpenHandles --coverage --coverageReporters=\"text-summary\"",
"tests:unit": "npm run build && cross-env NODE_OPTIONS=--experimental-vm-modules jest -i --colors --verbose --detectOpenHandles ./tests/unit",
"tests:integration": "npm run build && cross-env NODE_OPTIONS=--experimental-vm-modules jest -i --colors --verbose --detectOpenHandles ./tests/integration",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prettier": "prettier --check **/*.ts",
"prettier:fix": "prettier --write **/**/*.ts",
"prepare": "husky install",
"deploy:dev": "wrangler publish",
"deploy:prod": "wrangler publish --env production"
},
"type": "module",
"devDependencies": {
"@cloudflare/workers-types": "^4.20230724.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.2.0",
"@typescript-eslint/parser": "^6.2.0",
"cross-env": "^7.0.3",
"dotenv": "^16.3.1",
"esbuild": "^0.18.17",
"esbuild-jest": "^0.5.0",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"husky": "^8.0.3",
"jest": "^29.6.1",
"jest-environment-miniflare": "^2.14.0",
"miniflare": "^3.20230724.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.1.6",
"wrangler": "^3.3.0"
},
"dependencies": {
"country-data-list": "^1.3.0",
"hono": "^3.3.3",
"http-status": "^1.6.2",
"zod": "^3.21.4",
"zod-error": "^1.5.0"
}
}