diff options
author | Alexander Petros <apetros15@gmail.com> | 2024-01-18 10:22:15 -0500 |
---|---|---|
committer | Alexander Petros <apetros15@gmail.com> | 2024-01-18 10:22:15 -0500 |
commit | 4af2f75ae172eb5a29fb89cf8dac22d77c9c0eee (patch) | |
tree | 202163108f306f2a97a519df91fbbdcac971f5ff /package.json | |
parent | 5ea7767c1d43fa8deafcafe93f6036434270d3fa (diff) | |
download | htmx-4af2f75ae172eb5a29fb89cf8dac22d77c9c0eee.tar.gz htmx-4af2f75ae172eb5a29fb89cf8dac22d77c9c0eee.zip |
Run linter with 'npm run test'
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 2 |
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" |