-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
88 lines (88 loc) · 2.97 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
{
"name": "pix-bot",
"version": "1.104.4",
"description": "Automating development actions",
"engines": {
"node": "^20.18.0"
},
"main": "index.js",
"type": "module",
"scripts": {
"configure": "cp sample.env .env && npm ci",
"deploy": "npm run deploy:minor",
"deploy:major": "npm version major && npm run deploy:tag",
"deploy:minor": "npm version minor && npm run deploy:tag",
"deploy:patch": "npm version patch && npm run deploy:tag",
"deploy:tag": "git push --tags && git push",
"db:new-migration": "npx knex --knexfile ./db/knexfile.js migrate:make $migrationname",
"db:create": "node ./db/create-database.js",
"db:delete": "node ./db/drop-database.js",
"db:empty": "node ./db/empty-database.js",
"db:migrate": "knex --knexfile ./db/knexfile.js migrate:latest",
"db:rollback:latest": "knex --knexfile ./db/knexfile.js migrate:down",
"db:prepare": "npm run db:delete && npm run db:create && npm run db:migrate",
"db:seed": "knex --knexfile ./db/knexfile.js seed:run",
"db:reset": "npm run db:prepare && npm run db:seed",
"lint": "npm run lint:dependencies && npm run lint:code",
"lint:code": "eslint .",
"lint:dependencies": "depcheck",
"lint:fix": "eslint --fix .",
"local:trigger-lint-on-commit": "husky install",
"local:prevent-trigger-lint-on-commit": "git config --unset core.hooksPath",
"preinstall": "npx check-engine",
"postdeploy": "DEBUG=knex:* npm run db:migrate",
"start": "node index.js",
"test": "NODE_ENV=test mocha --recursive --exit --reporter=${MOCHA_REPORTER:-dot} test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/1024pix/pix-bot.git"
},
"author": "GIP Pix",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/1024pix/pix-bot/issues"
},
"homepage": "https://github.com/1024pix/pix-bot#readme",
"dependencies": {
"@1024pix/scalingo-review-app-manager": "^2.1.1",
"@hapi/boom": "^10.0.0",
"@hapi/hapi": "^21.1.0",
"@octokit/rest": "^21.0.0",
"axios": "^1.2.1",
"axios-retry": "^4.0.0",
"cron": "^2.1.0",
"dayjs": "^1.11.7",
"dotenv": "^16.0.3",
"knex": "^3.1.0",
"lodash": "^4.17.21",
"node-fetch": "^3.0.0",
"pg": "^8.13.0",
"scalingo": "^0.8.0",
"slack-block-builder": "^2.7.2",
"tsscmp": "^1.0.6"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.6",
"@babel/plugin-syntax-import-assertions": "^7.24.6",
"@eslint/js": "^9.1.1",
"chai": "^5.0.0",
"chai-nock": "^1.3.0",
"depcheck": "^1.4.3",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-mocha": "^10.4.3",
"eslint-plugin-prettier": "^5.0.0",
"fs-extra": "^11.1.0",
"http-status-codes": "^2.2.0",
"husky": "^9.0.0",
"lint-staged": "^15.0.0",
"mocha": "^10.2.0",
"mocha-junit-reporter": "^2.2.1",
"nock": "^13.2.9",
"prettier": "^3.0.0",
"simple-git": "^3.15.1",
"sinon": "^18.0.0",
"sinon-chai": "^4.0.0"
}
}