-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
133 lines (133 loc) · 3.9 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"displayName": "stac-server",
"description": "A STAC API running on stac-server",
"version": "3.7.0",
"repository": "https://github.com/stac-utils/stac-server",
"author": "Alireza Jazayeri, Matthew Hanson, Sean Harkins, Phil Varner",
"license": "MIT",
"type": "module",
"moduleDirectories": [
"node_modules",
"src"
],
"scripts": {
"build": "./bin/build.sh",
"lint": "eslint . --ext .js,.ts",
"lint-js-fix": "eslint . --ext .js,.ts --fix",
"check-openapi": "spectral lint src/lambdas/api/openapi.yaml --ruleset .spectral.yml",
"test": "npm run test:unit",
"test:coverage": "c8 npm run test:unit",
"test:integration": "ava tests/integration/*.[tj]s",
"test:system": "./bin/system-tests.sh",
"test:unit": "ava tests/unit/*.[tj]s",
"typecheck": "tsc",
"audit-prod": "npx better-npm-audit audit --production",
"deploy": "sls deploy",
"sls-remove": "sls remove",
"package": "sls package",
"serve": "REQUEST_LOGGING_FORMAT=dev LOG_LEVEL=debug STAC_API_URL=http://localhost:3000 ENABLE_TRANSACTIONS_EXTENSION=true nodemon --esm ./src/lambdas/api/local.ts",
"build-api-docs": "npx @redocly/cli build-docs src/lambdas/api/openapi.yaml -o ./docs/index.html",
"pre-commit": "./node_modules/pre-commit/hook"
},
"pre-commit": {
"silent": false,
"run": [
"lint",
"typecheck",
"check-openapi",
"audit-prod",
"test",
"test:system",
"build"
]
},
"ava": {
"verbose": true,
"require": [
"ts-node/register"
],
"timeout": "1m",
"typescript": {
"rewritePaths": {
"test/": "dist/test/"
},
"compile": "tsc"
}
},
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/stac-utils/stac-server/issues"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.575.0",
"@aws-sdk/client-secrets-manager": "^3.575.0",
"@aws-sdk/client-sns": "^3.575.0",
"@aws-sdk/client-sqs": "^3.575.0",
"@aws-sdk/credential-provider-node": "^3.575.0",
"@aws-sdk/s3-request-presigner": "^3.575.0",
"@mapbox/extent": "^0.4.0",
"@opensearch-project/opensearch": "^2.8.0",
"@redocly/cli": "^1.12.2",
"cors": "^2.8.5",
"express": "^4.19.2",
"got": "^13.0",
"http-errors": "^2.0.0",
"lodash-es": "^4.17.21",
"memorystream": "^0.3.1",
"morgan": "^1.10.0",
"p-filter": "^4.1.0",
"serverless-http": "^3.2.0",
"through2": "^4.0.2",
"ts-loader": "^9.5.1",
"winston": "^3.13.0",
"xml2js": "0.6.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@stoplight/spectral-cli": "^6.11.1",
"@tsconfig/node18": "^18.2.4",
"@types/aws-lambda": "^8.10.137",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/http-errors": "^2.0.4",
"@types/luxon": "^3.4.2",
"@types/memorystream": "^0.3.4",
"@types/morgan": "^1.9.9",
"@types/node": "^18.11",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^7.9.0",
"@typescript-eslint/parser": "^7.9.0",
"ava": "^5.3",
"aws-event-mocks": "^0.0.0",
"aws-sdk-client-mock": "^4.0.0",
"better-npm-audit": "^3.7.3",
"c8": "^9.1.0",
"copy-webpack-plugin": "^12.0.2",
"crypto-random-string": "^5.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.4",
"luxon": "^3.4.4",
"nock": "^13.5.4",
"nodemon": "^3.1.0",
"pre-commit": "^1.2.2",
"prettier": "^3.2.5",
"prettier-eslint": "^16.3.0",
"prettier-eslint-cli": "^8.0.1",
"proxyquire": "^2.1.3",
"serverless": "^3.38.0",
"serverless-offline": "^13.5.0",
"sinon": "^17.0.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4",
"zip-webpack-plugin": "^4.0.1"
},
"name": "stac-server"
}