docusaurus/package.json

24 lines
676 B
JSON
Raw Normal View History

2017-07-07 13:28:29 -04:00
{
"keywords": ["documentation", "websites", "open source", "docusaurus"],
"repository": {
"type": "git",
"url": "https://github.com/facebook/Docusaurus.git"
},
"scripts": {
"ci-check": "yarn prettier && cd v1 && yarn ci-check",
"prettier": "prettier --config .prettierrc --write \"**/*.js\"",
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.js\"",
"start": "cd v1/website && yarn start"
2017-07-07 13:28:29 -04:00
},
2017-12-12 15:47:52 -05:00
"devDependencies": {
"husky": "^0.14.3",
"lint-staged": "^7.2.0",
"prettier": "^1.13.7"
2018-08-03 21:25:57 -04:00
},
"lint-staged": {
"linters": {
"{v1,v2}/**/*.js": ["yarn lint --fix", "yarn prettier", "git add"]
}
2017-07-07 13:28:29 -04:00
}
}