64 lines
1.8 KiB
JSON
64 lines
1.8 KiB
JSON
{
|
|
"name": "@headlessui/react",
|
|
"version": "2.0.0-alpha.1",
|
|
"description": "A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.",
|
|
"main": "dist/index.cjs",
|
|
"typings": "dist/index.d.ts",
|
|
"module": "dist/headlessui.esm.js",
|
|
"license": "MIT",
|
|
"files": [
|
|
"README.md",
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
"types": {
|
|
"import": "./dist/index.d.ts",
|
|
"require": "./dist/index.d.cts"
|
|
},
|
|
"import": "./dist/headlessui.esm.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tailwindlabs/headlessui.git",
|
|
"directory": "packages/@headlessui-react"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "../../scripts/build.sh --external:react --external:react-dom",
|
|
"watch": "../../scripts/watch.sh --external:react --external:react-dom",
|
|
"test": "../../scripts/test.sh",
|
|
"lint": "../../scripts/lint.sh",
|
|
"lint-types": "yarn run attw -P",
|
|
"playground": "yarn workspace playground-react dev",
|
|
"clean": "rimraf ./dist"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16 || ^17 || ^18",
|
|
"react-dom": "^16 || ^17 || ^18"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^13.0.0",
|
|
"@types/react": "^18.2.14",
|
|
"@types/react-dom": "^18.2.6",
|
|
"esbuild": "^0.11.18",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"snapshot-diff": "^0.8.1"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/react": "^0.26.2",
|
|
"@tanstack/react-virtual": "3.0.0-beta.60",
|
|
"@react-aria/focus": "^3.14.3",
|
|
"@react-aria/interactions": "3.0.0-nightly.2584"
|
|
}
|
|
}
|