summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 7 insertions, 0 deletions
diff --git a/package.json b/package.json
index 63e5233..9d570c1 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,13 @@
"workspaces": [
"life2/simulator"
],
+ "scripts": {
+ "lint": "eslint .",
+ "lint:fix": "eslint --fix .",
+ "fmt": "clang-format --dry-run -i *.cjs *.js",
+ "fmt:fix": "clang-format -i *.cjs *.js",
+ "test": "echo \"Error: no test specified\" && exit 1"
+ },
"devDependencies": {
"eslint": "8.57.0",
"eslint-config-closure-es6": "0.1.1"