Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package.json scripts for windows #4

Open
muslumozturk61 opened this issue Mar 22, 2023 · 0 comments
Open

package.json scripts for windows #4

muslumozturk61 opened this issue Mar 22, 2023 · 0 comments

Comments

@muslumozturk61
Copy link

at pages 243 and 252:

in the src/package.json file not working on windows operation system.
It should be like this:

"scripts": {
"clean": "del /q .\dist; del /q my-js-helpers-0.1.2.tgz; del /q ..\my-js-helpers-0.1.2.tgz",
"build-types": "tsc --declaration --emitDeclarationOnly --outDir .\dist",
"build-lib": "vite build",
"build": "npm run clean && npm run build-lib && npm run build-types",
"pack": "npm pack",
"all": "npm run build && npm run pack",
"pub": "npm publish --access public",
"test": "vitest run",
"test-watch": "vitest watch",
"pretty": "prettier -w "./src/**/*.ts"",
"preversion": "npm run clean",
"version": "npm run build",
"postversion": "npm run pack",
"version-patch": "npm version patch -m "Patch version""
},

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant