Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.95 KB
/
Copy pathpackage.json
File metadata and controls
62 lines (62 loc) · 1.95 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
{
"name": "prettier-plugin-postgresql",
"version": "0.4.0",
"description": "Prettier plugin for PostgreSQL using the official libpg_query parser",
"author": "Mike Schall",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/schallm/prettier-sql.git",
"directory": "packages/plugin-pgsql"
},
"homepage": "https://github.com/schallm/prettier-sql/tree/main/packages/plugin-pgsql#readme",
"bugs": {
"url": "https://github.com/schallm/prettier-sql/issues"
},
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"bin/dotnet"
],
"keywords": [
"prettier",
"prettier-plugin",
"sql",
"postgresql",
"postgres",
"pgsql",
"formatter"
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
"prettier": ">=3.0.0"
},
"dependencies": {
"node-api-dotnet": "0.9.27"
},
"devDependencies": {
"@prettier-sql/core": "workspace:*"
},
"scripts": {
"build:dotnet": "dotnet restore src/dotnet/PgScriptDom/PgScriptDom.csproj && dotnet msbuild src/dotnet/PgScriptDom/PgScriptDom.csproj /t:Publish /p:Configuration=Release \"/p:PublishDir=../../../bin/dotnet/\" && node scripts/copy-native.mjs",
"build:ts": "tsc -p tsconfig.json && node scripts/bundle-core.mjs",
"build:ts:watch": "tsc -p tsconfig.json --watch",
"build": "pnpm run build:dotnet && pnpm run build:ts",
"format:ts": "prettier --write \"src/plugin/**/*.ts\"",
"format:md": "prettier --write \"**/*.md\" --ignore-path .gitignore",
"format:cs": "dotnet format src/dotnet/PgScriptDom/PgScriptDom.csproj",
"format": "pnpm run format:ts && pnpm run format:md && pnpm run format:cs",
"test": "vitest run",
"test:watch": "vitest",
"check:docs": "node scripts/check-docs.mjs",
"fix:docs": "node scripts/check-docs.mjs --fix",
"format:sql": "node scripts/format-sql.mjs"
}
}