83 lines
No EOL
2.3 KiB
JSON
83 lines
No EOL
2.3 KiB
JSON
{
|
|
"name": "@astrojs/compiler-binding",
|
|
"version": "0.3.0",
|
|
"description": "Astro Compiler",
|
|
"keywords": [
|
|
"astro",
|
|
"compiler",
|
|
"javascript",
|
|
"typescript"
|
|
],
|
|
"homepage": "https://astro.build",
|
|
"bugs": "https://github.com/withastro/compiler/issues",
|
|
"license": "MIT",
|
|
"author": "Astro contributors",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/withastro/compiler-rs.git",
|
|
"directory": "crates/astro_napi"
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"index.js",
|
|
"browser.js",
|
|
"webcontainer-fallback.cjs"
|
|
],
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org/",
|
|
"provenance": true
|
|
},
|
|
"devDependencies": {
|
|
"@emnapi/runtime": "^1.8.1",
|
|
"@napi-rs/cli": "^3",
|
|
"@napi-rs/wasm-runtime": "^1.1.1",
|
|
"@types/node": "^22"
|
|
},
|
|
"napi": {
|
|
"binaryName": "astro",
|
|
"packageName": "@astrojs/compiler-binding",
|
|
"targets": [
|
|
"aarch64-apple-darwin",
|
|
"aarch64-pc-windows-msvc",
|
|
"aarch64-unknown-linux-gnu",
|
|
"aarch64-unknown-linux-musl",
|
|
"wasm32-wasip1-threads",
|
|
"x86_64-apple-darwin",
|
|
"x86_64-pc-windows-msvc",
|
|
"x86_64-unknown-linux-gnu",
|
|
"x86_64-unknown-linux-musl"
|
|
],
|
|
"wasm": {
|
|
"browser": {
|
|
"fs": false
|
|
}
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": "^20.19.0 || >=22.12.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@astrojs/compiler-binding-darwin-arm64": "0.3.0",
|
|
"@astrojs/compiler-binding-win32-arm64-msvc": "0.3.0",
|
|
"@astrojs/compiler-binding-linux-arm64-gnu": "0.3.0",
|
|
"@astrojs/compiler-binding-linux-arm64-musl": "0.3.0",
|
|
"@astrojs/compiler-binding-wasm32-wasi": "0.3.0",
|
|
"@astrojs/compiler-binding-darwin-x64": "0.3.0",
|
|
"@astrojs/compiler-binding-win32-x64-msvc": "0.3.0",
|
|
"@astrojs/compiler-binding-linux-x64-gnu": "0.3.0",
|
|
"@astrojs/compiler-binding-linux-x64-musl": "0.3.0"
|
|
},
|
|
"scripts": {
|
|
"artifacts": "napi artifacts",
|
|
"build-dev": "napi build --esm --platform",
|
|
"postbuild-dev": "node patch-binding.js",
|
|
"build-test": "pnpm run build-dev",
|
|
"build": "napi build --esm --platform --features allocator --release",
|
|
"postbuild": "node patch-binding.js",
|
|
"test": "node --import tsx --test ./test/*.test.ts",
|
|
"version": "napi version"
|
|
}
|
|
} |