-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 3.01 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
{
"name": "instrument-catalog-backend",
"description": "The backend for a simple wiki-ish app for sharing musical instrument descriptions",
"author": "Noah Brenner",
"version": "0.1.0",
"license": "MIT",
"private": true,
"scripts": {
"test": "docker-compose run backend npx -- jest --verbose",
"lint:lint": "eslint --ignore-path .gitignore .",
"lint:types": "tsc --noEmit",
"lint:format": "prettier --check --ignore-path .gitignore .",
"lint": "npm run lint:lint && npm run lint:types && npm run lint:format",
"format": "prettier --write --ignore-path .gitignore .",
"migrate": "docker-compose run backend node -r ts-node/register/transpile-only ./migrate.ts",
"migrate:prod": "docker-compose run -e POSTGRES_CONNECTION_STRING=\"$POSTGRES_CONNECTION_STRING\" backend node -r ts-node/register/transpile-only ./migrate.ts",
"seed": "docker-compose run backend node -r ts-node/register/transpile-only ./seed.ts",
"seed:prod": "docker-compose run -e POSTGRES_CONNECTION_STRING=\"$POSTGRES_CONNECTION_STRING\" -e NODE_ENV=production backend node -r ts-node/register/transpile-only ./seed.ts",
"build": "node build.js",
"start": "node -r module-alias/register ./dist --env=production",
"start:dev": "nodemon"
},
"main": "dist/index.js",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"homepage": "https://github.com/noahbrenner/instrument-catalog-backend#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/noahbrenner/instrument-catalog-backend.git"
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts, html",
"exec": "ts-node -r tsconfig-paths/register ./src"
},
"_moduleAliases": {
"@shared": "dist/shared",
"@server": "dist/server"
},
"dependencies": {
"@slonik/migrator": "^0.7.0",
"cookie-parser": "^1.4.5",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"express-jwt": "^6.0.0",
"helmet": "^4.4.1",
"http-status-codes": "^2.1.4",
"jwks-rsa": "^2.0.3",
"module-alias": "^2.2.2",
"morgan": "^1.10.0",
"slonik": "^23.6.4",
"winston": "^3.3.3"
},
"devDependencies": {
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.7",
"@types/jest": "^26.0.10",
"@types/jws": "^3.2.3",
"@types/morgan": "^1.9.1",
"@types/node": "^14.0.27",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"eslint": "^7.7.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^8.1.0",
"eslint-import-resolver-typescript": "^2.2.1",
"eslint-plugin-import": "^2.22.0",
"fs-extra": "^9.0.1",
"husky": "^4.3.8",
"jest": "^26.4.2",
"jose": "^2.0.5",
"jws": "^3.2.2",
"msw": "^0.28.2",
"nodemon": "^2.0.4",
"prettier": "^2.0.5",
"pretty-quick": "^3.1.0",
"supertest": "^6.1.3",
"ts-jest": "^26.3.0",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.9.0",
"typescript": "^4.2.3"
}
}