Skip to content
Snippets Groups Projects
Verified Commit d43b41bb authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

Move husky to postinstall and enforce ls-engines local call

parent acb4042e
No related branches found
No related tags found
1 merge request!23Dependencies-related work
...@@ -39,6 +39,8 @@ build: ...@@ -39,6 +39,8 @@ build:
when: always when: always
expire_in: 1 week expire_in: 1 week
needs:
- job: lint
generate_docs: generate_docs:
stage: build stage: build
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"private": false, "private": false,
"scripts": { "scripts": {
"lint": "eslint src --ext .js,.ts --max-warnings=0 --ignore-pattern *.d.ts --fix", "lint": "eslint src --ext .js,.ts --max-warnings=0 --ignore-pattern *.d.ts --fix",
"prebuild": "husky", "postinstall": "ls-engines && husky",
"build": "tsc", "build": "tsc",
"postbuild": "rollup -c", "postbuild": "rollup -c",
"pretest": "playwright install chromium", "pretest": "playwright install chromium",
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
"http-server": "^14.1.1", "http-server": "^14.1.1",
"husky": "^9.1.5", "husky": "^9.1.5",
"lint-staged": "^15.2.2", "lint-staged": "^15.2.2",
"ls-engines": "^0.9.3",
"playwright": "^1.39.0", "playwright": "^1.39.0",
"process": "^0.11.10", "process": "^0.11.10",
"rollup": "^4.22.4", "rollup": "^4.22.4",
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment