Skip to content

Commit

Permalink
chore: add vitest and tsx to devDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Nov 6, 2024
1 parent e28ae92 commit 2c778ee
Show file tree
Hide file tree
Showing 2 changed files with 1,059 additions and 17 deletions.
25 changes: 8 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,15 @@
"build:js": "rimraf lib && tsc -p .",
"build:gyp": "node-gyp rebuild && pnpm --no-bail prepare:clangd",
"prepare:clangd": "cd build && compiledb make -f binding.Makefile -n || true",
"prepare:types": "pnpm -s dlx tsx scripts/inferFieldMetadata.ts && pnpm -s dlx tsx scripts/generateTypes.ts && pnpm -s format",
"prepare:tests": "pnpm -s dlx tsx scripts/generateTests.ts",
"prepare:types": "tsx scripts/inferFieldMetadata.ts && tsx scripts/generateTypes.ts && pnpm -s format",
"prepare:tests": "tsx scripts/generateTests.ts",
"prepublishOnly": "pnpm -s build",
"install": "[ ! -d .git ] && prebuild-install --runtime napi || true",
"ci:prebuild": "prebuild --runtime napi --target 8 --strip --verbose",
"format": "biome format --write package.json src/lib/*.ts test/*.ts scripts/*.ts",
"test": "pnpm -s dlx vitest@2.0.5"
"test": "vitest"
},
"keywords": [
"postgres",
"postgresql",
"pg",
"query",
"parser",
"plpgsql"
],
"keywords": ["postgres", "postgresql", "pg", "query", "parser", "plpgsql"],
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^8.1.0",
Expand All @@ -59,19 +52,17 @@
"radashi": "^12.2.0",
"rimraf": "^6.0.1",
"tinyrun": "^1.0.1",
"tsx": "^4.19.2",
"typescript": "^5.5.4",
"vitest": "^2.1.4",
"watchlist": "npm:@aleclarson/watchlist@^0.3.3"
},
"files": [
"lib"
],
"files": ["lib"],
"engines": {
"node": ">=16"
},
"binary": {
"napi_versions": [
8
]
"napi_versions": [8]
},
"config": {
"runtime": "napi",
Expand Down
Loading

0 comments on commit 2c778ee

Please sign in to comment.