-
Notifications
You must be signed in to change notification settings - Fork 73
/
package.json
137 lines (137 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
134
135
136
137
{
"name": "cognito-local",
"version": "0.0.0-development",
"license": "MIT",
"bin": "lib/bin/start.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"build": "rm -rf lib && tsc --emitDeclarationOnly --project tsconfig.build.json && esbuild $(find src -name '*.ts' ! -name '*.test.ts' ! -path '*/__tests__/*') --outdir=lib --platform=node --target=node14 --format=cjs && cp -r src/keys lib/keys",
"format": "prettier --write src/**/*.ts integration-tests/**/*.ts",
"integration-test": "jest --config integration-tests/jest.config.js",
"integration-test:watch": "jest --config integration-tests/jest.config.js --watch",
"lint": "eslint --cache src/**/*.ts && tsc --noEmit",
"start": "COGNITO_LOCAL_DEVMODE=1 ts-node src/bin/start.ts",
"start:debug": "COGNITO_LOCAL_DEVMODE=1 DEBUG=1 node -r ts-node/register --inspect=9230 --enable-source-maps src/bin/start.ts",
"start:watch": "nodemon",
"test": "jest",
"test:watch": "jest --watch",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"devDependencies": {
"@babel/preset-typescript": "^7.16.0",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@jest/globals": "^27.4.3",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.0",
"@types/aws-lambda": "^8.10.85",
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.6",
"@types/express": "^4.17.13",
"@types/jest": "^25.2.1",
"@types/jsonwebtoken": "^8.5.6",
"@types/lodash.mergewith": "^4.6.6",
"@types/node": "^16.11.11",
"@types/supertest": "^2.0.11",
"@types/uuid": "^8.3.3",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"esbuild": "^0.14.2",
"esbuild-jest": "^0.5.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.15.0",
"husky": "^7.0.4",
"jest": "^27.4.3",
"jest-extended": "^3.0.1",
"jest-date-mock": "^1.0.8",
"lint-staged": "^10.1.3",
"markdown-toc": "^1.2.0",
"nodemon": "^2.0.3",
"prettier": "^2.5.1",
"semantic-release": "^19.0.3",
"supertest": "^6.1.6",
"ts-node": "^10.4.0",
"typescript": "^4.5.2"
},
"dependencies": {
"@aws-crypto/client-node": "^3.1.1",
"aws-sdk": "^2.1145.0",
"body-parser": "^1.19.0",
"boxen": "^5.1.2",
"cors": "^2.8.5",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"lodash.mergewith": "^4.6.2",
"pino": "^7.11.0",
"pino-http": "^6.3.3",
"pino-pretty": "^7.6.1",
"short-uuid": "^4.2.0",
"stormdb": "^0.5.2",
"uuid": "^8.3.2"
},
"nodemonConfig": {
"ignore": [
"**/*.test.ts",
".git",
"node_modules"
],
"watch": [
"src"
],
"ext": "ts",
"exec": "yarn start"
},
"lint-staged": {
"*.ts": [
"eslint --fix --cache",
"tsc --target es2019 --moduleResolution node --esModuleInterop --resolveJsonModule --noEmit ./setupTests.ts",
"prettier --write"
],
"README.md": "markdown-toc -i --bullets=- --maxdepth=3"
},
"engines": {
"node": ">=12"
},
"repository": {
"type": "git",
"url": "https://github.com/jagregory/cognito-local.git"
},
"release": {
"branches": [
"master"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"publishCmd": "./scripts/dockerBuildPush.sh ${nextRelease.version}"
}
],
[
"@semantic-release/github",
{
"addReleases": "top"
}
],
[
"@semantic-release/git",
{
"assets": [
"CHANGELOG.md"
]
}
]
]
}
}