Skip to content

Commit

Permalink
feat: add pinst scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozwiaczek committed Apr 12, 2021
1 parent 873f39b commit e7d9614
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homepage": "https://intentbase-ui-auth.netlify.app",
"repository": {
"type": "git",
"url": "https://github.com/dotintent/intentbase-ui-auth"
"url": "https://github.com/dotintent/intentbase-ui-auth.git"
},
"license": "MIT",
"author": {
Expand All @@ -26,8 +26,10 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepublish": "yarn build",
"postinstall": "husky install",
"preinstall": "node -e \"if (process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('Use yarn for installing')\"",
"prepublishOnly": "pinst --disable && yarn build",
"postpublish": "pinst --enable",
"storybook": "start-storybook -p 6006 -s public --no-dll",
"build-storybook": "build-storybook -s public --no-dll",
"build": "yarn clean && tsc --project tsconfig.json",
Expand All @@ -38,8 +40,7 @@
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "yarn lint:check --fix",
"lint:check": "eslint 'src/**/*.{js,ts,tsx}' --cache",
"prepare": "husky install"
"lint:check": "eslint 'src/**/*.{js,ts,tsx}' --cache"
},
"dependencies": {
"@aws-amplify/auth": "^3.4.29",
Expand Down Expand Up @@ -82,6 +83,7 @@
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"pinst": "^2.1.6",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
Expand All @@ -97,5 +99,8 @@
"engines": {
"node": ">=12",
"yarn": ">=1.22"
},
"publishConfig": {
"access": "public"
}
}
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6135,6 +6135,11 @@ from2@^2.1.0:
inherits "^2.0.1"
readable-stream "^2.0.0"

fromentries@^1.3.2:
version "1.3.2"
resolved "https://registry.yarnpkg.com/fromentries/-/fromentries-1.3.2.tgz#e4bca6808816bf8f93b52750f1127f5a6fd86e3a"
integrity sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==

fs-extra@^0.30.0:
version "0.30.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
Expand Down Expand Up @@ -8948,6 +8953,13 @@ pify@^4.0.1:
resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==

pinst@^2.1.6:
version "2.1.6"
resolved "https://registry.yarnpkg.com/pinst/-/pinst-2.1.6.tgz#8d968b8ec1dac5dddcfc976c735592dbec58b42c"
integrity sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==
dependencies:
fromentries "^1.3.2"

pirates@^4.0.0, pirates@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"
Expand Down

0 comments on commit e7d9614

Please sign in to comment.