-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.78 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "ravimoshark-contract-api",
"version": "1.0.0",
"description": "This is an API to interact with Ravimoshark contracts database. It allows to create, modify and delete contracts and machines. It also interacts with machines imported from SAGE database. It does not contain any kind of user validation but It requests to have a valid authentication user to interact with it. For more information about user Authentication, please refer to [Ravimoshark User Authentication](https://ravimoshark.com/back/apis/auth/latest).",
"main": "src/index.js",
"scripts": {
"build-all": "npm run build",
"build": "npm run tsc",
"check": "npm-check",
"start-ts": "ts-node src/server.ts -r dotenv/config",
"start": "npm run tsc && NODE_ENV=production node dist/server.js",
"start-pm2": "NODE_ENV=production pm2-runtime start dist/server.js",
"lint": "tslint --project ./",
"tsc": "rm -rf dist && tsc",
"docker-download": "mkdir -p scripts && curl -o scripts/docker_build_multiple_images.sh -L https://singletonsd.gitlab.io/scripts/docker/latest/docker_build_multiple_images.sh && chmod +x scripts/docker_build_multiple_images.sh && ./scripts/docker_build_multiple_images.sh",
"docker-generate": "./scripts/docker_build_multiple_images.sh",
"generateEntities": "typeorm-model-generator -h d05qizmaog.database.windows.net -d db_taches_new -u XXXX -x XXXX -p 1433 -e mssql -o src/databases/entities --noConfig --generateConstructor --ssl",
"generateTest": "oatts generate -s src/api/swagger.yaml -w test",
"generate-oas": "oas-generator src/api/swagger.yaml -n generated",
"generate-oas-local": "oas-generator ../documentation/dist/openapi.yaml -n generated",
"dev": "ts-node-dev --respawn --transpileOnly ./src/server.ts",
"watch-node": "nodemon dist/server.js",
"watch-ts": "tsc -w",
"test": "mocha -r ts-node/register --recursive test"
},
"keywords": [
"swagger",
"openapi",
"ravimoshark",
"singletonSD",
"contracts"
],
"homepage": "https://gitlab.com/ravimosharksas/apis/contract/app-nodejs",
"license": "SEE LICENSE IN LICENSE file",
"bugs": {
"url": "https://gitlab.com/ravimosharksas/apis/contract/app-nodejs/issues",
"email": "patoperpetua@gmail.com"
},
"author": {
"name": "Patricio Perpetua",
"email": "patoperpetua@gmail.com",
"url": "http://patricioperpetua.com"
},
"repository": {
"type": "git",
"url": "https://gitlab.com/ravimosharksas/apis/contract/app-nodejs.git"
},
"private": true,
"dependencies": {
"@types/bcrypt": "3.0.0",
"@types/cors": "^2.8.6",
"@types/dotenv": "6.1.1",
"@types/express": "^4.17.1",
"@types/express-jwt": "0.0.42",
"@types/jsonwebtoken": "^8.3.4",
"@types/lodash": "^4.14.139",
"@types/node": "^12.7.8",
"@types/swagger-tools": "0.10.6",
"bcrypt": "3.0.6",
"body-parser": "^1.19.0",
"cors": "2.8.5",
"dotenv": "^8.1.0",
"express": "^4.17.1",
"express-jwt": "5.3.1",
"helmet": "^3.21.1",
"js-yaml": "3.13.1",
"jsonwebtoken": "8.5.1",
"mssql": "5.1.0",
"normalize-port": "1.0.0",
"oas-tools": "2.1.7",
"reflect-metadata": "0.1.13",
"swagger-ui-express": "^4.1.2",
"typeorm": "0.2.19",
"typescript": "^3.6.3",
"winston": "3.2.1"
},
"devDependencies": {
"@types/chai": "^4.2.3",
"@types/js-yaml": "3.12.1",
"@types/mocha": "5.2.7",
"@types/swagger-ui-express": "^3.0.1",
"chai-http": "4.3.0",
"chakram": "1.5.0",
"mocha": "^6.2.0",
"nodemon": "^1.19.2",
"npm-check": "^5.9.0",
"oas-generator": "^2.1.5",
"oatts": "^1.5.0",
"request": "2.88.0",
"supertest": "4.0.2",
"ts-node": "^8.4.1",
"ts-node-dev": "^1.0.0-pre.43",
"tslint": "^5.20.0",
"typeorm-model-generator": "^0.3.5",
"z-schema": "^4.1.1"
}
}