Skip to content

Commit

Permalink
chore: scriptsを整理 (VOICEVOX#2514)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi authored Jan 30, 2025
1 parent cffee01 commit a12d9ca
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
},
"packageManager": "pnpm@9.15.4",
"scripts": {
"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",

"license:generate": "tsx tools/generateLicenses.mts",
"license:merge": "tsx tools/mergeLicenses.mts",

"test:unit": "vitest --run",
"test-watch:unit": "vitest --watch",
"test-ui:unit": "vitest --ui",
Expand All @@ -23,24 +32,19 @@
"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",
"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",

"electron:build": "cross-env VITE_TARGET=electron vite build && electron-builder --config electron-builder.config.js --publish never",
"electron:serve": "cross-env VITE_TARGET=electron vite",
"browser:serve": "cross-env VITE_TARGET=browser vite",
"browser:build": "cross-env VITE_TARGET=browser vite build",
"storybook": "storybook dev --port 6006",
"storybook:build": "storybook build",

"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",
"postinstall:download-scripts": "tsx tools/download7z.mts && tsx tools/downloadTypos.mts",
"postuninstall": "electron-builder install-app-deps",
"license:generate": "tsx tools/generateLicenses.mts",
"license:merge": "tsx tools/mergeLicenses.mts",
"storybook": "storybook dev --port 6006",
"storybook:build": "storybook build"
"postuninstall": "electron-builder install-app-deps"
},
"dependencies": {
"@gtm-support/vue-gtm": "1.2.3",
Expand Down

0 comments on commit a12d9ca

Please sign in to comment.