-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.33 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
64
65
66
{
"name": "product-gallery",
"version": "1.0.0",
"description": "basic web app to manage and display products",
"main": "index.js",
"scripts": {
"test": "mocha -r ts-node/register -r tsconfig-paths/register 'src/test/**/*.ts' --exit",
"build": "tsc --project tsconfig.json && tscpaths -p tsconfig.json -s ./ -o ./build",
"dev": "ts-node-dev -r tsconfig-paths/register index.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"make:seed": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/knex seed:make --knexfile=./src/knexfile.ts -x ts",
"make:migration": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/knex migrate:make --knexfile=./src/knexfile.ts -x ts",
"rollback": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/knex migrate:rollback --cwd ./ --knexfile ./src/knexfile.ts --all",
"reset": "npm run rollback && npm run migrate && npm run seed",
"migrate": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/knex migrate:latest --knexfile=./src/knexfile.ts",
"seed": "node -r ts-node/register -r tsconfig-paths/register node_modules/.bin/knex seed:run --knexfile=./src/knexfile.ts",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://github.com/Ali-Dalal/product_gellary"
},
"keywords": [],
"author": "Ali Dalal",
"license": "ISC",
"bugs": {
"url": ""
},
"homepage": "",
"devDependencies": {
"@types/chai": "^4.2.16",
"@types/cors": "^2.8.10",
"@types/express": "^4.17.11",
"@types/faker": "^5.5.3",
"@types/mocha": "^8.2.2",
"@types/morgan": "^1.9.2",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"chai": "^4.3.4",
"eslint": "^7.17.0",
"faker": "^5.5.3",
"husky": "^6.0.0",
"mocha": "^8.3.2",
"supertest": "^6.1.3",
"ts-node-dev": "^1.1.6",
"tsconfig-paths": "^3.9.0",
"tscpaths": "^0.0.9",
"typescript": "^4.2.4"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"joi": "^17.4.0",
"knex": "^0.21.19",
"morgan": "^1.10.0",
"objection": "^2.2.15",
"pg": "^8.6.0",
"slugify": "^1.5.0"
},
"engines": {
"node": ">=0.14"
}
}