mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
70 lines
2.3 KiB
JSON
70 lines
2.3 KiB
JSON
{
|
|
"name": "oxfmt-app",
|
|
"version": "0.66.0",
|
|
"private": true,
|
|
"description": "Internal development package for oxfmt. For the published package.json template, see `npm/oxfmt/package.json`.",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "dist/index.js",
|
|
"scripts": {
|
|
"build": "pnpm run build-napi-release && pnpm run build-js",
|
|
"build-dev": "pnpm run build-napi && pnpm run build-js",
|
|
"build-test": "pnpm run build-napi-test && pnpm run build-js",
|
|
"build-napi": "napi build --esm --platform --js ./bindings.js --dts ./bindings.d.ts --output-dir src-js --no-dts-cache",
|
|
"build-napi-test": "pnpm run build-napi --profile coverage",
|
|
"build-napi-release": "pnpm run build-napi --release --features allocator",
|
|
"build-js": "node scripts/build.js",
|
|
"test": "vitest run",
|
|
"conformance": "node conformance/run.ts",
|
|
"download-fixtures": "node conformance/download-fixtures.js",
|
|
"generate-config-types": "node scripts/generate-config-types.ts"
|
|
},
|
|
"dependencies": {
|
|
"prettier": "3.9.6",
|
|
"prettier-plugin-svelte": "4.1.1",
|
|
"prettier-plugin-tailwindcss": "0.0.0-insiders.19faf8b",
|
|
"tinypool": "2.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@arethetypeswrong/core": "catalog:",
|
|
"@napi-rs/cli": "catalog:",
|
|
"@oxapps/shared": "workspace:*",
|
|
"@types/node": "catalog:",
|
|
"degit": "catalog:",
|
|
"diff": "^9.0.0",
|
|
"execa": "^10.0.0",
|
|
"json-schema-to-typescript": "catalog:",
|
|
"svelte": "^5.56.2",
|
|
"tsdown": "catalog:",
|
|
"vite-plus": "catalog:",
|
|
"vitest": "catalog:",
|
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
"vscode-languageserver-textdocument": "^1.0.12"
|
|
},
|
|
"napi": {
|
|
"binaryName": "oxfmt",
|
|
"packageName": "@oxfmt/binding",
|
|
"targets": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-linux-android",
|
|
"aarch64-pc-windows-msvc",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-musl",
|
|
"aarch64-unknown-linux-ohos",
|
|
"armv7-linux-androideabi",
|
|
"armv7-unknown-linux-gnueabihf",
|
|
"armv7-unknown-linux-musleabihf",
|
|
"i686-pc-windows-msvc",
|
|
"powerpc64le-unknown-linux-gnu",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-freebsd",
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-unknown-linux-musl"
|
|
]
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
}
|
|
}
|