/
package.yaml.json
50 lines (46 loc) 路 1.87 KB
/
package.yaml.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": "/* kebabName */",
"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",
"develop": "npm run build && concurrently \"tsc -p tsconfig.app.json -w\" \"supervisor -w ./build --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 \"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 \"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 --name migration && tsc -p tsconfig.app.json",
"migrations": "npx typeorm migration:run",
"revertmigration": "npx typeorm migration:revert"
},
"engines": {
"node": ">=8"
},
"dependencies": {
"@foal/core": "^2.0.0-beta.1",
"@foal/typeorm": "^2.0.0-beta.1",
"source-map-support": "~0.5.19",
"sqlite3": "~5.0.0",
"typeorm": "0.2.24",
"yamljs": "~0.3.0"
},
"devDependencies": {
"@types/mocha": "7.0.2",
"@types/node": "10.17.24",
"concurrently": "~5.3.0",
"mocha": "~8.2.0",
"supertest": "~6.0.0",
"supervisor": "~0.12.0",
"eslint": "^6.7.0",
"@typescript-eslint/eslint-plugin": "~2.7.0",
"@typescript-eslint/parser": "~2.7.0",
"typescript": "~4.0.2"
}
}