chore: add husky; add post-commit hook to auto-mirror to gh & sh
This commit is contained in:
parent
66675f0cf0
commit
5229e0a727
3 changed files with 1258 additions and 3440 deletions
3
.husky/post-commit
Normal file
3
.husky/post-commit
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
echo "post-commit..."
|
||||
git push gh --mirror
|
||||
git push sh --mirror
|
||||
22
package.json
22
package.json
|
|
@ -14,21 +14,23 @@
|
|||
"start:dev": "concurrently --kill-others \"npm run watch:dev\" \"npm start\"",
|
||||
"start": "http-server ./dist/ -a localhost -p 4200",
|
||||
"watch:dev": "node ./node_modules/webpack/bin/webpack.js --watch --mode development .",
|
||||
"buildprod": "node ./node_modules/webpack/bin/webpack.js --mode production ."
|
||||
"buildprod": "node ./node_modules/webpack/bin/webpack.js --mode production .",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"firebase": "^7.24.0"
|
||||
"firebase": "^12.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"concurrently": "^7.2.2",
|
||||
"css-loader": "^3.6.0",
|
||||
"file-loader": "^5.1.0",
|
||||
"http-server": "^0.12.3",
|
||||
"mini-css-extract-plugin": "^0.8.2",
|
||||
"concurrently": "^9.2.1",
|
||||
"css-loader": "^7.1.4",
|
||||
"file-loader": "^6.2.0",
|
||||
"http-server": "^14.1.1",
|
||||
"husky": "^9.1.7",
|
||||
"mini-css-extract-plugin": "^2.10.0",
|
||||
"optimize-css-assets-webpack-plugin": "^6.0.1",
|
||||
"terser-webpack-plugin": "^2.3.8",
|
||||
"webpack": "^4.46.0",
|
||||
"webpack-cli": "^3.3.12"
|
||||
"terser-webpack-plugin": "^5.3.16",
|
||||
"webpack": "^5.105.2",
|
||||
"webpack-cli": "^6.0.1"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
4673
pnpm-lock.yaml
4673
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue