lint-fix script

This commit is contained in:
itanka9 2023-05-28 12:22:45 +03:00
parent ac759c9f01
commit 86fe8aa70e

View File

@ -12,6 +12,7 @@
"build": "rollup -c && rollup -c rollup.config.min.mjs",
"build-docs": "jsdoc2md -f src/dat/gui/GUI.js src/dat/controllers/Controller.js src/dat/controllers/NumberController.js | replace-between --target API.md --token API",
"lint": "eslint src",
"lint-fix": "eslint src --fix",
"preversion": "npm run lint",
"version": "npm run build && git add -A build",
"postversion": "git push && git push --tags && npm publish"