UNPKG

@10up/block-components

Version:

10up Components built for the WordPress Block Editor.

150 lines (149 loc) 3.85 kB
{ "name": "@10up/block-components", "publishConfig": { "access": "public" }, "version": "1.21.2", "description": "10up Components built for the WordPress Block Editor.", "main": "./dist/index.js", "source": "index.ts", "types": "./dist/index.d.ts", "exports": { ".": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./api/*": { "import": { "types": "./dist/api/*/index.d.ts", "default": "./dist/api/*/index.js" }, "require": { "types": "./dist/api/*/index.d.ts", "default": "./dist/api/*/index.js" } }, "./components/*": { "import": { "types": "./dist/components/*/index.d.ts", "default": "./dist/components/*/index.js" }, "require": { "types": "./dist/components/*/index.d.ts", "default": "./dist/components/*/index.js" } }, "./hooks/*": { "import": { "types": "./dist/hooks/*/index.d.ts", "default": "./dist/hooks/*/index.js" }, "require": { "types": "./dist/hooks/*/index.d.ts", "default": "./dist/hooks/*/index.js" } }, "./stores/*": { "import": { "types": "./dist/stores/*/index.d.ts", "default": "./dist/stores/*/index.js" }, "require": { "types": "./dist/stores/*/index.d.ts", "default": "./dist/stores/*/index.js" } } }, "scripts": { "prepublishOnly": "npm run build", "lint": "10up-toolkit lint-js", "test": "10up-toolkit test-unit-jest", "build": "npm run clean-dist && 10up-toolkit build", "start": "10up-toolkit start", "clean": "10up-toolkit clean", "clean-dist": "rm -rf ./dist", "build-test-env": "npm run build --workspaces --if-present", "start-test-env": "npm run start-env -w example/ && npm run import-media -w example/", "test:e2e": "cypress open", "cypress:open": "cypress open --config-file ./cypress.config.js --e2e --browser chrome", "cypress:run": "cypress run --config-file ./cypress.config.js" }, "repository": { "type": "git", "url": "git+https://github.com/10up/block-components.git" }, "workspaces": [ "./", "example/" ], "keywords": [ "gutenberg", "WordPress", "block-editor" ], "author": { "name": "10up", "email": "info@10up.com", "url": "https://10up.com" }, "files": [ "dist", "README.md" ], "license": "GPL-2.0-or-later", "bugs": { "url": "https://github.com/10up/block-components.git/issues" }, "homepage": "https://github.com/10up/block-components.git#readme", "peerDependencies": { "react": "^18.3.0", "react-dom": "^18.3.0" }, "dependencies": { "@dnd-kit/core": "^6.1.0", "@dnd-kit/modifiers": "^7.0.0", "@dnd-kit/sortable": "^8.0.0", "@dnd-kit/utilities": "^3.2.2", "@emotion/react": "^11.11.4", "@emotion/styled": "^11.11.5", "@floating-ui/react-dom": "^2.1.0", "@leeoniya/ufuzzy": "^1.0.14", "@tanstack/react-query": "^5.52.0", "@typescript-eslint/parser": "^6.21.0", "@wordpress/icons": "^10.0.0", "array-move": "^4.0.0", "clsx": "^2.1.1", "react-window": "^1.8.10", "uuid": "^9.0.1", "wp-types": "^3.65.0" }, "devDependencies": { "@10up/cypress-wp-utils": "github:10up/cypress-wp-utils#build", "@types/jest": "^29.5.12", "@types/lodash": "^4.17.5", "@types/react-window": "^1.8.8", "@types/uuid": "^9.0.8", "@types/wordpress__block-editor": "^11.5.14", "@wordpress/block-editor": "^14.14.5", "@wordpress/components": "^29.5.3", "@wordpress/core-data": "^7.19.5", "@wordpress/data": "^10.19.1", "@wordpress/dependency-extraction-webpack-plugin": "^5.8.0", "@wordpress/element": "^6.19.1", "10up-toolkit": "^6.4.1", "cypress": "^13.8.1", "cypress-localstorage-commands": "^2.2.5" }, "overrides": { "react-autosize-textarea": { "react-dom": "^18.0.0", "react": "^18.0.0" } } }