This repository has been archived by the owner on Apr 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
64 lines (64 loc) · 2.13 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
{
"name": "housing-needs-evidence-store",
"version": "1.0.0",
"description": "🎒 Stores and retrieves documents and evidence",
"main": "index.js",
"dependencies": {
"@acuris/aws-es-connection": "^1.1.0",
"@elastic/elasticsearch": "^7.8.0",
"aws-lambda-fastify": "^1.4.3",
"dotenv": "^8.2.0",
"fastify": "^3.1.1",
"fastify-cors": "^4.1.0",
"nanoid": "^3.1.10",
"node-lambda-authorizer": "https://github.com/LBHackney-IT/node-lambda-authorizer.git#0fe9e75",
"serverless-domain-manager": "^4.1.1"
},
"devDependencies": {
"@nuel/uniformly": "^3.0.4",
"@types/aws-lambda": "^8.10.58",
"@types/jest": "^26.0.7",
"@types/nanoid": "^2.1.0",
"@types/node": "^14.0.13",
"@types/node-fetch": "^2.5.7",
"@typescript-eslint/eslint-plugin": "^3.3.0",
"@typescript-eslint/parser": "^3.3.0",
"aws-sdk": "^2.725.0",
"dotenv": "^8.2.0",
"eslint": "^7.2.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"lint-staged": "^10.2.10",
"node-fetch": "^2.6.0",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"serverless": "^1.73.0",
"ts-jest": "^26.1.4"
},
"scripts": {
"build": "rm -rf lib/ && uniformly build",
"predev": "npm run build",
"dev": "nodemon -e js,ts",
"test": "uniformly test -- --testPathPattern=src --collectCoverageFrom=src/**/*",
"test:watch": "uniformly test -- --testPathPattern=src --watch --coverage=false",
"test:integration": "uniformly test -- --testPathPattern=integration --coverage=false",
"posttest:integration": "aws s3 rm s3://hn-evidence-store-test-documents --recursive",
"prelint": "eslint src/",
"lint": "prettier src/ README.md --write",
"predeploy": "npm run build && sls create_domain --aws-profile hnserverless -s staging && npm prune --production",
"deploy": "sls deploy --aws-profile hnserverless -s staging"
},
"repository": {
"type": "git",
"url": "git+https://github.com/LBHackney-IT/housing-needs-evidence-store.git"
},
"license": "UNLICENSED",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md}": "npm run lint"
}
}