chore(Lint): Rename script for accuracy
"docs": "parcel build ./src/index.html ./src/examples/*.html -d docs --public-url .",
"lint": "stylelint \"./src/**/*.css\"",
"lint:fix": "npm run lint -- --fix",
- "lint:js": "eslint --ext ./src/**/*.ts",
+ "lint:scripts": "eslint --ext ./src/**/*.ts",
"format": "prettier --write './**/*.{css,js,json,md,ts,yaml}'",
"test": "npm run test:build && npm run test:run",
"test:build": "parcel build ./src/index.html ./src/examples/*.html -d test/build --public-url . && tsc --outDir test/build",
},
"husky": {
"hooks": {
- "pre-commit": "npm run generate:selectors && npm run lint:js && pretty-quick --staged",
+ "pre-commit": "npm run generate:selectors && npm run lint:scripts && pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
