react-docgen
Version:
A CLI and toolkit to extract information from React components for documentation generation.
81 lines (80 loc) • 2.21 kB
JSON
{
"name": "react-docgen",
"version": "4.0.0",
"description": "A CLI and toolkit to extract information from React components for documentation generation.",
"repository": {
"type": "git",
"url": "https://github.com/reactjs/react-docgen.git"
},
"bugs": "https://github.com/reactjs/react-docgen/issues",
"bin": {
"react-docgen": "bin/react-docgen.js"
},
"files": [
"bin",
"dist",
"PATENTS"
],
"engines": {
"node": ">=6"
},
"main": "dist/main.js",
"scripts": {
"build": "rimraf dist/ && babel src/ --out-dir dist/ --ignore **/__tests__,**/__mocks__,**/src/types.js",
"build:website": "cd website/ && yarn && yarn build",
"lint": "eslint . --report-unused-disable-directives",
"fix": "eslint . --fix --report-unused-disable-directives",
"prepublish": "yarn build",
"preversion": "yarn lint",
"start": "cd website && yarn && yarn start",
"test": "jest",
"test:ci": "yarn lint && yarn flow && yarn test --runInBand",
"watch": "yarn build --watch"
},
"keywords": [
"react",
"documentation-generation"
],
"author": "Felix Kling",
"license": "BSD-3-Clause",
"dependencies": {
"@babel/core": "^7.0.0",
"@babel/runtime": "^7.0.0",
"async": "^2.1.4",
"commander": "^2.19.0",
"doctrine": "^3.0.0",
"node-dir": "^0.1.10",
"recast": "^0.17.3"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.1.0",
"cross-spawn": "^6.0.4",
"eslint": "^5.7.0",
"eslint-config-prettier": "^4.0.0",
"eslint-plugin-prettier": "^3.0.0",
"flow-bin": "^0.93.0",
"jest": "^24.1.0",
"jest-diff": "^24.0.0",
"jest-matcher-utils": "^24.0.0",
"prettier": "^1.14.3",
"rimraf": "^2.3.2",
"temp": "^0.9.0"
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/tests/setupTestFramework.js"
],
"roots": [
"bin",
"src"
],
"testRegex": "/__tests__/.*-test\\.js$"
}
}