UNPKG

react-styleguidist

Version:
261 lines (260 loc) 8.33 kB
{ "name": "react-styleguidist", "description": "React components style guide generator", "version": "13.1.4", "homepage": "https://github.com/styleguidist/react-styleguidist", "author": { "name": "Artem Sapegin", "url": "http://sapegin.me/" }, "repository": { "type": "git", "url": "https://github.com/styleguidist/react-styleguidist.git" }, "bugs": { "url": "https://github.com/styleguidist/react-styleguidist/issues" }, "license": "MIT", "main": "lib/scripts/index.js", "module": "lib/scripts/index.esm.js", "bin": { "styleguidist": "lib/bin/styleguidist.js" }, "files": [ "lib", "templates" ], "engines": { "node": ">=14" }, "dependencies": { "@tippyjs/react": "4.1.0", "@types/react-test-renderer": "^18.0.0", "@vxna/mini-html-webpack-template": "^2.0.0", "acorn": "^6.4.1", "acorn-jsx": "^5.1.0", "assert": "1.5.0", "ast-types": "~0.14.2", "buble": "0.20.0", "clean-webpack-plugin": "^4.0.0", "clipboard-copy": "^3.1.0", "clsx": "^1.0.4", "common-dir": "^3.0.0", "copy-webpack-plugin": "^11.0.0", "core-js": "^3.6.4", "doctrine": "^3.0.0", "es6-object-assign": "~1.1.0", "es6-promise": "^4.2.8", "escape-string-regexp": "^1.0.5", "escodegen": "^1.12.0", "estree-walker": "~0.9.0", "fastest-levenshtein": "^1.0.9", "findup": "^0.1.5", "function.name-polyfill": "^1.0.6", "github-slugger": "^1.2.1", "glob": "^7.1.5", "glogg": "^1.0.2", "hash-sum": "^2.0.0", "is-plain-obj": "^1.1.0", "javascript-stringify": "^2.0.0", "jss": "^10.9.0", "jss-plugin-camel-case": "^10.9.0", "jss-plugin-compose": "^10.9.0", "jss-plugin-default-unit": "^10.9.0", "jss-plugin-global": "^10.9.0", "jss-plugin-isolate": "^10.9.0", "jss-plugin-nested": "^10.9.0", "kleur": "^3.0.3", "listify": "^1.0.0", "lodash": "^4.17.15", "lowercase-keys": "^2.0.0", "markdown-to-jsx": "^6.11.4", "mini-html-webpack-plugin": "^3.1.3", "mri": "^1.1.4", "ora": "^4.0.2", "prismjs": "^1.17.1", "prop-types": "^15.8.1", "q-i": "^2.0.1", "qss": "^2.0.3", "react-dev-utils": "^12.0.0", "react-docgen": "^5.0.0", "react-docgen-annotation-resolver": "^2.0.0", "react-docgen-displayname-handler": "^3.0.0", "react-group": "^3.0.2", "react-icons": "^3.8.0", "react-simple-code-editor": "^0.13.1", "recast": "~0.18.5", "remark": "^13.0.0", "strip-html-comments": "^1.0.0", "terser-webpack-plugin": "^5.3.3", "to-ast": "^1.0.0", "type-detect": "^4.0.8", "unist-util-visit": "^2.0.0", "webpack-dev-server": "^4.15.0", "webpack-merge": "^4.2.2" }, "peerDependencies": { "react": ">=18.0", "react-dom": ">=18.0" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/plugin-proposal-class-properties": "^7.8.3", "@babel/preset-env": "^7.9.0", "@babel/preset-flow": "^7.9.0", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.18.6", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^13.4.0", "@types/buble": "^0.19.2", "@types/copy-webpack-plugin": "^5.0.2", "@types/doctrine": "0.0.3", "@types/escodegen": "0.0.6", "@types/estree": "^0.0.39", "@types/hash-sum": "^1.0.0", "@types/jest": "^26.0.14", "@types/keymirror": "^0.1.1", "@types/lodash": "^4.14.144", "@types/markdown-to-jsx": "^6.9.0", "@types/node": "^12.12.3", "@types/prismjs": "^1.16.0", "@types/react": "^18.0.28", "@types/react-dom": "^18.0.10", "@types/terser-webpack-plugin": "^2.2.3", "@types/type-detect": "^4.0.1", "@types/webpack": "^5.28.0", "@types/webpack-dev-server": "^3.11.1", "@types/webpack-env": "^1.14.1", "@typescript-eslint/eslint-plugin": "^4.4.1", "@typescript-eslint/parser": "^4.4.1", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.1.0", "babel-jest": "^26.6.0", "babel-loader": "^8.1.0", "css-loader": "^6.7.1", "danger": "^10.5.3", "deabsdeep": "^1.0.6", "deepfreeze": "^2.0.0", "dog-names": "^2.0.0", "eslint": "^7.11.0", "eslint-config-tamia": "^7.2.6", "eslint-import-resolver-typescript": "^2.3.0", "eslint-plugin-compat": "^3.8.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-react": "^7.21.4", "file-loader": "^6.2.0", "fs-extra": "^9.0.0", "husky": "^4.3.0", "jest": "^26.6.0", "keymirror": "^0.1.1", "lint-staged": "^10.5.1", "memfs": "~2.15.5", "prettier": "2.1.2", "raf": "^3.4.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-test-renderer": "^18.2.0", "strip-shebang": "^1.0.2", "style-loader": "^3.3.1", "typescript": "^4.7.4", "url-loader": "^4.1.1", "webpack": "^5.72.0", "webpack-cli": "^4.9.2" }, "scripts": { "pretest": "npm run lint && npm run typecheck", "typecheck": "tsc -p . --noEmit", "test": "npm run test:jest", "posttest": "npm run format", "test:jest": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "start": "node lib/bin/styleguidist.js server --config examples/basic/styleguide.config.js", "start:customised": "node lib/bin/styleguidist.js server --config examples/customised/styleguide.config.js", "start:sections": "node lib/bin/styleguidist.js server --config examples/sections/styleguide.config.js", "start:ui": "node lib/bin/styleguidist.js server", "lint": "eslint . --cache --fix --ext .js,.ts,.tsx", "compile": "babel --delete-dir-on-start --ignore **/__mocks__/*,**/__tests__/*,**/*.spec.ts,**/*.spec.tsx,**/*.spec.js,**/*.d.ts --extensions .js,.ts,.tsx -d lib/ src/", "compile:types": "tsc -p ./tsconfig.types.json --emitDeclarationOnly", "compile:watch": "npm run compile -- --watch", "prepublishOnly": "npm run compile && npm run compile:types", "build:basic": "node lib/bin/styleguidist.js build --config examples/basic/styleguide.config.js", "build:customised": "node lib/bin/styleguidist.js build --config examples/customised/styleguide.config.js", "build:sections": "node lib/bin/styleguidist.js build --config examples/sections/styleguide.config.js", "test:browser:pre": "npm i --no-save puppeteer", "test:browser:basic": "node test/browser.js examples/basic/styleguide/index.html", "test:browser:customised": "node test/browser.js examples/customised/styleguide/index.html", "test:browser:sections": "node test/browser.js examples/sections/styleguide/index.html", "format": "prettier --loglevel warn --write \"**/*.{js,md}\"", "test:cypress:pre": "npm i --no-save cypress@6.5.0 wait-on", "test:cypress:open": "cypress open", "test:cypress:run": "cypress run", "test:cypress:startServer": "node test/run.server.js", "test:cypress:startServer:post": "wait-on http://localhost:8082" }, "jest": { "testURL": "http://localhost/", "setupFiles": [ "./test/raf-polyfill.js", "./test/jestsetup.js" ], "setupFilesAfterEnv": [ "@testing-library/jest-dom/extend-expect" ], "modulePaths": [ "./src/client" ], "testPathIgnorePatterns": [ "<rootDir>/lib/", "<rootDir>/examples/", "<rootDir>/test/" ], "coveragePathIgnorePatterns": [ "<rootDir>/src/scripts/server.js", "<rootDir>/src/scripts/build.js" ], "snapshotSerializers": [ "./test/deabsdeepSerializer" ] }, "keywords": [ "react", "jsx", "styleguide", "style guide", "documentation", "docs", "generator", "component", "components" ], "browserslist": [ "last 2 Chrome versions", "last 2 Opera versions", "last 2 Firefox versions", "last 2 Edge versions", "last 1 Safari version", "IE >= 11" ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix", "git add" ], "*.{js,ts,tsx,md,css,json}": [ "prettier --write", "git add" ] }, "funding": { "type": "opencollective", "url": "https://opencollective.com/styleguidist" } }