Skip to content

Commit

Permalink
fix: postinstallを許可
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Feb 12, 2025
1 parent 385078a commit 54d803b
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@
"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",
"check-suspicious-imports": "tsx tools/checkSuspiciousImports.mts",

"test:unit": "vitest --run",
"test-watch:unit": "vitest --watch",
"test-ui:unit": "vitest --ui",
Expand All @@ -33,14 +31,12 @@
"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",

"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",

"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",
Expand Down Expand Up @@ -146,5 +142,15 @@
"vue-component-type-helpers": "2.1.6",
"vue-tsc": "2.1.10",
"yargs": "17.2.1"
},
"pnpm": {
"onlyBuiltDependencies": [
"@nestjs/core",
"@openapitools/openapi-generator-cli",
"electron",
"esbuild",
"msw",
"vue-demi"
]
}
}

0 comments on commit 54d803b

Please sign in to comment.