summaryrefslogtreecommitdiffstatshomepage
path: root/package.json
diff options
context:
space:
mode:
authorAlexander Petros <apetros15@gmail.com>2024-01-18 10:22:15 -0500
committerAlexander Petros <apetros15@gmail.com>2024-01-18 10:22:15 -0500
commit4af2f75ae172eb5a29fb89cf8dac22d77c9c0eee (patch)
tree202163108f306f2a97a519df91fbbdcac971f5ff /package.json
parent5ea7767c1d43fa8deafcafe93f6036434270d3fa (diff)
downloadhtmx-4af2f75ae172eb5a29fb89cf8dac22d77c9c0eee.tar.gz
htmx-4af2f75ae172eb5a29fb89cf8dac22d77c9c0eee.zip
Run linter with 'npm run test'
Diffstat (limited to 'package.json')
-rw-r--r--package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/package.json b/package.json
index f308e529..4e6b1c07 100644
--- a/package.json
+++ b/package.json
@@ -28,7 +28,7 @@
"dist": "./scripts/dist.sh",
"lint": "eslint src/htmx.js test/attributes/ test/core/ test/util/",
"format": "eslint --fix src/htmx.js test/attributes/ test/core/ test/util/",
- "test": "mocha-chrome test/index.html",
+ "test": "npm run lint && mocha-chrome test/index.html",
"test-types": "tsc --project ./jsconfig.json",
"ws-tests": "cd ./test/ws-sse && node ./server.js",
"www": "bash ./scripts/www.sh"