-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.22 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
{
"name": "mblog-api",
"version": "1.0.0",
"description": "",
"dependencies": {
"bcrypt": "^5.1.0",
"celebrate": "^15.0.1",
"dotenv": "^16.0.3",
"env-cmd": "^10.1.0",
"express": "^4.18.2",
"jsonwebtoken": "^8.5.1",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"pg": "^8.4.0",
"reflect-metadata": "^0.1.13",
"typeorm": "0.3.10"
},
"devDependencies": {
"@types/express": "^4.17.14",
"@types/jest": "^29.2.3",
"@types/node": "^16.11.10",
"@types/passport": "^1.0.11",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.3.1",
"prettier": "^2.8.0",
"supertest": "^6.3.1",
"ts-jest": "^29.0.3",
"ts-node": "10.7.0",
"ts-node-dev": "^2.0.0",
"typescript": "4.5.2"
},
"scripts": {
"test": "jest",
"test:unit": "env-cmd -f .env.test jest --testPathPattern=__tests__/unit",
"test:integration": "env-cmd -f .env.test jest --testPathPattern=__tests__/integration",
"start:dev": "env-cmd ts-node-dev ./src/server.ts",
"typeorm": "typeorm-ts-node-commonjs",
"migration:revert": "env-cmd npm run typeorm migration:revert -- -d src/orm/datasource.ts",
"migration:run": "env-cmd npm run typeorm migration:run -- -d src/orm/datasource.ts",
"migration:generate": "env-cmd npm run typeorm migration:generate -- -d src/orm/datasource.ts src/orm/migrations/$npm_config_name",
"migration:create": "npm run typeorm migration:create src/orm/migrations/$npm_config_name",
"start": "ts-node src/index.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --config .prettierrc 'src/**/*.ts' --write"
},
"repository": {
"type": "git",
"url": "git+https://github.com/criskell/mblog-api.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/criskell/mblog-api/issues"
},
"homepage": "https://github.com/criskell/mblog-api#readme"
}