-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.86 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
{
"name": "test_storefront_backend_api",
"version": "1.0.0",
"description": "Second Project in Advanced Full-Stack Web Development Nanodegree Program with Udacity and egFWD.",
"main": "server.ts",
"scripts": {
"start": "ts-node ./src/server.ts",
"build": "tsc && node dist/server.js",
"watch": "tsc-watch --onSuccess \"node ./dist/server.js\" --onFailure \"echo Beep! Compilation Failed\"",
"tsc": "tsc",
"test": "db-migrate --env test up && cross-env ENV=test jasmine-ts && db-migrate --env test down -c 5",
"lint": "eslint . --ext .ts",
"prettier": "prettier --config .prettierrc.json --write \"src/**/*.ts\" \"spec/**/*.ts\" ",
"test-down": "set ENV=test&& db-migrate --env test down -c 5",
"test-d": "set ENV=dev&& db-migrate --env dev down -c 5"
},
"author": "Mohamed_Saber_Sayed_Hafez",
"license": "MIT",
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/body-parser": "^1.19.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jasmine": "^3.6.3",
"@types/jsonwebtoken": "^8.5.8",
"@types/node": "^17.0.18",
"@types/pg": "^8.6.4",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"cross-env": "^7.0.3",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-prettier": "^4.0.0",
"jasmine": "^3.6.4",
"jasmine-spec-reporter": "^6.0.0",
"jasmine-ts": "^0.3.0",
"prettier": "2.5.1",
"supertest": "^6.2.2",
"ts-node": "^10.5.0",
"tsc-watch": "^4.6.0",
"typescript": "^4.5.5"
},
"dependencies": {
"bcrypt": "^5.0.1",
"body-parser": "^1.19.2",
"cors": "^2.8.5",
"db-migrate": "^0.11.13",
"db-migrate-pg": "^1.2.2",
"dotenv": "^16.0.0",
"express": "^4.17.3",
"jsonwebtoken": "^8.5.1",
"pg": "^8.7.3"
}
}