mirror of
https://github.com/documentationjs/documentation.git
synced 2026-01-18 14:17:30 +00:00
* build: Use Flow syntax without comments. We're switching to Flow annotations - not Flow comments. This gives documentation.js the ability to self-document without JSDoc types and improves our compatibility with tools like prettier. Fixes #729. Fixes #709
144 lines
3.9 KiB
JSON
144 lines
3.9 KiB
JSON
{
|
|
"name": "documentation",
|
|
"description": "a documentation generator",
|
|
"version": "4.0.0-rc.1",
|
|
"author": "Tom MacWright",
|
|
"bin": {
|
|
"documentation": "./bin/documentation.js"
|
|
},
|
|
"dependencies": {
|
|
"ansi-html": "^0.0.7",
|
|
"babel-core": "^6.17.0",
|
|
"babel-generator": "6.24.1",
|
|
"babel-plugin-system-import-transformer": "3.1.0",
|
|
"babel-plugin-transform-decorators-legacy": "^1.3.4",
|
|
"babel-preset-es2015": "^6.16.0",
|
|
"babel-preset-react": "^6.16.0",
|
|
"babel-preset-stage-0": "^6.16.0",
|
|
"babel-traverse": "^6.16.0",
|
|
"babel-types": "^6.16.0",
|
|
"babelify": "^7.3.0",
|
|
"babylon": "^6.11.4",
|
|
"chalk": "^1.1.1",
|
|
"chokidar": "^1.2.0",
|
|
"concat-stream": "^1.5.0",
|
|
"disparity": "^2.0.0",
|
|
"doctrine-temporary-fork": "2.0.0-alpha-allowarrayindex",
|
|
"get-comments": "^1.0.1",
|
|
"get-port": "^3.1.0",
|
|
"git-url-parse": "^6.0.1",
|
|
"github-slugger": "1.1.1",
|
|
"glob": "^7.0.0",
|
|
"globals-docs": "^2.3.0",
|
|
"highlight.js": "^9.1.0",
|
|
"js-yaml": "^3.3.1",
|
|
"lodash": "^4.11.1",
|
|
"mdast-util-inject": "^1.1.0",
|
|
"micromatch": "^2.1.6",
|
|
"mime": "^1.3.4",
|
|
"module-deps-sortable": "4.0.6",
|
|
"parse-filepath": "^1.0.1",
|
|
"pify": "^2.3.0",
|
|
"read-pkg-up": "^2.0.0",
|
|
"remark": "^7.0.0",
|
|
"remark-html": "6.0.0",
|
|
"remark-toc": "^4.0.0",
|
|
"remote-origin-url": "0.4.0",
|
|
"shelljs": "^0.7.5",
|
|
"stream-array": "^1.1.0",
|
|
"strip-json-comments": "^2.0.0",
|
|
"tiny-lr": "^1.0.3",
|
|
"unist-builder": "^1.0.0",
|
|
"unist-util-visit": "^1.0.1",
|
|
"vfile": "^2.0.0",
|
|
"vfile-reporter": "^3.0.0",
|
|
"vfile-sort": "^2.0.0",
|
|
"vinyl": "^2.0.0",
|
|
"vinyl-fs": "^2.3.1",
|
|
"yargs": "^6.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"are-we-flow-yet": "^1.0.0",
|
|
"babel-cli": "^6.24.1",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-jest": "^19.0.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
|
|
"babel-preset-flow": "^6.23.0",
|
|
"chdir": "0.0.0",
|
|
"coveralls": "^2.13.1",
|
|
"cz-conventional-changelog": "2.0.0",
|
|
"documentation-schema": "0.0.1",
|
|
"eslint": "^3.19.0",
|
|
"eslint-config-prettier": "^1.7.0",
|
|
"eslint-plugin-flowtype": "^2.32.1",
|
|
"flow-bin": "^0.45.0",
|
|
"fs-extra": "^3.0.0",
|
|
"husky": "^0.13.3",
|
|
"jest": "^19.0.2",
|
|
"json-schema": "0.2.3",
|
|
"lint-staged": "^3.4.0",
|
|
"mock-fs": "^4.2.0",
|
|
"p-event": "^1.0.0",
|
|
"prettier": "^1.0.0",
|
|
"standard-version": "^4.0.0",
|
|
"tmp": "^0.0.31"
|
|
},
|
|
"keywords": [
|
|
"documentation",
|
|
"formatter",
|
|
"jsdoc",
|
|
"jsdoc3",
|
|
"parser",
|
|
"website"
|
|
],
|
|
"license": "ISC",
|
|
"main": "lib/index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@github.com:documentationjs/documentation.git"
|
|
},
|
|
"scripts": {
|
|
"build": "rm -rf lib && babel -D src -d lib",
|
|
"release": "standard-version",
|
|
"precommit": "lint-staged --verbose",
|
|
"format": "prettier --write '{src,__tests__,declarations,bin,default_theme}/**/*.js' --single-quote",
|
|
"doc": "./bin/documentation.js build lib/index.js -f md --access=public > docs/NODE_API.md",
|
|
"changelog": "standard-changelog -i CHANGELOG.md -w",
|
|
"self-lint": "node ./bin/documentation.js lint src",
|
|
"test": "npm run build && eslint . && are-we-flow-yet src && flow check && jest",
|
|
"test-ci": "npm run build && eslint . && are-we-flow-yet src && flow check && jest --runInBand"
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"utils.js",
|
|
"fixture"
|
|
],
|
|
"coveragePathIgnorePatterns": [
|
|
"<rootDir>/lib/"
|
|
],
|
|
"collectCoverage": true,
|
|
"testEnvironment": "node"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write --single-quote",
|
|
"git add"
|
|
]
|
|
},
|
|
"greenkeeper": {
|
|
"ignore": [
|
|
"remote-origin-url",
|
|
"yargs"
|
|
]
|
|
}
|
|
}
|