crystal-ball/componentry

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "componentry",
  "version": "7.2.0",
  "description": "React component library for building custom design systems",
  "keywords": [
    "accessibility",
    "components-library",
    "design-systems",
    "postcss-plugin",
    "react",
    "tailwindcss",
    "typescript"
  ],
  "contributors": [
    "Dan Hedgecock <hedgecock.d@gmail.com>",
    "Phillip Sauerbeck <psauerbeck@gmail.com>"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/crystal-ball/componentry.git"
  },
  "license": "MIT",
  "exports": {
    "./babel": "./dist/commonjs/plugin-babel/index.js",
    "./postcss": "./dist/commonjs/plugin-postcss/index.js",
    "./api-docs": "./dist/api-docs.json",
    ".": {
      "browser": {
        "import": "./dist/browser/index.js",
        "require": "./dist/commonjs/index.js"
      },
      "node": {
        "import": "./dist/browser/index.js",
        "require": "./dist/commonjs/index.js"
      },
      "default": "./dist/browser/index.js"
    }
  },
  "main": "./dist/commonjs/index.js",
  "module": "./dist/browser/index.js",
  "types": "./types/index.d.ts",
  "sideEffects": false,
  "scripts": {
    "start": "npm run compile && storybook dev -p 6006 --no-open",
    "babel:watch": "BABEL_ENV=browser babel src --watch --out-dir dist/browser --ignore '**/*.spec.js'",
    "build-storybook": "storybook build",
    "test": "npm run test:lint && npm run test:types && npm run test:unit",
    "test:lint": "NODE_ENV=test eslint --format=pretty .",
    "test:types": "tsc",
    "test:unit": "BABEL_ENV=test NODE_ENV=test jest",
    "test:watch": "BABEL_ENV=test NODE_ENV=test JEST_NOTIFY=true jest --watch",
    "type-check": "tsc --noEmit",
    "type-check:watch": "tsc --noEmit --watch",
    "format": "prettier --write . !CHANGELOG.md !coverage",
    "prepublishOnly": "npm run clean && npm run compile && npm run types && npm run typedoc",
    "postpublish": "npm run clean",
    "compile": "npm run compile:browser && npm run compile:commonjs",
    "compile:browser": "BABEL_ENV=browser babel src -x '.ts,.tsx' --out-dir dist/browser",
    "compile:commonjs": "BABEL_ENV=commonjs babel src -x '.ts,.tsx' --out-dir dist/commonjs",
    "types": "tsc",
    "typedoc": "typedoc ./src/api-types.ts --json dist/api-docs.json",
    "clean": "rm -rf dist types"
  },
  "peerDependencies": {
    "postcss": "8",
    "postcss-js": "4",
    "postcss-nested": "5 || 6",
    "react": ">=16.14"
  },
  "dependencies": {
    "@babel/runtime": "^7.17",
    "clsx": "^1.1",
    "lilconfig": "^2.0",
    "nanoid": "^3.2"
  },
  "devDependencies": {
    "@babel/cli": "7.23.0",
    "@babel/core": "7.23.2",
    "@babel/plugin-transform-runtime": "7.23.2",
    "@babel/preset-typescript": "7.23.2",
    "@storybook/addon-essentials": "7.5.1",
    "@storybook/addon-links": "7.5.1",
    "@storybook/addon-mdx-gfm": "^7.5.1",
    "@storybook/addon-postcss": "2.0.0",
    "@storybook/addon-styling-webpack": "^0.0.5",
    "@storybook/addons": "7.5.1",
    "@storybook/react": "7.5.1",
    "@storybook/react-webpack5": "^7.5.1",
    "@storybook/theming": "7.5.1",
    "@testing-library/dom": "9.3.3",
    "@testing-library/jest-dom": "6.1.4",
    "@testing-library/react": "14.0.0",
    "@testing-library/user-event": "14.5.1",
    "@types/react": "18.2.31",
    "@types/react-dom": "18.2.14",
    "@typescript-eslint/eslint-plugin": "6.8.0",
    "@typescript-eslint/parser": "6.8.0",
    "autoprefixer": "10.4.16",
    "babel-plugin-tester": "11.0.4",
    "chromatic": "7.4.0",
    "eslint": "8.52.0",
    "eslint-config-eloquence": "23.1.0",
    "eslint-config-prettier": "9.0.0",
    "eslint-plugin-jsx-a11y": "6.7.1",
    "eslint-plugin-prettier": "5.0.1",
    "eslint-plugin-react": "7.33.2",
    "eslint-plugin-react-hooks": "4.6.0",
    "eslint-plugin-storybook": "^0.6.15",
    "eslint-plugin-testing-library": "6.1.0",
    "jest": "29.7.0",
    "jest-environment-jsdom": "29.7.0",
    "node-notifier": "10.0.1",
    "postcss": "8.4.31",
    "prettier": "3.0.3",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "storybook": "7.5.1",
    "tailwindcss": "3.3.3",
    "typedoc": "0.25.2",
    "typescript": "5.2.2",
    "webpack": "5.89.0"
  }
}