forked from maisieccino/ucl-assistant-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.79 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.79 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
{
"name": "ucl-assistant-api",
"version": "0.6.0",
"private": true,
"description": "Server to support the UCL Assistant app",
"repository": "https://github.com/uclapi/ucl-assistant",
"license": "MIT",
"author": "UCL API <isd.apiteam@ucl.ac.uk>",
"main": "src/server.js",
"scripts": {
"babel-node": "babel-node -r dotenv/config src/server.ts --extensions \".ts\"",
"build": "babel src -d dist --extensions \".ts\" --copy-files --source-maps",
"format": "eslint src --fix --ext .js --ignore-path .eslintignore",
"lint:staged": "lint-staged",
"prepare": "husky install",
"start:dev": "nodemon -e ts --ignore __tests__ --exec npm run babel-node",
"start:prod": "node dist/server.js",
"test": "TEST_MODE=true jest --setupFiles dotenv/config --ci && codecov",
"test:dev": "TEST_MODE=true jest --setupFiles dotenv/config --watch"
},
"lint-staged": {
"*.{js,ts,json}": [
"eslint --fix"
],
"*.{ts}": [
"tsc --allowSyntheticDefaultImports --noEmit --esModuleInterop --moduleResolution node --skipLibCheck --resolveJsonModule"
]
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/dist/",
"<rootDir>/node_modules/"
],
"testURL": "http://localhost/",
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"dependencies": {
"@sentry/node": "^6.8.0",
"axios": "^0.21.1",
"jsonwebtoken": "^8.5.1",
"koa": "^2.13.1",
"koa-bodyparser": "^4.3.0",
"koa-jwt": "^4.0.1",
"koa-mount": "^4.0.0",
"koa-pino-logger": "^3.0.0",
"koa-router": "^10.0.0",
"koa-session": "^6.2.0",
"moment": "^2.29.1",
"redis": "^3.1.2"
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.6",
"@babel/node": "^7.14.7",
"@babel/preset-env": "^7.14.7",
"@babel/preset-typescript": "^7.14.5",
"@codechecks/client": "^0.1.10",
"@types/jest": "^26.0.23",
"@types/koa": "^2.13.3",
"@types/koa-bodyparser": "^4.3.1",
"@types/koa-router": "^7.4.2",
"@types/node": "^16.0.0",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"codecov": "^3.8.2",
"dotenv": "^10.0.0",
"eslint": "^7.30.0",
"eslint-plugin-disable": "^2.0.1",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-json-format": "^2.0.1",
"eslint-plugin-no-secrets": "^0.8.9",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-sonarjs": "^0.7.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"lint-staged": "^11.0.0",
"nodemon": "^2.0.9",
"sinon": "^11.1.1",
"supertest": "^6.1.3",
"ts-jest": "^27.0.3",
"typecov": "^0.2.3",
"typescript": "^4.3.5"
},
"engines": {
"node": ">=14.17.2"
}
}