forked from software-open-source-fork/api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
147 lines (147 loc) · 4.49 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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@nokori/core-api",
"version": "0.1.17",
"description": "Main API that powers query requests from clients",
"keywords": [],
"homepage": "https://github.com/getnokori/core-api#readme",
"bugs": {
"url": "https://github.com/getnokori/core-api/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/getnokori/core-api.git"
},
"type": "module",
"license": "ISC",
"author": "",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "npm run clean && npm run build-ts",
"build-ts": "tsc -p ./tsconfig.json --noEmit",
"changelog": "conventional-changelog -p conventionalcommits -i CHANGELOG.md -s",
"clean": "rimraf dist",
"dev": "npm run gen-env:dev && nodemon src/index.ts",
"gen-env": "node build.production.cjs",
"gen-env:qa": "node build.qa.cjs",
"gen-env:dev": "node build.development.cjs",
"lint": "eslint . --ext .ts --quiet",
"release": "npm run lint && npm run build-ts && bumpp -x \"npm run changelog\" --all --commit --tag --push",
"start": "tsx src/index.ts",
"update-schema": "esno lib/schema/update-schema.ts",
"wip": "npm run update-schema && git commit -am \"WIP\" && git push",
"branch": "branch=$(git rev-parse --symbolic-full-name --abbrev-ref HEAD); if [[ $branch == \"production\" ]]; then echo \"yes\"; else echo \"no\"; fi;",
"test": "jest --verbose --forceExit --maxWorkers=50%",
"jests": "jest --ci --verbose ./src/__tests__/**/*.ts --forceExit",
"tests-report": "jest --json --ci --outputFile=jest-results.json ./src/__tests__/**/*.ts --forceExit",
"tests-docker-up": "node scripts/dockerDBsUp.js",
"tests-docker-down": "node scripts/dockerDBsDown.js",
"tests": "run-s tests-docker-up tests-report tests-docker-down"
},
"nodemonConfig": {
"exec": "tsx",
"ext": "js,json,ts",
"delay": "2"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.272.0",
"axios": "^1.3.4",
"compression": "^1.7.4",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"custom-env": "^2.0.1",
"dotenv": "^16.0.3",
"esno": "^0.16.3",
"express": "^4.18.2",
"form-data": "^4.0.0",
"inversify": "^6.0.1",
"mailgun.js": "^8.0.6",
"mariadb": "^3.1.0",
"multer": "^1.4.5-lts.1",
"mustache": "^4.2.0",
"mysql": "^2.18.1",
"mysql2": "^3.1.2",
"nanoid": "^3.3.4",
"openai": "^3.2.1",
"param-case": "^3.0.4",
"pg": "^8.9.0",
"pubsub-js": "^1.9.4",
"reflect-metadata": "^0.1.13",
"request-ip": "^3.3.0",
"stripe": "^11.10.0",
"tsx": "^3.12.3",
"winston": "^3.8.2",
"yup": "^1.0.0"
},
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@esbuild-kit/esm-loader": "^2.5.5",
"@swc/core": "^1.3.35",
"@swc/jest": "^0.2.24",
"@tsconfig/node16": "^1.0.3",
"@types/cookie-parser": "^1.4.3",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jest": "^29.4.0",
"@types/jsonwebtoken": "^9.0.1",
"@types/multer": "^1.4.7",
"@types/mustache": "^4.2.2",
"@types/mysql": "^2.15.21",
"@types/node": "^18.13.0",
"@types/pg": "^8.6.6",
"@types/supertest": "^2.0.12",
"@types/yup": "^0.32.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"babel-jest": "^29.5.0",
"bumpp": "^8.2.1",
"chalk": "^5.2.0",
"conventional-changelog-cli": "^2.2.2",
"dateformat": "^5.0.3",
"diff": "^5.1.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.6.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsonc": "^2.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unicorn": "^45.0.2",
"jest": "^29.5.0",
"node-addon-api": "^6.1.0",
"node-gyp": "^9.3.1",
"node-rsa": "^1.1.1",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"rimraf": "^4.1.2",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"tsconfig-paths": "^4.1.2",
"typescript": "^5.0.2",
"typescript-transform-paths": "^3.4.6",
"unbuild": "^1.1.1"
},
"engines": {
"node": ">=18.12.1"
}
}