Skip to content

Commit

Permalink
chore: remove specify package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
ayu-exorcist committed Jul 5, 2024
1 parent 651ad84 commit 0354b09
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11,664 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,8 @@ httpData
public/upload/**
!public/upload/*.gitkeep
.history

# Package manager lock file
package-lock.json
yarn.lock
pnpm-lock.yaml
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@
"build": "run-p type-check \"build:only {@}\" --",
"build:only": "vite build",
"build:h5-netlify": "vite build --mode netlify",
"build:cli": "pnpm build && pnpm shx rm -rf md-cli/dist && pnpm shx rm -rf dist/**/*.map && pnpm shx cp -r dist md-cli/ && cd md-cli && pnpm pack",
"preview": "pnpm build && vite preview",
"build:cli": "npm run build && npm run shx rm -rf md-cli/dist && npm run shx rm -rf dist/**/*.map && npm run shx cp -r dist md-cli/ && cd md-cli && npm run pack",
"preview": "npm run build && vite preview",
"release:cli": "node ./bin/release.js",
"lint": "eslint . --fix",
"type-check": "vue-tsc --build --force",
"preinstall": "npx only-allow pnpm",
"postinstall": "simple-git-hooks"
},
"dependencies": {
Expand Down Expand Up @@ -69,9 +68,9 @@
"vue-tsc": "^2.0.21"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
"pre-commit": "npm run lint-staged"
},
"lint-staged": {
"*": "pnpm lint"
"*": "npm run lint"
}
}
Loading

0 comments on commit 0354b09

Please sign in to comment.