-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 2.49 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
67
68
69
70
71
{
"name": "api-wood-creations-store",
"version": "1.0.0",
"description": "A RESTful API for a wood creations store",
"main": "index.js",
"scripts": {
"clean": "rimraf dist",
"prettier-check": "prettier --config .prettierrc 'src/**/*.ts' --check",
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
"lint": "eslint . --ext .ts",
"tsc": "tsc",
"start": "node src/index.ts",
"dev": "cross-env NODE_ENV=dev tsc-watch --esModuleInterop src/index.ts --outDir ./dist --onSuccess 'node ./dist/index.js'",
"database:up": "db-migrate up -e dev -m ./database/migrations --config ./database/database.json",
"database:down": "db-migrate reset -e dev -m ./database/migrations --config ./database/database.json",
"database:up-test": "db-migrate up -e test -m ./database/migrations --config ./database/database.json",
"database:down-test": "db-migrate reset -e test -m ./database/migrations --config ./database/database.json",
"test": "npm run database:down-test && npm run database:up-test && cross-env NODE_ENV=test jasmine-ts && npm run database:down-test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/katerina-tziala/api-wood-creations-store.git"
},
"keywords": [
"API",
"node",
"typescript",
"postgres"
],
"author": "Katerina Tziala",
"license": "ISC",
"bugs": {
"url": "https://github.com/katerina-tziala/api-wood-creations-store/issues"
},
"homepage": "https://github.com/katerina-tziala/api-wood-creations-store#readme",
"dependencies": {
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"db-migrate": "^1.0.0-beta.16",
"db-migrate-pg": "^1.2.2",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"pg": "^8.7.1",
"supertest": "^6.1.6"
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/jasmine": "^3.10.2",
"@types/jsonwebtoken": "^8.5.5",
"@types/node": "^16.11.6",
"@types/pg": "^8.6.1",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.3.0",
"@typescript-eslint/parser": "^5.3.0",
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"jasmine": "^3.10.0",
"jasmine-spec-reporter": "^7.0.0",
"jasmine-ts": "^0.4.0",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"tsc-watch": "^4.5.0",
"typescript": "^4.4.4"
}
}