{
  "name": "@tangible/fields",
  "description": "React library for form field types",
  "version": "2025.6.5",
  "type": "module",
  "repository": {
    "url": "git+ssh://git@github.com/tangibleinc/fields.git"
  },
  "tangible": {
    "deployType": "module"
  },
  "scripts": {
    "start": "wp-env start",
    "start:update": "wp-env start --update",
    "stop": "wp-env stop",
    "dev": "roll dev",
    "build": "roll build",
    "format": "roll format",
    "postinstall": "roll install",
    "update": "roll update",
    "install:dev": "roll install --dev",
    "update:dev": "roll update --dev",
    "archive": "roll archive -y && rm -rf publish/tangible-fields && unzip -q publish/tangible-fields.zip -d publish/ && npm run now:test:archive",
    "jest:test": "jest --config=tests/jest/jest.config.js --silent=false test",
    "now": "wp-now start --blueprint=blueprint.dev.json",
    "now:dev": "concurrently --raw 'roll dev' 'npm run now'",
    "now:test": "roll run tests/now/index.ts",
    "now:test:archive": "roll run tests/now/index.ts TEST_ARCHIVE=1",
    "-- Local environment --": "https://developer.wordpress.org/block-editor/reference-guides/packages/packages-env",
    "env": "wp-env",
    "composer": "FOLDER=`basename $(realpath $PWD)`; wp-env run cli --env-cwd=wp-content/plugins/$FOLDER composer",
    "composer:install": "wp-env run cli sudo apk add git && npm run composer install",
    "composer:update": "npm run composer update",
    "test": "FOLDER=`basename $(realpath $PWD)`; wp-env run tests-wordpress /var/www/html/wp-content/plugins/$FOLDER/vendor/bin/phpunit --testdox -c /var/www/html/wp-content/plugins/$FOLDER/phpunit.xml --verbose",
    "test:7.4": "WP_ENV_PHP_VERSION=7.4 wp-env start && npm run test",
    "test:8.2": "WP_ENV_PHP_VERSION=8.2 wp-env start && npm run test",
    "test:all": "npm run test:7.4 && npm run test:8.2 && npm run e2e",
    "env:destroy": "wp-env destroy",
    "env:clean": "wp-env clean all",
    "-- End-to-end testing --": "https://playwright.dev/",
    "e2e": "playwright test --config playwright.config.js",
    "e2e:install": "playwright install chromium",
    "e2e:debug": "npm run e2e -- --debug",
    "e2e:ui": "npm run e2e -- --ui",
    "e2e:watch": "chokidar 'tests/e2e/**/*.js' --initial -c 'npm run e2e -- --retries=0'",
    "-- Storybook --": "https://storybook.js.org",
    "storybook": "storybook dev",
    "storybook:build": "storybook build"
  },
  "dependencies": {
    "@codemirror/autocomplete": "^6.18.6",
    "@codemirror/basic-setup": "^0.20.0",
    "@codemirror/commands": "^6.8.1",
    "@codemirror/lang-html": "^6.4.9",
    "@codemirror/language": "^6.11.0",
    "@codemirror/search": "^6.5.10",
    "@codemirror/state": "^6.5.2",
    "@codemirror/view": "^6.36.5",
    "@react-aria/color": "^3.0.6",
    "prosemirror-example-setup": "^1.2.3",
    "prosemirror-menu": "^1.2.4",
    "prosemirror-model": "^1.25.0",
    "prosemirror-schema-basic": "^1.2.4",
    "prosemirror-schema-list": "^1.5.1",
    "prosemirror-state": "^1.4.3",
    "prosemirror-view": "^1.39.1",
    "react-aria": "^3.39.0",
    "react-stately": "^3.37.0"
  },
  "devDependencies": {
    "@babel/preset-env": "^7.26.9",
    "@babel/preset-react": "^7.26.3",
    "@playwright/test": "^1.52.0",
    "@storybook/addon-docs": "^9.0.5",
    "@storybook/addon-onboarding": "^9.0.5",
    "@storybook/addon-webpack5-compiler-swc": "^3.0.0",
    "@storybook/react-webpack5": "^9.0.5",
    "@tangible/now": "^3.0.2",
    "@tangible/roller": "^2.1.4",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@wordpress/e2e-test-utils-playwright": "^1.22.0",
    "@wordpress/env": "^10.22.0",
    "babel-jest": "^29.7.0",
    "chokidar-cli": "^3.0.0",
    "concurrently": "^9.1.2",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "prop-types": "^15.8.1",
    "react-test-renderer": "^19.1.0",
    "rollup-plugin-visualizer": "^5.14.0",
    "sass": "1.86.3",
    "storybook": "^9.0.5",
    "testra": "^2.1.5"
  }
}
