-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
83 lines (83 loc) · 2.97 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
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "file-service",
"version": "0.0.2",
"description": "A File Service",
"repository": {
"type": "git",
"url": "https://github.com/meateam/files-service"
},
"author": "Yonatan Tal",
"license": "MIT",
"scripts": {
"start": "tsc && npm run serve",
"build": "npm run build-sass && npm run build-ts && npm run tslint && npm run copy-static-assets",
"serve": "node dist/index.js",
"watch-node": "nodemon dist/index.js",
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run watch-node\"",
"test": "npm run tslint && npm run run_tests",
"run_tests": "mocha --opts ./mocha.opts src/**/*.spec.ts",
"run_tests_coverage": "nyc mocha --opts ./mocha.opts src/**/*.spec.ts",
"watch-test": "npm run test -- --watchAll",
"build-ts": "tsc",
"watch-ts": "tsc -w",
"build-sass": "node-sass src/public/css/main.scss dist/public/css/main.css",
"watch-sass": "node-sass -w src/public/css/main.scss dist/public/css/main.css",
"tslint": "tslint -c tslint.json -p tsconfig.json",
"copy-static-assets": "ts-node copyStaticAssets.ts",
"debug": "npm run build && npm run watch-debug",
"serve-debug": "nodemon --inspect dist/index.js",
"watch-debug": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve-debug\"",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"dependencies": {
"@grpc/proto-loader": "^0.5.5",
"@types/chai-subset": "^1.3.2",
"@types/elasticsearch": "^5.0.37",
"@types/google-protobuf": "^3.7.4",
"chai-as-promised": "^7.1.1",
"dotenv": "^8.2.0",
"elastic-apm-node": "^3.9.0",
"grpc": "^1.24.4",
"grpc-ts-health-check": "^1.0.14",
"lodash": "^4.17.20",
"mocha": "^6.2.3",
"mongodb": "^3.6.3",
"mongoose": "^5.9.15",
"nyc": "^15.1.0",
"snyk": "^1.437.3",
"traceparent": "^1.0.0",
"ts-node": "^9.1.1",
"winston": "^3.3.3",
"winston-elasticsearch": "^0.7.12"
},
"devDependencies": {
"@types/body-parser": "^1.17.0",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/cors": "^2.8.5",
"@types/dotenv": "^6.1.1",
"@types/errorhandler": "^0.0.32",
"@types/express": "^4.16.1",
"@types/express-session": "^1.15.12",
"@types/lodash": "^4.14.126",
"@types/mocha": "^5.2.6",
"@types/mongodb": "^3.1.26",
"@types/mongoose": "^5.5.0",
"@types/morgan": "^1.7.35",
"@types/node": "^12.0.0",
"@types/request": "^2.48.1",
"@types/shelljs": "^0.8.5",
"@types/supertest": "^2.0.7",
"chai": "^4.2.0",
"chai-subset": "^1.6.0",
"concurrently": "^5.3.0",
"node-sass": "^5.0.0",
"nodemon": "^2.0.6",
"shelljs": "^0.8.3",
"tslint": "^5.16.0",
"tslint-config-airbnb": "^5.11.1",
"typescript": "^3.4.5"
},
"snyk": true
}