UNPKG

demozap

Version:

Create demo components in a zap

113 lines (112 loc) 3.42 kB
{ "name": "demozap", "description": "Create demo components in a zap", "version": "1.3.83", "type": "module", "exports": { "import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "sideEffects": false, "files": [ "bin", "dist", "README.md" ], "scripts": { "prepare": "husky", "build": "rm -rf dist && tsup --config scripts/tsup.config.ts", "lint": "eslint --report-unused-disable-directives --max-warnings 0 .", "lint-fix": "eslint --fix .", "lint-staged-husky": "lint-staged", "tsc": "tsc -p tsconfig.json", "format-lint": "prettier --config .prettierrc --check --ignore-unknown .", "format-fix": "prettier --config .prettierrc --write --ignore-unknown -l .", "test": "vitest watch", "test-ui": "vitest --ui", "test-report": "vitest run --coverage", "storybook": "TS_NODE_PROJECT=tsconfig.json storybook dev -p 9009", "storybook-build": "storybook build -o build-storybook-static", "demozap": "npm run build && ./bin/run.js --prefix=_ && npm run format-fix", "demozap-vue": "npm run build && ./bin/run.js --prefix=_ --framework=vue && npm run format-fix", "release": "semantic-release --branches main", "clean": "rm -rf node_modules coverage dist compiled build-storybook-static" }, "bin": { "demozap": "bin/run.js" }, "dependencies": { "cac": "6.7.14", "chalk": "5.4.1", "date-fns": "4.1.0", "glob": "11.0.2", "ora": "8.2.0", "replace-in-file": "8.3.0" }, "devDependencies": { "@commitlint/cli": "19.8.1", "@commitlint/config-conventional": "19.8.1", "@eslint/js": "9.26.0", "@storybook/addon-styling": "2.0.0", "@storybook/addon-webpack5-compiler-swc": "1.0.5", "@storybook/manager-api": "8.4.6", "@storybook/react": "8.4.6", "@storybook/react-webpack5": "8.4.6", "@storybook/theming": "8.4.6", "@total-typescript/ts-reset": "0.6.1", "@types/eslint": "9.6.1", "@types/fs-extra": "11.0.4", "@types/node": "22.15.17", "@types/react": "19.1.3", "@types/react-dom": "19.1.3", "@vitest/coverage-v8": "3.1.3", "@vitest/eslint-plugin": "1.1.44", "@vitest/ui": "3.1.3", "eslint": "9.26.0", "eslint-config-prettier": "10.1.5", "eslint-import-resolver-typescript": "4.3.4", "eslint-plugin-import-x": "4.11.1", "eslint-plugin-no-array-reduce": "1.0.62", "eslint-plugin-prettier": "5.4.0", "eslint-plugin-react": "7.37.5", "husky": "9.1.7", "lint-staged": "16.0.0", "prettier": "3.5.3", "react": "18.3.1", "react-demo-tab": "1.3.30", "react-dom": "18.3.1", "sass": "1.88.0", "sass-loader": "16.0.5", "semantic-release": "24.2.3", "storybook": "8.4.6", "tsup": "8.4.0", "typescript": "5.8.3", "typescript-eslint": "8.32.0", "vite-tsconfig-paths": "5.1.4", "vitest": "3.1.3" }, "license": "MIT", "author": "Marko Kosir <kosir.mar@gmail.com>", "homepage": "https://github.com/demozap/demozap", "repository": { "type": "git", "url": "git+https://github.com/demozap/demozap.git" }, "bugs": "https://github.com/demozap/demozap/issues", "keywords": [ "react", "react-component", "demo-component", "demo-generator", "demo", "demozap", "demo-cli", "demo-code", "cli", "cli-tool", "documentation", "documentation-tool" ] }