-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 2.05 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
{
"name": "bookrental",
"version": "0.0.0",
"description": "description of the application",
"license": "MIT",
"repository": {},
"scripts": {
"build": "foal rmdir build && tsc -p tsconfig.app.json",
"start": "node ./build/index.js",
"dev": "npm run build && concurrently -r \"tsc -p tsconfig.app.json -w\" \"supervisor -w ./build,./config -e js,json,yml --no-restart-on error ./build/index.js\"",
"build:test": "foal rmdir build && tsc -p tsconfig.test.json",
"start:test": "mocha --file ./build/test.js \"./build/**/*.spec.js\"",
"test": "npm run build:test && concurrently -r \"tsc -p tsconfig.test.json -w\" \"mocha --file ./build/test.js -w \\\"./build/**/*.spec.js\\\"\"",
"build:e2e": "foal rmdir build && tsc -p tsconfig.e2e.json",
"start:e2e": "mocha --timeout 4000 --file ./build/e2e.js \"./build/e2e/**/*.js\"",
"e2e": "npm run build:e2e && concurrently -r \"tsc -p tsconfig.e2e.json -w\" \"mocha --file ./build/e2e.js -w \\\"./build/e2e/**/*.js\\\"\"",
"lint": "eslint --ext ts src",
"lint:fix": "eslint --ext ts --fix src",
"makemigrations": "foal rmdir build && tsc -p tsconfig.app.json && npx typeorm migration:generate src/migrations/migration -d build/db -p && tsc -p tsconfig.app.json",
"migrations": "npx typeorm migration:run -d build/db",
"revertmigration": "npx typeorm migration:revert -d build/db"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@foal/core": "^3.0.0",
"@foal/jwt": "^3.2.0",
"@foal/swagger": "^3.2.0",
"@foal/typeorm": "^3.0.0",
"better-sqlite3": "~7.6.2",
"jsonwebtoken": "^9.0.0",
"mysql": "^2.18.1",
"source-map-support": "~0.5.21",
"typeorm": "0.3.10"
},
"devDependencies": {
"@foal/cli": "^3.0.0",
"@types/mocha": "9.1.1",
"@types/node": "16.11.7",
"@typescript-eslint/eslint-plugin": "~5.27.1",
"@typescript-eslint/parser": "~5.27.1",
"concurrently": "~7.5.0",
"eslint": "~8.17.0",
"mocha": "~10.1.0",
"supertest": "~6.2.4",
"supervisor": "~0.12.0",
"typescript": "~4.7.4"
}
}