-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.76 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.76 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
{
"name": "storefront_backend",
"version": "0.1.0",
"description": "",
"main": "server.ts",
"scripts": {
"start:prod": "yarn build && nodemon dist/server.js",
"start:dev": "nodemon src/server.ts",
"watch": "tsc-watch --esModuleInterop src/server.ts --outDir ./dist --onSuccess \"node ./dist/server.js\"",
"test": "db-migrate --env test up && yarn build && jasmine && db-migrate reset --env test",
"create-test-db": "db-migrate --config database.json db:create storefront_test",
"create-dev-db": "db-migrate --config database.json db:create storefront",
"migrate-dev-db": "db-migrate --env dev up",
"build": "yarn clean && npx tsc",
"clean": "rimraf dist",
"prettier": "prettier --config .prettierrc \"src/**/*.ts\" --write",
"lint": "eslint . --ext .ts --fix"
},
"author": "Oumao",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.0",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
"db-migrate": "^0.11.13",
"db-migrate-pg": "^1.2.2",
"dotenv": "^16.0.3",
"express": "^4.17.1",
"jsonwebtoken": "^9.0.0",
"pg": "^8.5.1",
"typescript": "^4.1.3"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.9",
"@types/jasmine": "^3.6.3",
"@types/jsonwebtoken": "^9.0.0",
"@types/pg": "^7.14.7",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"jasmine": "^3.6.4",
"jasmine-spec-reporter": "^7.0.0",
"nodemon": "^2.0.20",
"prettier": "^2.8.2",
"supertest": "^6.3.3",
"ts-node": "^10.9.1",
"tsc-watch": "^4.2.9"
}
}