-
-
Notifications
You must be signed in to change notification settings - Fork 136
/
package.mongodb.json
49 lines (49 loc) 路 1.94 KB
/
package.mongodb.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
{
"name": "test-foo-bar",
"version": "0.0.0",
"description": "",
"scripts": {
"build:app": "copy-cli \"src/**/*.html\" build && tsc -p tsconfig.app.json",
"build:app:w": "tsc -p tsconfig.app.json -w",
"start": "node ./build/index.js",
"start:w": "supervisor -w ./build --no-restart-on error ./build/index.js",
"develop": "npm run build:app && concurrently \"npm run build:app:w\" \"npm run start:w\"",
"build:test": "copy-cli \"src/**/*.html\" build && tsc -p tsconfig.test.json",
"build:test:w": "tsc -p tsconfig.test.json -w",
"start:test": "mocha --file \"./build/test.js\" \"./build/**/*.spec.js\"",
"start:test:w": "mocha --file \"./build/test.js\" -w \"./build/**/*.spec.js\"",
"test": "npm run build:test && concurrently \"npm run build:test:w\" \"npm run start:test:w\"",
"build:e2e": "copy-cli \"src/**/*.html\" build && tsc -p tsconfig.e2e.json",
"build:e2e:w": "tsc -p tsconfig.e2e.json -w",
"start:e2e": "mocha --file \"./build/e2e.js\" \"./build/e2e/**/*.js\"",
"start:e2e:w": "mocha --file \"./build/e2e.js\" -w \"./build/e2e/**/*.js\"",
"e2e": "npm run build:e2e && concurrently \"npm run build:e2e:w\" \"npm run start:e2e:w\"",
"build:scripts": "tsc -p tsconfig.scripts.json",
"build:scripts:w": "tsc -p tsconfig.scripts.json -w",
"lint": "eslint --ext ts src",
"lint:fix": "eslint --ext ts --fix src"
},
"engines": {
"node": ">=8"
},
"dependencies": {
"@foal/core": "^1.0.0",
"@foal/mongoose": "^1.0.0",
"mongoose": "^5.4.9",
"source-map-support": "^0.5.1"
},
"devDependencies": {
"@types/mocha": "^5.2.1",
"@types/mongoose": "^5.3.12",
"@types/node": "^8.0.47",
"concurrently": "^3.5.1",
"copy": "^0.3.2",
"mocha": "^5.2.0",
"supertest": "^3.3.0",
"supervisor": "^0.12.0",
"eslint": "^6.6.0",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"typescript": "~3.5.3"
}
}