Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

chore: nitpicks about build scripts

Elijah Potterf5c6e6a886f6
diff --git a/justfile b/justfile
new file mode 100644
index 000000000..593359f72
--- /dev/null
+++ b/justfile
@@ -0,0 +1,6 @@
+precommit:
+ yarn install
+ yarn build
+ yarn plugin-zip
+ yarn format
+ yarn lint
diff --git a/package.json b/package.json
index 4da49349e..98717c9ca 100644
--- a/package.json
+++ b/package.json
@@ -6,8 +6,7 @@
"scripts": {
"build": "wp-scripts build --webpack-copy-php",
"format": "wp-scripts format",
- "lint:css": "wp-scripts lint-style",
- "lint:js": "wp-scripts lint-js",
+ "lint": "wp-scripts lint-js && wp-scripts lint-style",
"packages-update": "wp-scripts packages-update",
"plugin-zip": "wp-scripts plugin-zip",
"start": "wp-scripts start --webpack-copy-php"