forked from VOICEVOX/voicevox
-
Notifications
You must be signed in to change notification settings - Fork 0
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
b2f44a7
commit cb5b0ab
Showing
1 changed file
with
5 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 |
---|---|---|
|
@@ -12,16 +12,17 @@ | |
}, | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"// --- lint ---": "", | ||
"lint": "eslint --ext .js,.vue,.ts,.mts *.config.* src tests build .storybook", | ||
"fmt": "eslint --ext .js,.vue,.ts,.mts *.config.* src tests build .storybook --fix", | ||
"markdownlint": "markdownlint --ignore node_modules/ --ignore dist/ --ignore dist_electron/ --ignore dist_preview/ ./", | ||
"typecheck": "vue-tsc --noEmit", | ||
"typos": "cross-env ./vendored/typos/typos", | ||
|
||
"// --- tools ---": "", | ||
"license:generate": "tsx tools/generateLicenses.mts", | ||
"license:merge": "tsx tools/mergeLicenses.mts", | ||
"check-suspicious-imports": "tsx tools/checkSuspiciousImports.mts", | ||
|
||
"// --- test ---": "", | ||
"test:unit": "vitest --run", | ||
"test-watch:unit": "vitest --watch", | ||
"test-ui:unit": "vitest --ui", | ||
|
@@ -33,14 +34,14 @@ | |
"test:storybook-vrt": "cross-env TARGET=storybook playwright test", | ||
"test-watch:storybook-vrt": "cross-env TARGET=storybook PWTEST_WATCH=1 playwright test", | ||
"test-ui:storybook-vrt": "cross-env TARGET=storybook playwright test --ui", | ||
|
||
"// --- build ---": "", | ||
"electron:serve": "cross-env VITE_TARGET=electron vite", | ||
"electron:build": "cross-env VITE_TARGET=electron NODE_ENV=production vite build && electron-builder --config electron-builder.config.js --publish never", | ||
"browser:serve": "cross-env VITE_TARGET=browser vite", | ||
"browser:build": "cross-env VITE_TARGET=browser NODE_ENV=production vite build", | ||
"storybook": "storybook dev --port 6006", | ||
"storybook:build": "storybook build", | ||
|
||
"// --- lifecycle ---": "", | ||
"preinstall": "npx -y only-allow pnpm", | ||
"postinstall": "pnpm run postinstall:packages && pnpm run postinstall:download-scripts", | ||
"postinstall:packages": "electron-builder install-app-deps && playwright install chromium", | ||
|