diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100755 index 0000000..e810522 --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npx --no -- commitlint --edit $1 diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000..dcf29c1 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,6 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +npm test +npm run lint +npx --no lint-staged diff --git a/.nvmrc b/.nvmrc index 28193ca..b460d6f 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.13.1 +18.12.1 diff --git a/examples/iframe-full/index.html b/examples/iframe-full/index.html index 780610e..bd22c04 100644 --- a/examples/iframe-full/index.html +++ b/examples/iframe-full/index.html @@ -5,8 +5,8 @@
-