-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e7ee30
commit 9bf48e6
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]", | ||
|