Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: check docs build on pr ci #502

Merged
merged 3 commits into from
Apr 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@
},
"homepage": "https://github.com/jasonkuhrt/graphql-request",
"scripts": {
"build:docs": "doctoc README.md --notitle",
"dev": "rm -rf dist && tsc --watch",
"format": "prettier --write .",
"format": "pnpm build:docs && prettier --write .",
"lint": "eslint . --ext .ts,.tsx --fix",
"check": "pnpm check:types && pnpm check:format && pnpm check:lint",
"check:types": "pnpm tsc --noEmit",
"check:format": "prettier --check .",
"check:format": "prettier --check . && pnpm build:docs && git diff --exit-code README.md",
"check:lint": "eslint . --ext .ts,.tsx --max-warnings 0",
"prepublishOnly": "pnpm build",
"build:docs": "doctoc README.md --notitle && prettier --write README.md",
"build": "pnpm clean && pnpm build:cjs && pnpm build:esm",
"build:cjs": "pnpm tsc --project tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > build/cjs/package.json",
"build:esm": "pnpm tsc --project tsconfig.esm.json",
Expand Down