-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
66 lines (66 loc) · 1.94 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
{
"name": "travel-alerts-subscriptions-api",
"version": "0.1.0",
"engines": {
"node": ">=14"
},
"description": "Subscriptions API for FCDO Emergency Travel Alerts",
"scripts": {
"build": "babel src --out-dir dist --extensions \".ts,.tsx\"",
"start:prod": "node dist/index.js",
"start:dev": "node -r ts-node/register/transpile-only --inspect src/index.ts --debug src/index.ts",
"test": "jest --detectOpenHandles",
"test:coverage": "jest --coverage",
"type-check": "tsc --noEmit",
"lint": "eslint ./src --fix && prettier --write ./src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/UKForeignOffice/travel-alerts-subscriptions-api.git"
},
"author": "FCDO",
"license": "MIT",
"bugs": {
"url": "https://github.com/UKForeignOffice/travel-alerts-subscriptions-api/issues"
},
"homepage": "https://github.com/UKForeignOffice/travel-alerts-subscriptions-api#readme",
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.2.0",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"dependencies": {
"dotenv": "^8.2.0",
"express": "^4.17.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm test && npm run type-check"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint",
"git add"
]
}
}