diff --git a/.husky/pre-push b/.husky/pre-push new file mode 100644 index 0000000..2bb3f96 --- /dev/null +++ b/.husky/pre-push @@ -0,0 +1 @@ +cd core && npm run test && npm run lint diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..960bdaf --- /dev/null +++ b/package-lock.json @@ -0,0 +1,28 @@ +{ + "name": "statify", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "devDependencies": { + "husky": "^9.1.7" + } + }, + "node_modules/husky": { + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", + "dev": true, + "license": "MIT", + "bin": { + "husky": "bin.js" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..6b87ff3 --- /dev/null +++ b/package.json @@ -0,0 +1,8 @@ +{ + "devDependencies": { + "husky": "^9.1.7" + }, + "scripts": { + "prepare": "husky" + } +}