This repository was archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
134 lines (134 loc) · 4.81 KB
/
Copy pathpackage.json
File metadata and controls
134 lines (134 loc) · 4.81 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "user-office-backend",
"version": "1.0.0",
"description": "User office backend",
"repository": {
"type": "git",
"url": "https://github.com/UserOfficeProject/user-office-backend.git"
},
"private": true,
"main": "index.js",
"scripts": {
"test": "env NODE_ENV=test jest --config ./jest.unit.config.js --colors",
"test:integration": "env DATABASE_URL=postgres://duouser:duopassword@127.0.0.1:5432/duo jest --config ./jest.integration.config.js --runInBand --testTimeout=15000 --colors",
"test:clear": "jest --clearCache",
"test:debug": "env NODE_ENV=test node node_modules/.bin/jest --config ./jest.unit.config.js --runInBand",
"test:windows": "powershell \"$Env:NODE_ENV='test'; $Env:secret='qMyLZALzs229ybdQXNyzYRdju7X784TH'; $Env:tokenLife='7d'; jest --config ./jest.unit.config.js --color\"",
"test:windows:integration": "powershell \"$Env:DATABASE_URL='postgres://duouser:duopassword@127.0.0.1:5432/duo'; jest --config ./jest.integration.config.js --runInBand --testTimeout=15000",
"tsc": "tsc",
"build": "rm -rf ./build && tsc",
"dev": "ts-node-dev --respawn -T ./index.ts",
"dev:docker": "npm install && ts-node-dev --inspect=0.0.0.0:9229 --respawn -T ./index.ts",
"prod": "tsc && node ./build/index.js",
"lint": "tsc --noEmit && eslint . --ext .js,.ts --quiet",
"lint:fix": "tsc --noEmit && eslint . --ext .js,.ts --fix --quiet",
"start": "tsc && node ./build/index.js",
"apitest": "newman run api_tests/tests.json --environment api_tests/environment.json",
"debug": "ts-node-dev --inspect --respawn -T ./index.ts",
"populate": "ts-node-dev --respawn -T ./src/populate/index.ts",
"generate:uows-client:dev": "uows-client-generator https://devapis.facilities.rl.ac.uk/ws/UserOfficeWebService?wsdl src/datasources/stfc/UOWSSoapInterface.ts"
},
"lint-staged": {
"**/*.{js,ts}": "npm run lint"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"author": "",
"license": "ISC",
"dependencies": {
"@apollo/subgraph": "^0.3.1",
"@user-office-software/duo-localisation": "^1.2.0",
"@user-office-software/duo-logger": "^2.0.2",
"@user-office-software/duo-message-broker": "^1.3.0",
"@user-office-software/duo-validation": "^3.4.0",
"apollo-graphql": "^0.9.5",
"apollo-server-core": "^3.10.1",
"apollo-server-express": "^3.6.3",
"apollo-server-plugin-base": "^3.6.2",
"await-to-js": "^2.1.1",
"axios": "^0.26.0",
"bcryptjs": "^2.4.3",
"bluebird": "^3.7.2",
"clamscan": "^2.1.2",
"class-validator": "^0.13.1",
"cookie-parser": "^1.4.6",
"cron": "^1.8.2",
"dotenv": "^14.3.2",
"email-templates": "^8.0.9",
"express": "^4.17.3",
"express-jwt": "^6.1.2",
"graphql": "^15.8.0",
"graphql-middleware": "^6.1.15",
"graphql-tag": "^2.12.6",
"jsonwebtoken": "^8.5.1",
"knex": "^0.95.15",
"luxon": "^2.3.1",
"magic-bytes.js": "^1.0.7",
"muhammara": "^2.3.0",
"multer": "^1.4.4",
"pg": "^8.7.3",
"pg-large-object": "^2.0.0",
"reflect-metadata": "^0.1.13",
"request": "^2.88.2",
"request-promise": "^4.2.6",
"sanitize-html": "^2.7.1",
"simple-oauth2": "^4.3.0",
"soap": "^0.40.0",
"sparkpost": "^2.1.4",
"tsyringe": "^4.6.0",
"type-graphql": "^1.1.1",
"yup": "^0.32.11"
},
"devDependencies": {
"@faker-js/faker": "^7.3.0",
"@types/bcryptjs": "^2.4.2",
"@types/clamscan": "^2.0.2",
"@types/content-disposition": "^0.5.4",
"@types/cookie-parser": "^1.4.2",
"@types/cron": "^1.7.3",
"@types/email-templates": "^8.0.4",
"@types/express": "^4.17.13",
"@types/express-jwt": "^6.0.4",
"@types/jest": "^27.4.0",
"@types/jsonwebtoken": "^8.5.5",
"@types/luxon": "^2.3.0",
"@types/multer": "^1.4.7",
"@types/node": "^16.0.0",
"@types/pg": "^8.6.4",
"@types/pg-large-object": "^2.0.4",
"@types/request-promise": "^4.1.48",
"@types/sanitize-html": "^2.6.2",
"@types/sax": "^1.2.3",
"@types/simple-oauth2": "^4.1.1",
"@types/sinon": "^9.0.11",
"@types/sparkpost": "^2.1.5",
"@types/validator": "^13.7.0",
"@types/yup": "^0.29.13",
"@typescript-eslint/eslint-plugin": "^5.27.1",
"@typescript-eslint/parser": "^5.27.1",
"@user-office-software/uows_client_generator": "^3.0.0",
"commander": "^5.1.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^4.3.8",
"jest": "^27.4.5",
"lint-staged": "^10.5.4",
"newman": "^5.3.0",
"prettier": "^2.5.1",
"sinon": "^9.2.4",
"ts-jest": "^27.1.2",
"ts-node-dev": "^1.1.8",
"typescript": "^4.7.3"
},
"engines": {
"npm": ">=8.0.0",
"node": ">=16.0.0"
}
}