-
-
Notifications
You must be signed in to change notification settings - Fork 141
/
Copy pathpackage.json
46 lines (46 loc) · 1.95 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
{
"name": "/* kebabName */",
"version": "0.0.0",
"description": "description of the application",
"license": "MIT",
"repository": {},
"scripts": {
"build": "npx 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": "npx 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": "npx 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": "npx 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": ">=18.0.0"
},
"dependencies": {
"@foal/core": "^4.0.0",
"@foal/typeorm": "^4.0.0",
"source-map-support": "~0.5.21",
"sqlite3": "~5.1.7",
"typeorm": "0.3.17"
},
"devDependencies": {
"@foal/cli": "^4.0.0",
"@types/mocha": "10.0.7",
"@types/node": "18.18.6",
"concurrently": "~9.0.0",
"mocha": "~10.7.2",
"supertest": "~7.0.0",
"supervisor": "~0.12.0",
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
}
}