Skip to content

Commit

Permalink
chore(docs): add cross-env to scripts (refinedev#6287)
Browse files Browse the repository at this point in the history
  • Loading branch information
emrecancorapci committed Sep 4, 2024
1 parent 8c2ccd2 commit 308312e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 112 deletions.
9 changes: 5 additions & 4 deletions documentation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "0.0.0",
"private": true,
"scripts": {
"build": "NODE_OPTIONS=\"--max-old-space-size=8192\" docusaurus build",
"build": "cross-env NODE_OPTIONS=--max_old_space_size=8192 docusaurus build",
"build:plugins": "sucrase ./plugins -d ./plugins --transforms typescript,imports && npx prettier --write ./plugins",
"clear": "docusaurus clear",
"deploy": "docusaurus deploy",
"dev": "docusaurus start",
"dev:blog": "DISABLE_DOCS=true pnpm run dev:lean",
"dev:docs": "DISABLE_BLOG=true pnpm run dev:lean",
"dev:lean": "DISABLE_DOCGEN=true DISABLE_VERSIONING=true DISABLE_EXAMPLES=true DISABLE_CHECKLISTS=true LIVE_PREVIEW_URL=https://cloud2.refine.dev/.refine/preview pnpm run dev",
"dev:blog": "cross-env DISABLE_DOCS=true pnpm run dev:lean",
"dev:docs": "cross-env DISABLE_BLOG=true pnpm run dev:lean",
"dev:lean": "cross-env DISABLE_DOCGEN=true DISABLE_VERSIONING=true DISABLE_EXAMPLES=true DISABLE_CHECKLISTS=true LIVE_PREVIEW_URL=https://cloud2.refine.dev/.refine/preview pnpm run dev",
"docusaurus": "docusaurus",
"serve": "docusaurus serve",
"swizzle": "docusaurus swizzle",
Expand Down Expand Up @@ -88,6 +88,7 @@
"@types/react": "^17.0.19",
"@types/react-dom": "^17.0.11",
"@types/react-helmet": "^6.1.2",
"cross-env": "^7.0.3",
"fs-extra": "^10.1.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
Expand Down
124 changes: 16 additions & 108 deletions documentation/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 308312e

Please sign in to comment.