🔥 rm auto format
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
npm run format && git add -A
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
git config core.hooksPath .githooks
|
|
||||||
chmod +x .githooks/*
|
|
||||||
git config alias.add '!f() { npm run format && git add "$@"; }; f'
|
|
||||||
@@ -42,7 +42,6 @@
|
|||||||
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
|
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
|
||||||
"test": "npm run cli:build && PAKE_CREATE_APP=1 node tests/index.js",
|
"test": "npm run cli:build && PAKE_CREATE_APP=1 node tests/index.js",
|
||||||
"format": "prettier --write . --ignore-unknown && cd src-tauri && cargo fmt --verbose",
|
"format": "prettier --write . --ignore-unknown && cd src-tauri && cargo fmt --verbose",
|
||||||
"hooks:setup": "bash .githooks/setup.sh",
|
|
||||||
"prepublishOnly": "npm run cli:build"
|
"prepublishOnly": "npm run cli:build"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Reference in New Issue
Block a user