{ "name": "markuplint-packages", "private": true, "type": "module", "engines": { "node": ">=24" }, "scripts": { "all": "run-s up lint clean build test site:up", "build": "lerna run build", "clean": "lerna run clean", "dev": "lerna run --parallel dev", "test": "run-s test:types test:run", "test:types": "tsc -p tsconfig.spec.json", "test:run": "vitest run", "test:affected": "node --experimental-strip-types scripts/affected-tests/index.ts", "test:coverage": "vitest run --coverage", "lint": "run-p lint:oxlint lint:format lint:github-actions lint:renovate", "lint:oxlint": "oxlint --fix -c .oxlintrc.json packages vscode scripts", "lint:format": "oxfmt --write \"./{packages,vscode,website,scripts}/**/*.{ts,tsx,mts,js,cjs,mjs,json,rc,md,mdx,css}\"", "lint:github-actions": "actionlint", "lint:renovate": "renovate-config-validator --strict", "lint-check": "run-p lint-check:oxlint lint-check:format", "lint-check:oxlint": "oxlint -c .oxlintrc.json packages vscode scripts", "lint-check:format": "oxfmt --check \"./{packages,vscode,website,scripts}/**/*.{ts,tsx,mts,js,cjs,mjs,json,rc,md,mdx,css}\"", "up": "run-s up:deps up:gen up:schema", "up:deps": "npx npm-check-updates --interactive --workspaces --format group", "up:gen": "cd packages/\\@markuplint/html-spec/ && yarn run gen", "up:schema": "lerna run schema", "release": "lerna version --exact --conventional-commits --conventional-graduate --no-push", "release:alpha": "lerna version --exact --force-publish --conventional-commits --conventional-prerelease --preid alpha --no-push", "release:beta": "lerna version --exact --force-publish --conventional-commits --conventional-prerelease --preid beta --no-push", "release:rc": "lerna version --exact --force-publish --conventional-commits --conventional-prerelease --preid rc --no-push", "prerelease": "run-s build test", "check:build": "find . -type f -name \"*.d.ts\" -print | xargs grep \"packages/@markuplint\"", "vscode:build": "cd vscode && npx run-p vscode:build:extension", "vscode:dev": "cd vscode && yarn install && yarn run vscode:dev", "vscode:login": "cd vscode && yarn run vscode:login", "vscode:package": "node vscode/scripts/install.mjs", "vscode:release": "node vscode/scripts/install.mjs release", "site:dev": "cd website && yarn install && yarn run site:start", "site:lint": "cd website && yarn install && yarn run site:lint", "site:build": "cd website && yarn install && yarn run site:build", "site:up": "cd website && yarn install && yarn run site:up", "postinstall": "husky", "cli": "npx markuplint", "create-rule": "npx @markuplint/create-rule", "commit": "cz", "co": "cz", "bench:update": "node --experimental-strip-types tests/external/bench/update-snapshots.ts", "bench:update:ml": "node --experimental-strip-types tests/external/bench/update-snapshots.ts --target markuplint", "bench:compare": "node --experimental-strip-types tests/external/bench/compare.ts", "bench:generate-spec": "node --experimental-strip-types tests/external/bench/generate-spec.ts", "bench:report": "node --experimental-strip-types tests/external/bench/report.ts", "bench:verify": "vitest run --config vitest.nu-validator.config.ts", "bench:xref": "node --experimental-strip-types tests/external/bench/xref-issue.ts", "spec-baseline": "node --experimental-strip-types scripts/spec-baseline/cli.ts", "spec-citations": "node --experimental-strip-types scripts/spec-citations/cli.ts" }, "lint-staged": { "./{{packages,website,vscode,scripts}/**/*,*}.{ts,tsx,mts,js,cjs,mjs,json,md,mdx,css}": [ "oxfmt --write" ], "./{packages,vscode,scripts}/**/*.{ts,mjs,cjs,spec.js}": [ "oxlint --fix -c .oxlintrc.json" ], "./test/**/*.{pug,html}": [ "yarn cli" ], ".github/workflows/*.yml": [ "actionlint" ] }, "workspaces": [ "packages/*", "packages/@markuplint/*", "packages/@markuplint-dev/*", "packages/@markuplint-test/*", "vscode" ], "devDependencies": { "@commitlint/cli": "21.2.4", "@commitlint/config-conventional": "21.2.4", "@commitlint/config-lerna-scopes": "21.2.0", "cheerio": "1.2.0", "commitizen": "4.3.2", "cz-conventional-changelog": "3.3.0", "eslint-plugin-regexp": "3.3.3", "husky": "9.1.7", "lerna": "10.1.1", "lint-staged": "17.6.0", "npm-run-all2": "9.0.4", "oxfmt": "0.78.0", "oxlint": "1.93.0", "renovate": "44.234.0", "textlint": "15.8.0", "textlint-filter-rule-comments": "1.3.0", "textlint-rule-preset-ja-spacing": "3.0.4", "textlint-rule-preset-ja-technical-writing": "12.0.2", "textlint-rule-preset-japanese": "10.0.4", "textlint-rule-preset-jtf-style": "3.0.3", "ts-node": "10.9.2", "tsx": "4.23.15", "typescript": "6.0.3", "vite": "8.3.8", "vitest": "5.1.0" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "packageManager": "yarn@4.18.1", "resolutions": { "markuplint": "workspace:*", "undici@npm:7.29.0": "8.12.4" }, "dependenciesMeta": { "@vscode/vsce-sign": { "built": true }, "core-js-pure": { "built": false }, "dtrace-provider": { "built": false }, "esbuild": { "built": true }, "nx": { "built": true }, "protobufjs": { "built": false }, "re2": { "built": false } } }