bylapidist/components

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@lapidist/components",
  "version": "0.0.0",
  "description": "Lapidist components",
  "author": {
    "name": "Brett Dorrans",
    "email": "hello@lapidist.net"
  },
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/bylapidist/components.git"
  },
  "bugs": {
    "url": "https://github.com/bylapidist/components/issues"
  },
  "homepage": "https://github.com/bylapidist/components#readme",
  "keywords": [
    "react",
    "components",
    "component library",
    "design system",
    "lapidist"
  ],
  "publishConfig": {
    "access": "public"
  },
  "type": "module",
  "files": [
    "dist"
  ],
  "main": "./dist/lapidist.umd.js",
  "module": "./dist/lapidist.es.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/lapidist.es.js",
      "require": "./dist/lapidist.umd.js",
      "types": "./dist/index.d.ts"
    },
    "./style.css": {
      "import": "./dist/style.css",
      "require": "./dist/style.css"
    }
  },
  "scripts": {
    "storybook": "storybook dev --port 6006",
    "build": "tsc && vite build",
    "build:storybook": "storybook build",
    "lint": "npm run lint:js && npm run lint:css",
    "lint:js": "eslint . --ext js,cjs,ts,tsx,mdx",
    "lint:css": "stylelint './src/**/*.scss'",
    "fix": "npm run lint:js -- --fix && npm run lint:css -- --fix",
    "watch": "tsc -w",
    "watch:tests": "vitest",
    "test": "npm run lint && npm run test:typecheck && npm run test:unit",
    "test:typecheck": "tsc --noEmit -p tsconfig.json",
    "test:unit": "vitest run --coverage",
    "update:snapshots": "vitest run --update",
    "prepare": "test -d node_modules/husky && husky install",
    "commit": "cz"
  },
  "dependencies": {
    "@fortawesome/fontawesome-svg-core": "^6.5.1",
    "@fortawesome/free-solid-svg-icons": "^6.5.1",
    "@fortawesome/react-fontawesome": "^0.2.0",
    "@lapidist/styles": "^6.2.0",
    "classnames": "^2.5.1",
    "react": "18.x",
    "react-dom": "18.x"
  },
  "devDependencies": {
    "@babel/core": "^7.24.0",
    "@commitlint/cli": "19.3.0",
    "@commitlint/config-conventional": "19.2.2",
    "@commitlint/cz-commitlint": "19.2.0",
    "@lapidist/linting": "^3.17.2",
    "@storybook/addon-a11y": "^8.0.0",
    "@storybook/addon-backgrounds": "^8.0.0",
    "@storybook/addon-controls": "^8.0.0",
    "@storybook/addon-docs": "^8.0.0",
    "@storybook/addon-highlight": "^8.0.0",
    "@storybook/addon-links": "^8.0.0",
    "@storybook/addon-measure": "^8.0.0",
    "@storybook/addon-outline": "^8.0.0",
    "@storybook/addon-toolbars": "^8.0.0",
    "@storybook/addon-viewport": "^8.0.0",
    "@storybook/blocks": "^8.0.0",
    "@storybook/cli": "^8.0.0",
    "@storybook/core-common": "^8.0.0",
    "@storybook/node-logger": "^8.0.0",
    "@storybook/react-vite": "^8.0.0",
    "@storybook/theming": "^8.0.0",
    "@testing-library/react": "^15.0.0",
    "@types/react": "^18.2.65",
    "@types/react-dom": "^18.2.21",
    "@vitejs/plugin-react": "^4.2.1",
    "@vitest/coverage-v8": "^1.3.1",
    "axe-playwright": "^2.0.1",
    "babel-loader": "^9.1.3",
    "commitizen": "4.3.0",
    "cz-conventional-changelog": "3.3.0",
    "husky": "^9.0.11",
    "jsdom": "^24.0.0",
    "lint-staged": "^15.2.2",
    "sass": "^1.71.1",
    "storybook": "^8.0.0",
    "typescript": "^5.4.2",
    "vite": "^5.1.6",
    "vite-plugin-dts": "^3.7.3",
    "vitest": "^1.3.1"
  },
  "peerDependencies": {
    "react": "18.x",
    "react-dom": "18.x"
  },
  "engines": {
    "node": "^20.0.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "tsc --noEmit && lint-staged"
    }
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  }
}