diff --git a/.gitignore b/.gitignore index 26d8207b..c61cf3cd 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,7 @@ bin # Dotenv file .env + +# node +node_modules/ +out/ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000..fd0714c1 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +forge fmt diff --git a/package.json b/package.json index a845f3db..11141863 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,8 @@ { - "name": "kinto-id", - "version": "1.0.0", + "name": "kinto-core", "description": "Kinto ID ", - "main": "index.js", - "author": "Ramon Recuero ", - "license": "MIT", - "scripts": { - "export-testnet": "source .env && node ./utils/export.js $TEST_NETWORK_ID" - }, - "private": true + "repository": "https://github.com/KintoXYZ/kinto-core.git", + "devDependencies": { + "husky": "^8.0.3" + } } diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 00000000..4ba8287a --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +husky@^8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.3.tgz#4936d7212e46d1dea28fef29bb3a108872cd9184" + integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==