Skip to content

Commit

Permalink
🏁 Update docs script for compatibility with windows (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
markkulube authored Jun 17, 2020
1 parent e9c6c2f commit d3014e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test:rollup-esm": "rollup --config test/rollup/esm/rollup.config.js && node test/rollup/esm/dist/main.js",
"test:rollup-iife": "rollup --config test/rollup/iife/rollup.config.js && node test/rollup/iife/dist/main.js",
"coverage": "cat ./coverage/lcov.info | coveralls",
"docs": "mkdir -p docs/2-API && docsify-init --editDir documentation && cp -R documentation/* docs/ && api-extractor run --local && generate-ts-docs markdown -i docs/2-API -o docs/2-API && cat README.md | sed 's/https:\\/\\/github.com\\/dubzzz\\/fast-check\\/blob\\/master\\/documentation//g' > docs/README.md && markdownbars -i docs/_sidebar.md -o docs/_sidebar.md",
"docs": "mkdirp docs/2-API && docsify-init --editDir documentation && cp -R documentation/* docs/ && api-extractor run --local && generate-ts-docs markdown -i docs/2-API -o docs/2-API && cat README.md | sed 's/https:\\/\\/github.com\\/dubzzz\\/fast-check\\/blob\\/master\\/documentation//g' > docs/README.md && markdownbars -i docs/_sidebar.md -o docs/_sidebar.md",
"format": "prettier --write \"**/*.{js,ts}\"",
"format:check": "prettier --list-different \"**/*.{js,ts}\"",
"lint": "eslint \"**/*.{js,ts}\" --fix",
Expand Down Expand Up @@ -72,6 +72,7 @@
"eslint-config-prettier": "^6.11.0",
"jest": "^25.5.4",
"markdownbars": "^1.0.10",
"mkdirp": "^1.0.4",
"prettier": "2.0.5",
"replace-in-file": "^6.0.0",
"rollup": "^2.13.1",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3639,6 +3639,11 @@ mkdirp@^0.5.1:
dependencies:
minimist "^1.2.5"

mkdirp@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==

module-deps@^6.0.0:
version "6.2.2"
resolved "https://registry.yarnpkg.com/module-deps/-/module-deps-6.2.2.tgz#d8a15c2265dfc119153c29bb47386987d0ee423b"
Expand Down

0 comments on commit d3014e3

Please sign in to comment.