This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
61 lines (61 loc) · 2.37 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
{
"name": "osmod-assistant",
"version": "1.1.0",
"description": "ML Assistant for Osmod project",
"main": "server/dist/main.js",
"repository": {
"type": "git",
"url": "https://github.com/Jigsaw-Code/moderator-assistant"
},
"scripts": {
"_server": "./node_modules/.bin/nodemon --debug=5858 --legacy-watch --watch 'dist/**/*' --ignore 'src/server/*.spec.js' dist/server/main.js",
"_wait_for_build": "while [ ! -f dist/server/main.js ]; do echo \"[`date +%s`]: building dist/server/main.js ...\"; sleep 1; done",
"compile": "npm run dist:setup && ./node_modules/.bin/tsc",
"compile:watch": "npm run dist:setup && ./node_modules/.bin/tsc --watch",
"dist:clean": "rm -rf dist",
"dist:clean_server": "rm -rf dist/server",
"dist:setup": "mkdir -p dist/config/ && mkdir -p dist/server/ && cp -r public dist/ && rsync --ignore-existing config/local.json dist/config/",
"lint": "./node_modules/.bin/tslint -c tslint.json src/**/*.ts",
"mocha": "NODE_ENV=test ./node_modules/.bin/mocha 'dist/server/**/*.spec.js' --recursive",
"mocha:watch": "NODE_ENV=test ./node_modules/.bin/mocha --watch 'dist/server/**/*.spec.js' --recursive",
"start": "node dist/server/main.js",
"test": "npm run compile && npm run mocha",
"test:watch": "npm run dist:clean_server && npm run compile:watch | (npm run _wait_for_build && npm run mocha:watch)",
"watch": "npm run dist:clean_server && npm run compile:watch | (npm run _wait_for_build && npm run _server)"
},
"author": "Jigsaw",
"license": "Apache-2.0",
"engines": {
"node": "8"
},
"dependencies": {
"@google-cloud/debug-agent": "^1.0.0",
"@google-cloud/trace-agent": "^1.0.3",
"@types/request": "^0.0.42",
"body-parser": "1.15.2",
"convict": "1.4.0",
"express": "4.14.0",
"express-winston": "1.4.2",
"googleapis": "^13.0.0",
"lodash": "4.13.1",
"request": "2.75.0",
"winston": "2.2.0"
},
"devDependencies": {
"@types/body-parser": "^1.16.3",
"@types/chai": "^3.4.35",
"@types/convict": "^0.6.33",
"@types/express": "^4.0.35",
"@types/lodash": "^4.14.61",
"@types/mocha": "^2.2.40",
"@types/node": "^7.0.12",
"@types/supertest": "^2.0.0",
"@types/winston": "^2.3.0",
"chai": "^3.5.0",
"mocha": "^3.0.2",
"nodemon": "^1.9.2",
"supertest": "^2.0.0",
"tslint": "3.13.0",
"typescript": "^2.2.0"
}
}