-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 4.58 KB
/
package.json
File metadata and controls
129 lines (129 loc) · 4.58 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@altus4/core",
"version": "0.4.0",
"description": "AI-Enhanced MySQL Full-Text Search Engine",
"main": "dist/src/index.js",
"bin": {
"altus": "bin/altus"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"dev": "nodemon src/index.ts",
"build": "tsc && tsc-alias",
"start": "node -r dotenv/config dist/src/index.js",
"postbuild": "npm run typecheck",
"heroku-postbuild": "npm run build",
"clean": "rm -rf dist coverage .nyc_output",
"typecheck": "tsc --noEmit",
"test": "jest --testPathIgnorePatterns=tests/integration",
"test:watch": "jest --watch --testPathIgnorePatterns=tests/integration",
"test:coverage": "jest --coverage --testPathIgnorePatterns=tests/integration",
"test:integration": "jest --config=jest.integration.config.js",
"test:performance": "jest --testPathPattern=performance",
"test:all": "npm run test && npm run test:integration",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"format:src": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md}\"",
"format:tests": "prettier --write \"tests/**/*.{ts,tsx,js,jsx,json,md}\"",
"check": "npm run typecheck && npm run lint && npm run format:check",
"validate": "npm run check && npm run test",
"fix": "npm run lint:fix && npm run format",
"migrate": "./bin/altus migrate",
"migrate:run": "./bin/altus migrate:run",
"migrate:install": "./bin/altus migrate:install",
"migrate:status": "./bin/altus migrate:status",
"migrate:rollback": "./bin/altus migrate:rollback",
"migrate:reset": "./bin/altus migrate:reset",
"migrate:refresh": "./bin/altus migrate:refresh",
"migrate:fresh": "./bin/altus migrate:fresh",
"migrate:up": "./bin/altus migrate:up",
"migrate:down": "./bin/altus migrate:down",
"migrate:remote": "NODE_ENV=production npm run migrate:run",
"migrate:remote:status": "NODE_ENV=production npm run migrate:status",
"migrate:remote:rollback": "NODE_ENV=production npm run migrate:rollback",
"test:db:remote": "NODE_ENV=production npm run test:db",
"cli": "node -r dotenv/config dist/src/cli/index.js",
"test:db": "npx ts-node -r tsconfig-paths/register src/cli/test-db.ts",
"dev:start": "./bin/dev-start",
"dev:stop": "./bin/dev-stop",
"dev:reset": "./bin/dev-reset",
"dev:logs": "cd bin/dev && docker-compose logs -f",
"security:audit": "npm audit --audit-level=high",
"security:fix": "npm audit fix",
"security:verify-commits": "./bin/security/verify-commits.sh",
"security:setup-gpg": "./bin/security/setup-gpg.sh",
"security:configure-gpg": "./bin/security/setup-gpg.sh configure",
"security:generate-key": "./bin/security/generate-encryption-key.sh",
"security:generate-jwt": "./bin/security/generate-jwt-secret.sh",
"hooks:test": "./bin/test/test-hooks.sh",
"pre-commit": "lint-staged && npm run validate && npm run build",
"prepare": "husky || echo 'husky not installed; skipping prepare'"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"keywords": [
"search",
"mysql",
"fulltext",
"ai",
"database",
"typescript"
],
"author": "Jerome Thayananthajothy",
"license": "Apache-2.0",
"devDependencies": {
"@faker-js/faker": "^10.0.0",
"@types/bcrypt": "^5.0.0",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.3",
"@types/jsonwebtoken": "^9.0.2",
"@types/node": "^20.4.5",
"@types/supertest": "^6.0.3",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^8.41.0",
"@typescript-eslint/parser": "^8.41.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-unused-imports": "^4.2.0",
"husky": "^9.1.7",
"jest": "^29.6.2",
"lint-staged": "^16.1.5",
"nodemon": "^3.0.1",
"prettier": "^3.6.2",
"supertest": "^7.1.4",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"tsc-alias": "^1.8.16",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6"
},
"dependencies": {
"bcrypt": "^6.0.0",
"cors": "^2.8.5",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"helmet": "^7.0.0",
"ioredis": "^5.3.2",
"jsonwebtoken": "^9.0.1",
"mysql2": "^3.6.0",
"openai": "^4.0.0",
"rate-limiter-flexible": "^7.2.0",
"winston": "^3.10.0",
"zod": "^3.21.4",
"uuid": "^9.0.0"
}
}