Skip to content

Commit

Permalink
lint: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mujahidkay committed Dec 23, 2024
1 parent e2ea6c5 commit b0fe23f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@
"type": "module",
"scripts": {
"docs:dev": "NODE_OPTIONS=--openssl-legacy-provider vitepress dev main",
"docs:build": "NODE_OPTIONS=--openssl-legacy-provider vitepress build main",
"docs:build": "yarn lint:check-links && NODE_OPTIONS=--openssl-legacy-provider vitepress build main",
"docs:preview": "NODE_OPTIONS=--openssl-legacy-provider vitepress preview main",
"docs:build-cf": "DEBUG='vitepress:*' NODE_OPTIONS=--openssl-legacy-provider vitepress build main && cp _redirects dist/",
"docs:build-cf": "yarn lint:check-links && DEBUG='vitepress:*' NODE_OPTIONS=--openssl-legacy-provider vitepress build main && cp _redirects dist/",
"test": "ava",
"lint-fix": "yarn lint --fix",
"lint": "eslint 'snippets/**/*.js'",
"format": "node scripts/markdown-js-snippets-linter.mjs 'main/**/*.md' --fix && prettier --write '**/*.md' --config .prettierrc.json",
"lint:format": "node scripts/markdown-js-snippets-linter.mjs 'main/**/*.md' && prettier --check '**/*.md' --config .prettierrc.json",
"format": "yarn lint:inline-js-snippets --fix && prettier --write '**/*.md' --config .prettierrc.json",
"lint:format": "yarn lint:inline-js-snippets && prettier --check '**/*.md' --config .prettierrc.json",
"lint:inline-js-snippets": "node scripts/markdown-js-snippets-linter.mjs 'main/**/*.md'",
"lint:check-links": "node scripts/checkLinks.mjs",
"build": "exit 0"
},
"packageManager": "[email protected]",
Expand Down

0 comments on commit b0fe23f

Please sign in to comment.