Skip to content

Commit

Permalink
chore(package.json): alphabetize scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoerge authored and rexxars committed Feb 14, 2024
1 parent 5a65aad commit 3527a43
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,69 +7,68 @@
"build": "turbo run --filter=@sanity/* --filter=groq --filter=sanity build",
"build:cli": "turbo run --filter=@sanity/cli --filter=sanity build",
"build:dts": "tsc --build tsconfig.lib.json",
"build:performance-studio": "pnpm build --filter=perf-studio",
"build:test-studio": "pnpm build --filter=sanity-test-studio",
"check:deps-updates": "npx npm-check-updates --workspaces --root -m",
"check:format": "prettier . --check",
"check:packages": "lerna run check:package",
"clean": "lerna run clean && rm -f package-lock.json",
"clean:deps": "rimraf packages/@sanity/*/node_modules packages/*/node_modules node_modules perf/tests/node_modules perf/studio/node_modules",
"check:deps-updates": "npx npm-check-updates --workspaces --root -m",
"check:versions": "node -r esbuild-register scripts/normalizeDependencyVersions.ts",
"clean": "lerna run clean && rm -f package-lock.json",
"clean:deps": "rimraf packages/@sanity/*/node_modules packages/*/node_modules node_modules",
"depcheck": "pnpm exec -r depcheck",
"deploy:movies": "pnpm build && cd examples/movies-studio && sanity deploy",
"deploy:test": "pnpm build && cd dev/test-studio && sanity deploy",
"dev": "pnpm start",
"dev:design-studio": "pnpm --filter design-studio dev",
"dev:embedded-studio": "pnpm --filter embedded-studio dev",
"dev:i18n": "SANITY_STUDIO_DEBUG_I18N=triangles pnpm start",
"dev:i18n:reverse": "SANITY_STUDIO_DEBUG_I18N=reverse pnpm start",
"dev:design-studio": "pnpm --cwd dev/design-studio dev",
"dev:starter-studio": "pnpm --cwd dev/starter-studio dev",
"dev:strict-studio": "pnpm --cwd dev/strict-studio dev",
"dev:test-studio": "pnpm --cwd dev/test-studio dev",
"dev:embedded-studio": "pnpm --cwd dev/embedded-studio dev",
"dev:starter-studio": "pnpm --filter sanity-starter-studio dev",
"dev:strict-studio": "pnpm --filter sanity-strict-studio dev",
"dev:test-studio": "pnpm --filter sanity-test-studio dev",
"docs:report": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReport",
"docs:report:create": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReportCreate",
"docs:report:cleanup": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReportCleanup",
"eslint": "eslint --ext=.cjs,.js,.jsx,.mjs,.ts,.tsx --quiet",
"example:blog-studio": "pnpm --cwd examples/blog-studio start",
"example:clean-studio": "pnpm --cwd examples/clean-studio start",
"example:ecommerce-studio": "pnpm --cwd examples/ecommerce-studio start",
"example:example-studio": "pnpm --cwd dev/example-studio start",
"example:movies-studio": "pnpm --cwd examples/movies-studio start",
"e2e:dev": "pnpm --cwd dev/studio-e2e-testing dev",
"docs:report:create": "node -r dotenv-flow/config -r esbuild-register scripts/doc-report/docReportCreate",
"e2e:build": "pnpm --cwd dev/studio-e2e-testing build",
"e2e:cleanup": "node -r dotenv-flow/config -r esbuild-register scripts/e2e/cleanup",
"e2e:codegen": "node -r dotenv-flow/config ./node_modules/.bin/sanity-test codegen",
"e2e:preview": "pnpm e2e:build && pnpm --cwd dev/studio-e2e-testing start",
"e2e:dev": "pnpm --filter studio-e2e-testing dev",
"e2e:preview": "pnpm e2e:build && pnpm --filter studio-e2e-testing start",
"e2e:setup": "node -r dotenv-flow/config -r esbuild-register scripts/e2e/setup",
"e2e:start": "pnpm --cwd dev/studio-e2e-testing start",
"e2e:start": "pnpm --filter studio-e2e-testing start",
"etl": "node -r dotenv-flow/config -r esbuild-register scripts/etl",
"example:blog-studio": "pnpm --cwd examples/blog-studio start",
"example:clean-studio": "pnpm --cwd examples/clean-studio start",
"example:ecommerce-studio": "pnpm --cwd examples/ecommerce-studio start",
"example:example-studio": "pnpm --cwd dev/example-studio start",
"example:movies-studio": "pnpm --cwd examples/movies-studio start",
"init": "lerna clean --yes && run-s bootstrap build",
"lerna:clean": "lerna clean",
"lint": "turbo run lint --continue --quiet",
"lint:fix": "pnpm lint --quiet --fix",
"lint:exhaustive-deps": "pnpm lint --quiet --rule 'react-hooks/exhaustive-deps: [error, {additionalHooks: \"(useAsync|useMemoObservable|useObservableCallback)\"}]'",
"lint:fix": "pnpm lint --quiet --fix",
"normalize-pkgfields": "node -r esbuild-register scripts/normalizePackageFields",
"perf:codegen": "cd perf/tests && pnpm perf:codegen",
"perf:studio": "cd perf/studio && pnpm preview",
"perf:studio:dev": "cd perf/studio && pnpm dev",
"perf:test": "cd perf/tests && pnpm perf:test",
"postinstall": "husky install",
"prettier": "prettier --cache .",
"prettify": "lerna run clean && prettier --write .",
"prettify:dts": "prettier --loglevel warn --write packages/@sanity/*/lib/dts && prettier --loglevel warn --write packages/*/lib/dts",
"publish:tarball": "node -r esbuild-register scripts/publish/tarball",
"release": "pnpm build && lerna publish --exact --force-publish",
"release-canary": "RELEASE_TAG=canary pnpm release-tag",
"release-current-branch": "RELEASE_TAG=`git rev-parse --abbrev-ref HEAD | sed 's/\\//\\_/g'` pnpm release-tag",
"release-notes": "node -r esbuild-register scripts/printReleaseNotesTemplate",
"release-rc": "pnpm build && lerna publish --force-publish --dist-tag=dev-preview --preid=rc --exact",
"release-tag": "RELEASE_TAG=\"${RELEASE_TAG:-canary}\"; pnpm build && lerna publish --canary --force-publish --no-git-tag-version --dist-tag=$RELEASE_TAG --preid=$RELEASE_TAG --exact",
"publish:tarball": "node -r esbuild-register scripts/publish/tarball",
"release-notes": "node -r esbuild-register scripts/printReleaseNotesTemplate",
"start": "pnpm dev:test-studio",
"test": "jest --forceExit",
"test:e2e": "playwright test",
"perf:test": "cd perf/tests && pnpm perf:test",
"perf:studio": "cd perf/studio && pnpm preview",
"perf:studio:dev": "cd perf/studio && pnpm dev",
"perf:codegen": "cd perf/tests && pnpm perf:codegen",
"tsdoc:dev": "sanity-tsdoc dev",
"type-check": "tsc --build",
"updated": "lerna updated",
"build:test-studio": "pnpm build --filter=sanity-test-studio",
"build:performance-studio": "pnpm build --filter=perf-studio",
"watch": "lerna run --parallel --scope '{@sanity/*,sanity}' watch"
},
"lint-staged": {
Expand Down

0 comments on commit 3527a43

Please sign in to comment.