{
  "name": "@stylexswc/rs-compiler",
  "description": "High-performance Rust/NAPI-RS/SWC compiler for StyleX CSS-in-JS with compile-time atomic CSS extraction, metadata, source maps, and Babel-plugin replacement APIs for Node.js.",
  "version": "0.18.4",
  "private": false,
  "license": "MIT",
  "files": [
    "dist/index.d.ts",
    "dist/index.js",
    "dist/transform.d.ts",
    "dist/transform.js",
    "README.md",
    "LICENSE"
  ],
  "publishConfig": {
    "registry": "https://registry.npmjs.org/",
    "access": "public"
  },
  "config": {
    "scripty": {
      "path": "../../scripts/packages"
    }
  },
  "dependencies": {
    "picomatch": "^4.0.4"
  },
  "devDependencies": {
    "@babel/core": "^8.0.1",
    "@emnapi/runtime": "2.0.0-alpha.3",
    "@napi-rs/cli": "^3.8.2",
    "@stylexjs/babel-plugin": "^0.19.0",
    "@stylexswc/ast": "0.18.4",
    "@stylexswc/enums": "0.18.4",
    "@stylexswc/logs": "0.18.4",
    "@stylexswc/macros": "0.18.4",
    "@stylexswc/regex": "0.18.4",
    "@stylexswc/structures": "0.18.4",
    "@stylexswc/transform": "0.18.4",
    "@stylexswc/types": "0.18.4",
    "@stylexswc/typescript-config": "0.18.4",
    "@stylexswc/utils": "0.18.4",
    "@swc/core": "^1.15.43",
    "@taplo/cli": "^0.7.0",
    "@types/babel__core": "^7.20.5",
    "@types/node": "^26.1.2",
    "@types/picomatch": "^4.0.3",
    "chalk": "^6.0.0",
    "npm-run-all2": "^9.0.3",
    "tinybench": "^6.1.2",
    "tsx": "^4.23.11",
    "typescript": "7.0.2",
    "vitest": "^4.1.10"
  },
  "peerDependencies": {
    "@swc/core": "^1"
  },
  "bugs": "https://github.com/Dwlad90/stylex-swc-plugin/issues",
  "engines": {
    "node": ">=20"
  },
  "homepage": "https://github.com/Dwlad90/stylex-swc-plugin/tree/develop/crates/stylex-rs-compiler#readme",
  "keywords": [
    "atomic-css",
    "babel-plugin-alternative",
    "compiler",
    "css",
    "css-extraction",
    "css-in-js",
    "jest",
    "napi",
    "napi-rs",
    "nextjs",
    "node-addon",
    "performance",
    "postcss",
    "rollup",
    "rspack",
    "rust",
    "source-maps",
    "stylex",
    "stylex-babel-plugin",
    "stylex-compiler",
    "stylex-swc",
    "swc",
    "turbopack",
    "vite",
    "webpack"
  ],
  "main": "dist/index.js",
  "napi": {
    "binaryName": "rs-compiler",
    "targets": [
      "x86_64-unknown-linux-gnu",
      "x86_64-pc-windows-msvc",
      "x86_64-apple-darwin",
      "aarch64-apple-darwin",
      "aarch64-unknown-linux-gnu",
      "x86_64-unknown-linux-musl",
      "aarch64-pc-windows-msvc"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Dwlad90/stylex-swc-plugin.git",
    "directory": "crates/stylex-rs-compiler"
  },
  "optionalDependencies": {
    "@stylexswc/rs-compiler-linux-x64-gnu": "0.18.4",
    "@stylexswc/rs-compiler-win32-x64-msvc": "0.18.4",
    "@stylexswc/rs-compiler-darwin-x64": "0.18.4",
    "@stylexswc/rs-compiler-darwin-arm64": "0.18.4",
    "@stylexswc/rs-compiler-linux-arm64-gnu": "0.18.4",
    "@stylexswc/rs-compiler-linux-x64-musl": "0.18.4",
    "@stylexswc/rs-compiler-win32-arm64-msvc": "0.18.4"
  },
  "scripts": {
    "artifacts": "napi artifacts",
    "bench": "node --import tsx/esm benchmark/bench.ts",
    "bench:budget": "node --import tsx/esm benchmark/bench-budget.ts",
    "bench:compare": "node --import tsx/esm benchmark/bench-compare.ts",
    "bench:revisions": "node --import tsx/esm benchmark/bench-revisions.ts",
    "bench:verdict": "node --import tsx/esm benchmark/bench-verdict.ts",
    "build": "napi build --platform --release --output-dir dist --js transform.js --dts transform.d.ts",
    "build:debug": "napi build --platform",
    "build:ts": "tsc",
    "check:artifacts": "scripty ./dist/rs-compiler.*.node",
    "format": "run-p format:rs format:toml",
    "format:check": "run-p format:rs:check format:toml:check",
    "format:rs": "cargo fmt --all",
    "format:rs:check": "cargo fmt -- --check",
    "format:toml": "taplo format",
    "format:toml:check": "taplo format --check",
    "postbuild": "pnpm run build:ts && pnpm run check:artifacts",
    "test": "vitest run",
    "test:coverage": "scripty",
    "test:flamegraph": "scripty",
    "typecheck": "scripty --rs && pnpm run typecheck:all",
    "typecheck:all": "run-p typecheck:ts typecheck:test typecheck:bench",
    "typecheck:bench": "tsc --noEmit --project benchmark/tsconfig.json",
    "typecheck:test": "tsc --noEmit --project __test__/tsconfig.json",
    "typecheck:ts": "tsc --noEmit",
    "version": "napi version"
  }
}