OleksiiKachan/wonder-engine

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "wonder-engine",
  "version": "0.0.36",
  "private": false,
  "description": "Engine for ui kits and design systems",
  "repository": "https://github.com/OleksiiKachan/wonder-engine",
  "license": "MIT",
  "author": "Oleksii Kachan",
  "sideEffects": false,
  "files": [
    "dist"
  ],
  "main": "./dist/wonder-engine.cjs.js",
  "module": "./dist/wonder-engine.es.js",
  "types": "./dist/types/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/wonder-engine.es.js",
      "require": "./dist/wonder-engine.cjs.js"
    },
    "./styles": {
      "import": "./dist/style.css",
      "require": "./dist/style.css"
    }
  },
  "scripts": {
    "analyze:bundle": "BUNDLE_ANALYZE=1 webpack",
    "build": "yarn build:js && yarn build:types",
    "build:js": "vite build",
    "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
    "build:storybook": "build-storybook",
    "lint": "eslint",
    "prepare": "husky install",
    "storybook": "start-storybook -p 6006",
    "test": "cross-env NODE_ENV=test jest"
  },
  "config": {
    "commitizen": {
      "path": "node_modules/cz-customizable"
    },
    "cz-customizable": {
      "config": ".commitizen.json"
    }
  },
  "devDependencies": {
    "@babel/core": "^7.25.8",
    "@babel/preset-env": "^7.25.8",
    "@babel/preset-react": "^7.25.7",
    "@babel/preset-typescript": "^7.25.7",
    "@storybook/addon-actions": "^8.3.6",
    "@storybook/addon-docs": "^8.3.6",
    "@storybook/addon-essentials": "^8.3.6",
    "@storybook/addon-links": "^8.3.6",
    "@storybook/react": "^8.3.6",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/jest-dom": "^6.6.2",
    "@testing-library/react": "^16.0.1",
    "@types/jest": "^29.5.13",
    "@types/node": "^22.7.7",
    "@types/react": "^18.3.11",
    "@types/react-dom": "^18.3.1",
    "@types/styled-components": "^5.1.34",
    "@vitejs/plugin-react": "^4.3.3",
    "babel-jest": "^29.7.0",
    "babel-loader": "^9.2.1",
    "commitlint": "^19.5.0",
    "cross-env": "^7.0.3",
    "cz-customizable": "^7.2.1",
    "eslint": "^9.13.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.2.1",
    "husky": "^9.1.6",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^29.7.0",
    "npm-run-all": "^4.1.5",
    "path": "^0.12.7",
    "prettier": "^3.3.3",
    "pretty-quick": "^4.0.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "react-is": "^18.3.1",
    "styled-components": "^6.1.13",
    "typescript": "^5.6.3",
    "vite": "^5.4.9",
    "webpack": "^5.95.0"
  },
  "peerDependencies": {
    "react": ">=16",
    "react-dom": ">=16",
    "styled-components": ">=6"
  },
  "engines": {
    "node": "^20 || ^22 || ^24"
  },
  "resolutions": {
    "jackspeak": "2.1.1"
  }
}