UNPKG

react-styleguidist

Version:
216 lines (215 loc) 6.75 kB
{ "name": "react-styleguidist", "description": "React components style guide generator", "version": "7.0.0", "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": "scripts/index.js", "bin": { "styleguidist": "bin/styleguidist.js" }, "files": [ "bin", "lib", "loaders", "scripts" ], "engines": { "node": ">=6", "npm": ">=3" }, "dependencies": { "@vxna/mini-html-webpack-template": "^0.1.6", "acorn": "^5.5.3", "ast-types": "^0.11.3", "buble": "^0.19.3", "chalk": "^2.3.2", "classnames": "^2.2.5", "clean-webpack-plugin": "^0.1.19", "clipboard-copy": "^2.0.0", "codemirror": "^5.36.0", "common-dir": "^1.0.1", "copy-webpack-plugin": "^4.5.1", "css-loader": "^0.28.11", "doctrine": "^2.1.0", "es6-object-assign": "~1.1.0", "es6-promise": "^4.2.4", "escodegen": "^1.9.1", "findup": "^0.1.5", "function.name-polyfill": "^1.0.5", "github-slugger": "^1.2.0", "glob": "^7.1.2", "glogg": "^1.0.1", "highlight.js": "^9.12.0", "is-directory": "^0.3.1", "javascript-stringify": "^1.6.0", "jss": "^9.8.1", "jss-camel-case": "^6.1.0", "jss-compose": "^5.0.0", "jss-default-unit": "^8.0.2", "jss-global": "^3.0.0", "jss-isolate": "^5.1.0", "jss-nested": "^6.0.1", "leven": "^2.1.0", "listify": "^1.0.0", "loader-utils": "^1.1.0", "lodash": "^4.17.5", "lowercase-keys": "^1.0.1", "markdown-to-jsx": "^6.6.0", "mini-html-webpack-plugin": "^0.2.3", "minimist": "^1.2.0", "ora": "^2.0.0", "prop-types": "^15.6.1", "q-i": "^2.0.1", "react-codemirror2": "^4.2.1", "react-dev-utils": "^5.0.0", "react-docgen": "^3.0.0-beta11", "react-docgen-annotation-resolver": "^1.0.0", "react-docgen-displayname-handler": "^1.0.1", "react-group": "^1.0.5", "react-icons": "^2.2.7", "remark": "^9.0.0", "style-loader": "^0.20.3", "to-ast": "^1.0.0", "type-detect": "^4.0.8", "uglifyjs-webpack-plugin": "1.2.4", "unist-util-visit": "^1.3.0", "webpack-dev-server": "^3.1.1", "webpack-merge": "^4.1.2" }, "peerDependencies": { "react": ">=15", "react-dom": ">=15" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-eslint": "^8.2.2", "babel-jest": "^22.4.3", "babel-loader": "^7.1.4", "babel-plugin-syntax-dynamic-import": "~6.18.0", "babel-plugin-system-import-transformer": "^3.1.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.1", "babel-preset-react": "^6.24.1", "cheerio": "^1.0.0-rc.2", "deabsdeep": "^1.0.6", "deepfreeze": "^2.0.0", "dog-names": "^1.0.2", "enzyme": "^3.3.0", "enzyme-adapter-react-16": "^1.1.1", "enzyme-to-json": "^3.3.3", "eslint": "^4.19.1", "eslint-config-tamia": "^5.0.1", "eslint-plugin-compat": "^2.2.0", "eslint-plugin-es5": "^1.2.0", "eslint-plugin-import": "^2.10.0", "eslint-plugin-react": "^7.7.0", "file-loader": "^1.1.11", "husky": "^0.14.3", "jest": "^22.4.3", "jest-serializer-html": "^5.0.0", "keymirror": "^0.1.1", "lint-staged": "^7.0.1", "prettier": "1.11.1", "raf": "^3.4.0", "react": "^16.2.0", "react-dom": "^16.2.0", "react-test-renderer": "^16.2.0", "rimraf": "^2.6.2", "strip-shebang": "^1.0.2", "url-loader": "^1.0.1", "webpack": "^4.4.1", "webpack-cli": "^2.0.13" }, "scripts": { "pretest": "npm run lint", "test": "npm run test:jest", "posttest": "npm run format", "test:jest": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "start": "node bin/styleguidist.js server --config examples/basic/styleguide.config.js", "start:customised": "node bin/styleguidist.js server --config examples/customised/styleguide.config.js", "start:sections": "node bin/styleguidist.js server --config examples/sections/styleguide.config.js", "lint": "eslint . --cache --fix", "precompile": "rimraf lib/", "compile": "babel --ignore '*.spec.js' -d lib/ src/", "compile:watch": "babel --ignore '*.spec.js' --watch -d lib/ src/", "prepublishOnly": "npm run compile", "build:basic": "node bin/styleguidist.js build --config examples/basic/styleguide.config.js", "build:customised": "node bin/styleguidist.js build --config examples/customised/styleguide.config.js", "build:sections": "node 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", "precommit": "lint-staged", "format": "prettier --write '**/*.{js,md}'", "postinstall": "node -e \"console.log('\\u001b[32mLove Styleguidist? Support us on the Open Collective:\\u001b[22m\\u001b[39m\\n > \\u001b[96m\\u001b[1mhttps://opencollective.com/styleguidist\\u001b[0m\\n')\" || exit 0", "test:cypress:pre": "npm i --no-save cypress 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": { "setupFiles": [ "./test/raf-polyfill.js", "./test/jestsetup.js" ], "modulePaths": [ "./src" ], "moduleNameMapper": { "^.+\\.css$": "<rootDir>/test/empty.js" }, "testPathIgnorePatterns": [ "<rootDir>/lib/", "<rootDir>/examples/", "<rootDir>/test/" ], "coveragePathIgnorePatterns": [ "<rootDir>/scripts/server.js", "<rootDir>/scripts/build.js" ], "snapshotSerializers": [ "deabsdeep/serializer", "enzyme-to-json/serializer", "jest-serializer-html" ] }, "keywords": [ "react", "jsx", "styleguide", "style guide", "documentation", "docs", "generator", "component", "components" ], "lint-staged": { "*.js": [ "eslint --fix", "prettier --write", "git add" ], "*.md": [ "prettier --write", "git add" ] } }