-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
78 lines (78 loc) · 2.41 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
{
"name": "backend.opensource.org.rw",
"version": "1.0.0",
"description": "Backend for opensource.org.rw",
"main": "src/index.ts",
"engines": {
"node": "12.x"
},
"scripts": {
"prepend": "yarn config set scripts-prepend-node-path true",
"test": "yarn prepend && NODE_ENV=test node -r ts-node/register -r tsconfig-paths/register node_modules/jest/bin/jest --c=jest.config.js --logHeapUsage --runInBand --no-cache --detectOpenHandles --forceExit",
"start": "NODE_ENV=production node dist/index.js",
"start:dev": "NODE_ENV=development nodemon",
"lint": "eslint ./src/**/**.ts --fix",
"clean": "rm -rf dist && mkdir dist",
"tsc": "ts-node -r tsconfig-paths/register",
"build": "yarn clean && yarn compile",
"compile": "tsc -b tsconfig.build.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rwandaopensource/backend.opensource.org.rw.git"
},
"keywords": [
"opensource.org.rw"
],
"author": "Rwanda Open Source",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/rwandaopensource/backend.opensource.org.rw/issues"
},
"homepage": "https://github.com/rwandaopensource/backend.opensource.org.rw#readme",
"dependencies": {
"axios": "^0.21.1",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"dotenv-extended": "^2.7.1",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"lru-cache": "^5.1.1",
"morgan": "^1.9.1",
"passport": "^0.4.1",
"passport-github": "^1.1.0"
},
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/chai": "^4.2.10",
"@types/cookie-parser": "^1.4.2",
"@types/express": "^4.17.2",
"@types/jest": "^25.1.3",
"@types/jsonwebtoken": "^8.3.8",
"@types/lru-cache": "^5.1.0",
"@types/morgan": "^1.9.0",
"@types/passport": "^1.0.2",
"@types/passport-github": "^1.1.5",
"@types/supertest": "^2.0.8",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"chai": "^4.2.0",
"chai-http": "^4.3.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.20.1",
"husky": "^4.2.3",
"jest": "^25.1.0",
"nodemon": "^2.0.2",
"ts-jest": "^25.2.1",
"ts-node": "^8.6.2",
"tsconfig-paths": "^3.9.0",
"typescript": "^3.8.3"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"pre-push": "yarn test"
}
}
}