-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
68 lines (68 loc) · 2.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "codewithcause",
"version": "1.0.0",
"description": "Code with a Cause Node Backend",
"main": "app.js",
"engines": {
"node": "8.9.3",
"npm": "5.5.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"routes-gen": "tsoa routes -c custom-tsoa.json",
"swagger-gen": "tsoa swagger -c custom-tsoa.json",
"tsoa-gen": "npm run routes-gen && npm run swagger-gen",
"swagger-copy": "cp ./server-src/swagger.json ./server-build/swagger.json",
"clean": "rimraf ./server-build && rimraf ./server-src/routes.ts && rimraf ./server-src/swagger.json",
"start-gen": "npm run clean && npm run swagger-gen && npm run routes-gen && tsc && npm run swagger-copy",
"heroku-prebuild": "export NPM_CONFIG_PRODUCTION=false; export NODE_ENV=development; npm install --only=dev --dev",
"heroku-postbuild": "export NPM_CONFIG_PRODUCTION=true; export NODE_ENV=production; cd ./angular_src/ && npm install",
"start-dev": "concurrently --kill-others-on-fail \"tsc -w\" \"nodemon ./server-build/index.js\"",
"start": "tsc && npm run swagger-copy && node ./server-build/index.js",
"clean-swagger": "rimraf ../code-with-cause-web/src/app/swagger-api",
"swagger-client": "npm run clean-swagger && swagger-codegen generate -i https://codewithcause.herokuapp.com/api/docs/swagger.json -o ../code-with-cause-web/src/app/swagger-api -l typescript-angular -c ./swagger-config.json",
"swagger-client-dev": "npm run clean-swagger && swagger-codegen generate -i http://localhost:8080/api/docs/swagger.json -o ../code-with-cause-web/src/app/swagger-api -l typescript-angular -c ./swagger-config.json",
"swagger-client-linux": "npm run clean-swagger && java -jar ../../swagger-codegen-cli.jar generate -i http://localhost:8080/api/docs/swagger.json -o ../code-with-cause-web/src/app/swagger-api -l typescript-angular -c ./swagger-config.json"
},
"author": "",
"license": "MIT",
"dependencies": {
"bcryptjs": "2.4.3",
"body-parser": "1.18.2",
"config": "1.29.4",
"cors": "2.8.4",
"express": "4.16.2",
"express-winston": "2.4.0",
"js-yaml": "3.10.0",
"jsonwebtoken": "8.1.1",
"lodash": "^4.17.5",
"moment": "2.20.1",
"mongoose": "5.0.3",
"morgan": "1.9.0",
"newrelic": "2.7.0",
"passport": "0.4.0",
"passport-jwt": "3.0.1",
"swagger-codegen": "^0.1.1",
"swagger-ui-express": "2.0.15",
"tsoa": "git+https://[email protected]/nartc/tsoa.git",
"winston": "2.4.0"
},
"devDependencies": {
"@types/bcryptjs": "2.4.1",
"@types/config": "0.0.34",
"@types/express": "4.11.1",
"@types/jsonwebtoken": "7.2.5",
"@types/lodash": "^4.14.102",
"@types/mongoose": "5.0.1",
"@types/node": "9.4.1",
"@types/passport": "0.4.5",
"@types/passport-jwt": "3.0.1",
"@types/winston": "2.3.7",
"concurrently": "3.5.1",
"copyfiles": "1.2.0",
"nodemon": "1.14.12",
"rimraf": "2.6.2",
"tslint": "5.9.1",
"typescript": "2.7.1"
}
}