Skip to content

Commit

Permalink
fix: 馃悰 change scripts to run correctly on pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
yousifalraheem committed Jan 4, 2023
1 parent a8db320 commit 3303b95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
version: 7
- run: pnpm install
- run: pnpm docs
- run: pnpm build:docs
- uses: crazy-max/ghaction-github-pages@v1
with:
build_dir: docs
Expand Down
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@
"main": "index.js",
"typings": "index.d.ts",
"scripts": {
"pretest": "rimraf coverage/*",
"test": "jest",
"test": "rimraf coverage/* && jest",
"test:watch": "jest --watch --no-coverage",
"predocs": "rimraf docs/*",
"docs": "typedoc ./src/ --out ./docs",
"prebuild": "rimraf dist/*",
"build": "tsc -p tsconfig.json",
"postbuild": "node pre-release.js",
"build": "rimraf dist/* && tsc -p tsconfig.json && node pre-release.js",
"build:docs": "rimraf docs/* && typedoc ./src/ --out ./docs",
"format:all": "pretty-quick",
"format:staged": "pretty-quick --staged",
"format:check": "pretty-quick --check",
Expand Down

0 comments on commit 3303b95

Please sign in to comment.