-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.54 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
{
"name": "shoping_rest_api",
"version": "0.1.0",
"description": "",
"main": "server.ts",
"scripts": {
"build": "npx tsc",
"start": "nodemon src/server.ts",
"watch": "tsc-watch --esModuleInterop src/server.ts --outDir ./dist --onSuccess \"node ./dist/server.js\"",
"migrateup:test": "db-migrate --env test up",
"migratedown:test": "db-migrate --env test down -c 3",
"migrateup": "db-migrate up",
"migratedown": "db-migrate down",
"test": "set ENV=test && npm run build && npm run migrateup:test && jasmine && npm run migratedown:test",
"tsc": "tsc",
"prettier": "prettier --config .prettierrc \"src/**/*.ts\" --write",
"lint": "eslint \"src/**/*.ts\""
},
"author": "Zeyad Tarek",
"license": "MIT",
"dependencies": {
"bcrypt": "^5.0.1",
"body-parser": "^1.20.0",
"cors": "^2.8.5",
"dotenv": "^16.0.2",
"express": "^4.18.1",
"jsonwebtoken": "^8.5.1",
"pg": "^8.8.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.13",
"@types/jasmine": "^4.3.0",
"@types/node": "^18.7.16",
"@types/pg": "^8.6.5",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"db-migrate": "^0.11.13",
"db-migrate-pg": "^1.2.2",
"eslint": "^8.23.1",
"jasmine": "^4.4.0",
"jasmine-spec-reporter": "^7.0.0",
"jasmine-ts": "^0.4.0",
"nodemon": "^2.0.19",
"prettier": "^2.7.1",
"supertest": "^6.2.4",
"ts-node": "^8.10.2",
"tsc-watch": "^5.0.3",
"typescript": "^4.8.3"
}
}