mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
121 lines
3.8 KiB
JSON
121 lines
3.8 KiB
JSON
{
|
|
"name": "docusaurus",
|
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
"version": "1.3.2",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"documentation",
|
|
"websites",
|
|
"open source",
|
|
"docusaurus"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/facebook/Docusaurus.git"
|
|
},
|
|
"scripts": {
|
|
"ci-check": "yarn lint && yarn prettier:diff",
|
|
"format:source": "prettier --config .prettierrc --write \"lib/**/*.js\"",
|
|
"format:examples": "prettier --config .prettierrc --write \"examples/**/*.js\"",
|
|
"format:website": "prettier --config .prettierrc --write \"website/**/*.js\"",
|
|
"lint": "eslint --cache \"lib/**/*.js\" \"examples/**/*.js\" \"website/**/*.js\"",
|
|
"nit:source": "prettier --config .prettierrc --list-different \"lib/**/*.js\"",
|
|
"nit:examples": "prettier --config .prettierrc --list-different \"examples/**/*.js\"",
|
|
"nit:website": "prettier --config .prettierrc --list-different \"website/**/*.js\"",
|
|
"precommit": "lint-staged",
|
|
"prettier": "yarn format:source && yarn format:examples && yarn format:website",
|
|
"prettier:diff": "yarn nit:source && yarn nit:examples && yarn nit:website",
|
|
"test": "jest",
|
|
"start": "cd website && yarn start",
|
|
"postinstall": "opencollective postinstall"
|
|
},
|
|
"lint-staged": {
|
|
"linters": {
|
|
"{lib,examples,website}/**/*.js": [
|
|
"yarn lint --fix",
|
|
"yarn prettier",
|
|
"git add"
|
|
]
|
|
}
|
|
},
|
|
"jest": {
|
|
"testPathIgnorePatterns": ["/node_modules/", "__fixtures__"],
|
|
"testURL": "http://localhost/"
|
|
},
|
|
"bin": {
|
|
"docusaurus-start": "./lib/start-server.js",
|
|
"docusaurus-build": "./lib/build-files.js",
|
|
"docusaurus-publish": "./lib/publish-gh-pages.js",
|
|
"docusaurus-examples": "./lib/copy-examples.js",
|
|
"docusaurus-write-translations": "./lib/write-translations.js",
|
|
"docusaurus-version": "./lib/version.js",
|
|
"docusaurus-rename-version": "./lib/rename-version.js"
|
|
},
|
|
"dependencies": {
|
|
"autoprefixer": "^9.0.0",
|
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-register": "^6.24.1",
|
|
"babel-traverse": "^6.25.0",
|
|
"babylon": "^6.17.4",
|
|
"chalk": "^2.1.0",
|
|
"classnames": "^2.2.6",
|
|
"color": "^2.0.1",
|
|
"commander": "^2.16.0",
|
|
"crowdin-cli": "^0.3.0",
|
|
"cssnano": "^3.10.0",
|
|
"escape-string-regexp": "^1.0.5",
|
|
"express": "^4.15.3",
|
|
"feed": "^1.1.0",
|
|
"fs-extra": "^5.0.0",
|
|
"gaze": "^1.1.2",
|
|
"glob": "^7.1.2",
|
|
"highlight.js": "^9.12.0",
|
|
"imagemin": "^5.3.1",
|
|
"imagemin-gifsicle": "^5.2.0",
|
|
"imagemin-jpegtran": "^5.0.2",
|
|
"imagemin-optipng": "^5.2.1",
|
|
"imagemin-svgo": "^6.0.0",
|
|
"markdown-toc": "^1.2.0",
|
|
"mkdirp": "^0.5.1",
|
|
"opencollective": "^1.0.3",
|
|
"postcss": "^7.0.1",
|
|
"prismjs": "^1.15.0",
|
|
"react": "^16.4.1",
|
|
"react-dev-utils": "^5.0.1",
|
|
"react-dom": "^16.4.1",
|
|
"remarkable": "^1.7.1",
|
|
"request": "^2.87.0",
|
|
"shelljs": "^0.7.8",
|
|
"sitemap": "^1.13.0",
|
|
"tcp-port-used": "^0.1.2",
|
|
"tiny-lr": "^1.1.1",
|
|
"tree-node-cli": "^1.2.5",
|
|
"truncate-html": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^8.2.5",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-airbnb": "17.0.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.9.1",
|
|
"filepath": "^1.1.0",
|
|
"front-matter": "^2.3.0",
|
|
"glob-promise": "^3.3.0",
|
|
"husky": "^0.14.3",
|
|
"jest": "^23.4.2",
|
|
"lint-staged": "^7.2.0",
|
|
"prettier": "^1.13.7",
|
|
"rimraf": "^2.6.2"
|
|
},
|
|
"collective": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/Docusaurus"
|
|
}
|
|
}
|