UNPKG

@sanity/ui-workshop

Version:

An environment for designing, reviewing, and quality-testing React components.

182 lines (181 loc) 4.88 kB
{ "name": "@sanity/ui-workshop", "version": "3.1.2", "keywords": [ "sanity", "ui", "design", "design system", "prototyping", "testing", "qa" ], "homepage": "https://www.sanity.io/", "bugs": { "url": "https://github.com/sanity-io/ui-workshop/issues" }, "repository": { "type": "git", "url": "git+https://github.com/sanity-io/ui-workshop.git" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "sideEffects": false, "type": "module", "exports": { ".": { "source": "./exports/index.ts", "default": "./dist/index.js" }, "./plugin-a11y": { "source": "./exports/plugin-a11y.ts", "default": "./dist/plugin-a11y.js" }, "./plugin-perf": { "source": "./exports/plugin-perf.ts", "default": "./dist/plugin-perf.js" }, "./runtime": { "source": "./exports/runtime.ts", "default": "./dist/runtime.js" }, "./package.json": "./package.json" }, "main": "./dist/index.js", "types": "./dist/index.d.ts", "typesVersions": { "*": { "plugin-a11y": [ "./dist/plugin-a11y.d.ts" ], "plugin-perf": [ "./dist/plugin-perf.d.ts" ], "runtime": [ "./dist/runtime.d.ts" ] } }, "bin": { "workshop": "./bin/workshop.js" }, "files": [ "bin", "dist" ], "scripts": { "build": "run-s clean pkg:build", "pkg:build": "pkg build --check --strict", "ts:check": "tsc --build", "clean": "rimraf .workshop dist", "commit": "cz", "dev": "run-p workshop:dev", "format": "prettier --write --cache --ignore-unknown .", "lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx", "prepare": "husky install", "prepublishOnly": "pnpm run build", "release": "semantic-release", "test": "vitest", "watch": "pkg watch --strict", "workshop:build": "run-s clean && node -r dotenv-flow/config -r esbuild-register -r tsconfig-paths/register scripts/build", "workshop:dev": "node -r dotenv-flow/config -r esbuild-register -r tsconfig-paths/register scripts/dev", "workshop:start": "http-server -a localhost -c-0 -p 1337 -s -P http://localhost:1337/index.html? dist" }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "*": [ "prettier --write --cache --ignore-unknown" ] }, "browserslist": "extends @sanity/browserslist-config", "prettier": "@sanity/prettier-config", "release": { "branches": [ "main", { "name": "static", "channel": "static", "prerelease": true } ], "extends": "@sanity/semantic-release-preset" }, "dependencies": { "@sanity/icons": "^3.7.4", "@vitejs/plugin-react": "^4.7.0", "axe-core": "^4.10.3", "cac": "^6.7.14", "chokidar": "^3.6.0", "cpx": "^1.5.0", "dotenv-flow": "^4.1.0", "esbuild": "^0.25.8", "esbuild-register": "^3.6.0", "express": "^5.1.0", "globby": "^11.1.0", "lodash": "^4.17.21", "mkdirp": "^2.1.6", "pako": "^2.1.0", "rimraf": "^4.4.1", "segmented-property": "^4.0.0", "vite": "^7.0.6" }, "devDependencies": { "@commitlint/config-conventional": "^19.8.1", "@sanity/browserslist-config": "^1.0.5", "@sanity/pkg-utils": "^7.9.11", "@sanity/prettier-config": "^1.0.6", "@sanity/semantic-release-preset": "^4.1.8", "@sanity/ui": "^3.0.1", "@types/cpx": "^1.5.5", "@types/express": "^5.0.3", "@types/lodash": "^4.17.20", "@types/node": "^20.17.9", "@types/pako": "^2.0.3", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@typescript-eslint/eslint-plugin": "^7.18.0", "@typescript-eslint/parser": "^7.18.0", "babel-plugin-react-compiler": "19.1.0-rc.2", "babel-plugin-styled-components": "^2.1.4", "commitizen": "^4.3.1", "commitlint": "^19.8.1", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.2", "eslint-plugin-import": "^2.32.0", "eslint-plugin-jsx-a11y": "^6.10.2", "eslint-plugin-prettier": "^5.5.3", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "6.0.0-rc.1", "eslint-plugin-simple-import-sort": "^12.1.1", "http-server": "^14.1.1", "husky": "^8.0.3", "jsdom": "^22.1.0", "npm-run-all2": "^6.2.6", "prettier": "^3.6.2", "react": "^19.1.0", "react-dom": "^19.1.0", "react-is": "^19.1.0", "semantic-release": "^23.1.1", "styled-components": "^6.1.19", "tsconfig-paths": "^4.2.0", "typescript": "5.8.3", "vitest": "^3.2.4" }, "peerDependencies": { "@sanity/ui": "^3", "react": "^19", "react-dom": "^19", "styled-components": "^6.1" }, "packageManager": "pnpm@9.15.9", "publishConfig": { "access": "public" }, "esm.sh": { "bundle": false } }