-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 3.91 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
{
"name": "api.statox.fr",
"version": "1",
"description": "The code for my personal API",
"engines": {
"node": "20.x"
},
"main": "index.ts",
"type": "module",
"scripts": {
"setup-githooks": "./githooks/setup.sh",
"check": "npm run lint && npm run prettier",
"prettier": "prettier --check --cache '*.json' 'src/**/*.ts'",
"prettier:fix": "prettier -w --cache '*.json' 'src/**/*.ts'",
"lint": "eslint",
"lint:fix": "npm run lint --fix",
"heroku:login": "npx heroku 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",
"postinstall": "tsc",
"env": "./src/tools/containers-env.sh up",
"env:stop": "./src/tools/containers-env.sh down",
"serve": "TZ=UTC nodemon 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"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.740.0",
"@aws-sdk/s3-request-presigner": "^3.740.0",
"@elastic/elasticsearch": "^8.17.0",
"@slack/webhook": "^7.0.4",
"ajv": "^8.17.1",
"aws-sdk-client-mock": "^4.1.0",
"cors": "^2.8.5",
"express": "^4.21.2",
"express-json-validator-middleware": "^3.0.1",
"express-oauth2-jwt-bearer": "^1.1.0",
"formidable": "^3.5.2",
"jsdom": "^26.0.0",
"lunarphase-js": "^2.0.3",
"luxon": "^3.5.0",
"mime-types": "^2.1.35",
"mustache-express": "^1.3.2",
"mysql2": "^3.12.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.19.0",
"@smithy/util-stream": "^4.0.1",
"@types/chai": "^5.0.1",
"@types/cors": "^2.8.17",
"@types/eslint__eslintrc": "^2.1.2",
"@types/eslint__js": "^8.42.3",
"@types/express": "^5.0.0",
"@types/formidable": "^3.4.5",
"@types/jsdom": "^21.1.7",
"@types/luxon": "^3.3.7",
"@types/mime-types": "^2.1.4",
"@types/mocha": "^10.0.10",
"@types/mustache-express": "^1.2.5",
"@types/sinon": "^17.0.2",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"aws-sdk-client-mock-jest": "^4.1.0",
"chai": "^5.1.2",
"ctrf": "^0.0.12",
"eslint": "^9.19.0",
"eslint-config-prettier": "^10.0.1",
"github-actions-ctrf": "^0.0.58",
"globals": "^15.14.0",
"json-schema-to-ts": "^3.1.1",
"mocha": "^11.1.0",
"mocha-ctrf-json-reporter": "^0.0.6",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
"sinon": "^19.0.2",
"supertest": "^7.0.0",
"typescript": "^5.7.3"
},
"repository": {
"type": "git",
"url": "https://github.com/statox/api.statox.fr"
},
"license": "MIT"
}