@henrychong-ai/mcp-neo4j-knowledge-graph 1.8.6 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +15 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@henrychong-ai/mcp-neo4j-knowledge-graph",
3
- "version": "1.8.6",
3
+ "version": "1.9.1",
4
4
  "description": "Neo4j-based knowledge graph MCP server with temporal versioning and semantic search",
5
5
  "license": "MIT",
6
6
  "author": "Henry Chong <henry@henrychong.ai>",
@@ -35,17 +35,17 @@
35
35
  ],
36
36
  "scripts": {
37
37
  "build": "tsc && shx chmod +x dist/*.js",
38
- "prepare": "npm run build",
38
+ "prepare": "husky",
39
39
  "dev": "tsc --watch",
40
40
  "test": "vitest run",
41
41
  "test:watch": "vitest",
42
42
  "test:coverage": "vitest run --coverage",
43
43
  "test:verbose": "clear && vitest run --reporter verbose",
44
- "test:integration": "TEST_INTEGRATION=true npm test",
44
+ "test:integration": "TEST_INTEGRATION=true pnpm test",
45
45
  "lint": "eslint 'src/**/*.ts'",
46
46
  "lint:fix": "eslint 'src/**/*.ts' --fix",
47
47
  "format": "prettier --write \"**/*.{ts,json,md}\"",
48
- "fix": "npm run lint:fix && npm run format",
48
+ "fix": "pnpm run lint:fix && pnpm run format",
49
49
  "neo4j:init": "tsx src/cli/neo4j-setup.ts init",
50
50
  "neo4j:test": "tsx src/cli/neo4j-setup.ts test",
51
51
  "embeddings:generate": "tsx src/cli/generate-embeddings.ts",
@@ -75,6 +75,8 @@
75
75
  "eslint-config-prettier": "^10.1.8",
76
76
  "eslint-plugin-prettier": "^5.5.4",
77
77
  "glob": "^11.0.1",
78
+ "husky": "^9.1.7",
79
+ "lint-staged": "^16.2.7",
78
80
  "prettier": "^3.6.2",
79
81
  "rimraf": "^6.0.1",
80
82
  "semver": "^7.6.0",
@@ -91,5 +93,14 @@
91
93
  },
92
94
  "engines": {
93
95
  "node": ">=20.0.0"
96
+ },
97
+ "lint-staged": {
98
+ "*.ts": [
99
+ "eslint --fix",
100
+ "prettier --write"
101
+ ],
102
+ "*.{json,md}": [
103
+ "prettier --write"
104
+ ]
94
105
  }
95
106
  }