An open source design system that's fully customizable and agent ready
TypeScript
{
"name": "@astryxdesign/lab",
"version": "0.1.9",
"private": true,
"description": "Experimental Astryx components — published to npm only under the @canary dist-tag for early testing; never released as a stable (latest) version.",
"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/lab"
},
"bugs": {
"url": "https://github.com/meta/astryx/issues"
},
"keywords": [
"astryx",
"lab",
"experimental",
"design-system"
],
"astryx": {
"canaryOnly": true,
"_comment": "Published ONLY to the @canary dist-tag (see .github/workflows/release.yml). Never published as a stable `latest` release. `private: true` is intentional and must stay — it is npm's hard guarantee against an accidental stable publish."
},
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": [
"**/*.css"
],
"files": [
"astryx.integration.mjs",
"blocks",
"dist",
"src",
"README.md",
"CHANGELOG.md"
],
"exports": {
".": {
"source": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./lab.css": {
"default": "./dist/lab.css"
}
},
"scripts": {
"prepack": "pnpm build",
"build": "node ../../scripts/clean-dist.mjs && pnpm build:esm && tsc --project tsconfig.build.json && node ../../scripts/add-declaration-extensions.mjs && pnpm build:css && node ../../scripts/check-no-dev-jsx.mjs && node ../../scripts/check-fully-specified.mjs",
"build:esm": "babel src --out-dir dist --extensions .ts,.tsx --out-file-extension .js --ignore \"**/*.test.ts,**/*.test.tsx,**/__tests__/**,**/*.perf.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css,**/*.css.d.ts\" --config-file ./babel.config.cjs",
"build:css": "node ../../scripts/build-css.mjs --package lab",
"dev": "babel src --watch --out-dir dist --extensions .ts,.tsx --out-file-extension .js --ignore \"**/*.test.*,**/*.doc.mjs,**/*.d.ts,**/*.css*\" --config-file ./babel.config.cjs",
"test": "vitest run --root ../..",
"test:watch": "vitest --root ../..",
"lint": "eslint src",
"typecheck:docs": "tsc --project tsconfig.docs.json",
"typecheck": "tsc --project tsconfig.json --noEmit && pnpm typecheck:docs",
"generate:emoji-data": "node scripts/generate-emoji-data.mjs"
},
"peerDependencies": {
"@stylexjs/stylex": ">=0.10.0",
"@astryxdesign/core": "0.7.12",
"react": ">=19.0.0",
"react-dom": ">=19.0.0"
},
"dependencies": {
"d3-array": "^3.2.4",
"d3-scale": "^4.0.2",
"d3-shape": "^3.2.0"
},
"devDependencies": {
"@astryxdesign/a11y-spec": "workspace:*",
"@astryxdesign/cli": "workspace:*",
"@astryxdesign/interaction-harness": "workspace:*",
"@babel/cli": "catalog:",
"@babel/core": "catalog:",
"@babel/preset-react": "catalog:",
"@babel/preset-typescript": "catalog:",
"@stylexjs/babel-plugin": "catalog:",
"@testing-library/react": "catalog:",
"@types/d3-array": "^3.2.2",
"@types/d3-scale": "^4.0.9",
"@types/d3-shape": "^3.1.8",
"emojibase-data": "17.0.0",
"temporal-polyfill": "^1.0.6"
}
}