Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
2.0 KB
Raw Blame
{
  "name": "@astryxdesign/build",
  "version": "0.7.12",
  "description": "Build plugins for Astryx source builds — babel, PostCSS, and Vite integrations",
  "author": "Meta Open Source",
  "license": "MIT",
  "homepage": "https://github.com/meta/astryx#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/meta/astryx.git",
    "directory": "packages/build"
  },
  "bugs": {
    "url": "https://github.com/meta/astryx/issues"
  },
  "keywords": [
    "astryx",
    "postcss",
    "stylex",
    "css-layers",
    "design-system"
  ],
  "main": "./src/config.js",
  "exports": {
    ".": "./src/config.js",
    "./babel": "./src/babel.js",
    "./postcss": "./src/index.js",
    "./vite": {
      "types": "./dist/vite.d.ts",
      "import": "./dist/vite.mjs"
    },
    "./next": "./src/next.js",
    "./next/postcss": "./src/next-postcss.js"
  },
  "files": [
    "src",
    "dist",
    "!**/*.test.*",
    "!**/*.spec.js",
    "!**/*.spec.jsx",
    "!**/*.spec.mjs",
    "!**/*.spec.cjs",
    "!**/*.spec.ts",
    "!**/*.spec.tsx",
    "!**/*.spec.mts",
    "!**/*.spec.cts",
    "!**/*.spec.d.ts",
    "!**/__tests__/**",
    "!**/__mocks__/**",
    "!**/*.bench.*"
  ],
  "scripts": {
    "api:report": "node ../../scripts/api-report/cli.mjs --package .",
    "build": "node build.mjs",
    "prepack": "pnpm build"
  },
  "peerDependencies": {
    "@babel/core": ">=7.0.0",
    "@stylexjs/babel-plugin": ">=0.18.0",
    "@stylexjs/unplugin": ">=0.18.0",
    "vite": "catalog:"
  },
  "dependencies": {
    "autoprefixer": "^10.5.2",
    "browserslist": "^4.28.4",
    "fast-glob": "^3.3.0",
    "glob-parent": "^6.0.0",
    "is-glob": "^4.0.0",
    "lightningcss": "^1.32.0"
  },
  "devDependencies": {
    "@stylexjs/postcss-plugin": "catalog:",
    "@stylexjs/stylex": "catalog:",
    "enhanced-resolve": "^5.21.6",
    "esbuild": "catalog:",
    "next": "16.3.6"
  },
  "peerDependenciesMeta": {
    "@stylexjs/unplugin": {
      "optional": true
    },
    "vite": {
      "optional": true
    }
  }
}