feat: add yarn publish to scripts

This commit is contained in:
Gervwyk 2020-10-06 16:26:15 +02:00
parent 569fe63a93
commit fccf57dbea
7 changed files with 14 additions and 7 deletions

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"dependencies": {
"@lowdefy/type": "1.0.0",

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"dependencies": {
"@lowdefy/get": "1.0.1",

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"dependencies": {
"@lowdefy/type": "1.0.1"

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"dependencies": {
"@lowdefy/delete": "1.0.1",

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"dependencies": {
"@lowdefy/type": "1.0.1"

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"dependencies": {
"@lowdefy/type": "1.0.1"

View File

@ -26,7 +26,8 @@
"build": "babel src --out-dir dist",
"test": "jest --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn build"
"prepublishOnly": "yarn build",
"publish": "npm publish --access public"
},
"devDependencies": {
"@babel/cli": "7.8.4",