-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
57 lines (57 loc) · 1.94 KB
/
package.json
File metadata and controls
57 lines (57 loc) · 1.94 KB
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
{
"name": "node-typescript-express-postgresql-authentication-authorization",
"version": "1.0.0",
"description": "Simple example of how to authenticate and authorize with jsonwebtoken",
"keywords": [
"express authentication authorization",
"jsonwebtoken authentication",
"jwt authentication",
"postgresql authentication authorization"
],
"scripts": {
"start": "node src/server.ts",
"build": "tsc",
"dev": "tsc-watch --esModuleInterop src/server.ts --outDir ./dist --onSuccess 'node ./dist/server.js'",
"migrate:up": "db-migrate --env dev up",
"migrate:reset": "db-migrate --env dev reset",
"migrate:down": "db-migrate --env dev down",
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint": "eslint src --ext .ts",
"test": "npm run test:delete:db ; db-migrate db:create test_db_test ; db-migrate --env test up ; npm run build ; ENV=test jasmine-ts ; db-migrate db:drop test_db_test",
"test:delete:db": "db-migrate db:drop test_db_test"
},
"author": "Al Diaz",
"license": "ISC",
"main": "server.ts",
"dependencies": {
"bcrypt": "^5.0.1",
"db-migrate": "^0.11.12",
"db-migrate-pg": "^1.2.2",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"pg": "^8.5.1",
"typescript": "^4.4.4"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.9",
"@types/jasmine": "^3.10.0",
"@types/jsonwebtoken": "^8.5.4",
"@types/node": "^16.11.1",
"@types/pg": "^7.14.7",
"@types/superagent": "^4.1.13",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"jasmine": "^3.10.0",
"jasmine-spec-reporter": "^7.0.0",
"jasmine-ts": "^0.3.0",
"prettier": "^2.4.1",
"superagent": "^6.1.0",
"ts-node": "^9.1.1",
"tsc-watch": "^4.2.9"
}
}