forked from jagregory/cognito-local
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.2 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
{
"name": "cognito-local",
"version": "1.2.0",
"license": "MIT",
"type": "module",
"bin": "lib/bin/start.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "rm -rf lib && esbuild src/bin/start.ts --outdir=lib --platform=node --target=node20 --bundle --minify --legal-comments=linked",
"build:lib": "rm -rf lib && tsc --emitDeclarationOnly --project tsconfig.build.json && esbuild $(find src -name '*.ts' ! -name '*.test.ts' ! -path '*/__tests__/*') --outdir=lib --platform=node --target=node20 && cp -r src/keys lib/keys",
"format": "prettier --write src/**/*.ts integration-tests/**/*.ts",
"integration-test": "jest --config integration-tests/jest.config.cjs",
"integration-test:watch": "jest --config integration-tests/jest.config.cjs --watch",
"lint": "eslint --cache --fix src/**/*.ts integration-tests/**/*.ts && tsc --noEmit",
"start": "COGNITO_LOCAL_DEVMODE=1 tsx src/bin/start.ts",
"start:watch": "nodemon",
"test": "jest",
"test:watch": "jest --watch",
"prepare": "husky"
},
"devDependencies": {
"@eslint/js": "^9.11.1",
"@jest/globals": "^29.7.0",
"@swc/core": "^1.7.26",
"@swc/jest": "^0.2.36",
"@types/aws-lambda": "^8.10.145",
"@types/body-parser": "^1.19.5",
"@types/cors": "^2.8.17",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.13",
"@types/jsonwebtoken": "^9.0.7",
"@types/lodash.mergewith": "^4.6.9",
"@types/node": "^22.7.4",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.8.0",
"@typescript-eslint/parser": "^8.8.0",
"esbuild": "^0.24.0",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-date-mock": "^1.0.10",
"lint-staged": "^15.2.10",
"markdown-toc": "^1.2.0",
"nodemon": "^3.1.7",
"pino-test": "^1.0.1",
"prettier": "^3.3.3",
"supertest": "^7.0.0",
"tsx": "^4.19.1",
"typescript": "^5.5.4"
},
"dependencies": {
"@aws-crypto/client-node": "^4.0.1",
"@aws-sdk/client-cognito-identity": "^3.662.0",
"@aws-sdk/client-cognito-identity-provider": "^3.662.0",
"@aws-sdk/client-kms": "^3.662.0",
"@aws-sdk/client-lambda": "^3.662.0",
"body-parser": "^1.20.3",
"cors": "^2.8.5",
"express": "^4.21.0",
"jsonwebtoken": "^9.0.2",
"lodash.mergewith": "^4.6.2",
"pino": "^9.4.0",
"pino-http": "^10.3.0",
"pino-pretty": "^11.2.2",
"short-uuid": "^5.2.0",
"stormdb": "^0.6.0",
"uuid": "^10.0.0"
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
".git",
"node_modules"
],
"watch": [
"src"
],
"ext": "ts",
"exec": "yarn start"
},
"lint-staged": {
"*.ts": [
"eslint --fix --cache",
"tsc --noEmit --target es2020 --module NodeNext --moduleResolution NodeNext --esModuleInterop --resolveJsonModule",
"prettier --write"
],
"README.md": "markdown-toc -i --bullets=- --maxdepth=3"
},
"engines": {
"node": ">=20"
},
"repository": {
"type": "git",
"url": "https://github.com/lankalana/cognito-local.git"
}
}