-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 4.79 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 4.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "api.statox.fr",
"version": "1",
"description": "The code for my personal API",
"engines": {
"node": "24.x"
},
"main": "index.ts",
"type": "module",
"scripts": {
"setup-githooks": "./githooks/setup.sh",
"generate:sdk": "npx tsx scripts/generateSDK.ts",
"check": "npm run lint && npm run prettier",
"prettier": "prettier --check --cache '*.json' 'src/**/*.ts' 'tests/**/*.ts'",
"prettier:fix": "prettier -w --cache '*.json' 'src/**/*.ts' 'tests/**/*.ts'",
"lint": "eslint",
"lint:fix": "npm run lint --fix",
"heroku:login": "npx heroku@latest login",
"heroku:deploy": "npm run check && npm run tests:all && git push heroku main",
"heroku:deploy:skip-tests": "npm run check && git push heroku main",
"heroku:force-deploy": "npm run check && npm run tests:all && git push -f heroku main",
"heroku:force-deploy:skip-tests": "npm run check && git push -f heroku main",
"heroku:ssh": "npx heroku@latest run bash",
"postinstall": "tsc",
"env": "./src/tools/containers-env.sh up",
"env:stop": "./src/tools/containers-env.sh down",
"serve": "TZ=UTC node --watch dist/index.js",
"watch": "rm -fr dist/ && tsc -w",
"tests": "src/tools/init-db.sh --tests && TZ=UTC PORT=3001 ENV=tests mocha --unhandled-rejections=strict --config .mocha/routes.json",
"tests:all": "npm run tests:packages && npm run tests:framework && npm run tests",
"tests:ci": "npm run tests:packages -- --reporter mocha-ctrf-json-reporter --reporter-options 'outputFile=packages.json' && npm run tests:framework -- --reporter mocha-ctrf-json-reporter --reporter-options 'outputFile=framework.json' && npm run tests -- --reporter mocha-ctrf-json-reporter --reporter-options 'outputFile=tests.json'",
"tests:framework": "src/tools/init-db.sh --tests && TZ=UTC PORT=3001 ENV=tests mocha --unhandled-rejections=strict --config .mocha/framework.json",
"tests:packages": "mocha --unhandled-rejections=strict --config .mocha/packages.json",
"user:create": "node dist/src/tools/auth/createUser.js",
"user:create:prod": "npx heroku@latest run node dist/src/tools/auth/createUser.js"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.1037.0",
"@aws-sdk/s3-request-presigner": "^3.1037.0",
"@elastic/elasticsearch": "^8.17.1",
"@slack/webhook": "^7.0.9",
"@types/passport": "^1.0.17",
"@types/passport-local": "^1.0.38",
"@types/ws": "^8.18.1",
"ajv": "^8.20.0",
"aws-sdk-client-mock": "^4.1.0",
"cors": "^2.8.6",
"express": "^5.2.1",
"express-json-validator-middleware": "^3.0.1",
"express-mysql-session": "^3.0.3",
"express-session": "^1.19.0",
"formidable": "^3.5.4",
"jsdom": "^29.1.0",
"libsodium": "^0.8.4",
"libsodium-wrappers": "^0.8.4",
"libsodium-wrappers-sumo": "^0.8.4",
"lunarphase-js": "^2.0.3",
"luxon": "^3.7.2",
"memoize": "^10.2.0",
"mime-types": "^3.0.2",
"mustache-express": "^1.3.2",
"mysql2": "^3.22.3",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"ws": "^8.20.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.2",
"@smithy/util-stream": "^4.0.1",
"@types/chai": "^5.2.3",
"@types/connect-sqlite3": "^0.9.6",
"@types/cookie-signature": "^1.1.2",
"@types/cors": "^2.8.19",
"@types/express": "^5.0.6",
"@types/express-mysql-session": "^3.0.8",
"@types/express-session": "^1.19.0",
"@types/formidable": "^3.5.1",
"@types/jsdom": "^27.0.0",
"@types/libsodium-wrappers": "^0.8.2",
"@types/libsodium-wrappers-sumo": "^0.8.2",
"@types/luxon": "^3.7.1",
"@types/mime-types": "^3.0.1",
"@types/mocha": "^10.0.10",
"@types/mustache-express": "^1.2.5",
"@types/sinon": "^21.0.1",
"@types/supertest": "^7.2.0",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.32.1",
"aws-sdk-client-mock-jest": "^4.1.0",
"chai": "^6.2.2",
"cookie-signature": "^1.2.2",
"ctrf": "^0.2.0",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"github-actions-ctrf": "^0.0.58",
"globals": "^17.5.0",
"json-schema-to-ts": "^3.1.1",
"mocha": "^11.7.5",
"mocha-ctrf-json-reporter": "^0.0.11",
"prettier": "^3.8.3",
"sinon": "^21.1.2",
"supertest": "^7.2.2",
"typescript": "^5.9.3"
},
"repository": {
"type": "git",
"url": "https://github.com/statox/api.statox.fr"
},
"license": "MIT"
}