xonecas.io
719
Le

lextide / files

lextide / package.json

1.1 KB
1{
2	"name": "lextide",
3	"version": "0.2.1",
4	"description": "TypeScript-first, HAST-first, streaming-capable rewrite of lowlight.",
5	"type": "module",
6	"packageManager": "bun@1.3.9",
7	"main": "./dist/index.js",
8	"types": "./dist/index.d.ts",
9	"exports": {
10		".": {
11			"types": "./dist/index.d.ts",
12			"import": "./dist/index.js"
13		}
14	},
15	"files": [
16		"dist",
17		"README.md"
18	],
19	"publishConfig": {
20		"access": "public"
21	},
22	"scripts": {
23		"build": "rm -rf dist && bun build ./src/index.ts --outdir ./dist --target node --format esm && tsc -p tsconfig.build.json",
24		"test": "bun test --pass-with-no-tests",
25		"format": "biome check --write .",
26		"format:docs": "prettier --write \"**/*.md\"",
27		"lint": "biome lint .",
28		"typecheck": "tsc --noEmit",
29		"check": "biome check . && bun run typecheck && bun run test",
30		"pack:dry": "bun publish --dry-run --access public",
31		"prepublishOnly": "bun run build",
32		"prepare": "command -v lefthook >/dev/null 2>&1 && lefthook install || true"
33	},
34	"devDependencies": {
35		"@biomejs/biome": "^2.4.11",
36		"lefthook": "^2.1.5",
37		"prettier": "^3.8.2",
38		"typescript": "^6.0.2"
39	}
40}