-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add automate-release workflow
- Loading branch information
Showing
3 changed files
with
50 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,79 @@ | ||
{ | ||
"name": "@microlink/root", | ||
"description": "Convert your links into beautiful previews", | ||
"version": "", | ||
"homepage": "https://github.com/microlinkhq/sdk#readme", | ||
"version": "2.3.0", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Kiko Beats", | ||
"url": "https://github.com/Kikobeats" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Brad Adams", | ||
"email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Pierre Lebrun", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/microlinkhq/sdk.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/microlinkhq/sdk/issues" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "latest", | ||
"@commitlint/config-conventional": "latest", | ||
"conventional-changelog-cli": "latest", | ||
"conventional-github-releaser": "latest", | ||
"eachdir": "latest", | ||
"finepack": "latest", | ||
"git-authors-cli": "latest", | ||
"husky": "latest", | ||
"lerna": "latest", | ||
"npm-check-updates": "latest", | ||
"lint-staged": "latest", | ||
"npm-check-updates": "latest", | ||
"prettier-standard": "latest", | ||
"standard": "latest", | ||
"standard-markdown": "latest" | ||
"standard-markdown": "latest", | ||
"standard-version": "latest" | ||
}, | ||
"engines": { | ||
"node": ">= 8" | ||
}, | ||
"scripts": { | ||
"browser-sync": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"", | ||
"build": "gulp build", | ||
"build:packages": "lerna run build", | ||
"build:commit": "lerna run build && git add . && git commit -m 'Preparing build'", | ||
"build": "lerna run build", | ||
"changelog": "conventional-changelog --release-count=0 > CHANGELOG.md", | ||
"changelog:commit": "npm run changelog && git add CHANGELOG.md && git commit -m 'Update Changelog' && git push origin master", | ||
"clean": "cd packages && eachdir rm -rf node_modules && cd .. && rm -rf node_modules", | ||
"dev": "concurrently 'gulp' 'npm run browser-sync'", | ||
"lint": "standard-markdown README.md && standard src", | ||
"postinstall": "lerna bootstrap", | ||
"precommit": "lint-staged", | ||
"prepublishOnly": "lerna run build", | ||
"prerelease": "npm run update:check", | ||
"pretest": "npm run lint", | ||
"pretty": "prettier-standard src/**/*.{js,css} --single-quote", | ||
"prerelease": "npm run upgrade && npm run build:commit", | ||
"preversion": "git-authors-cli", | ||
"release": "lerna publish --sort", | ||
"postrelease": "npm run changelog:commit", | ||
"test": "lerna exec npm run test", | ||
"upgrade": "lerna exec ncu -- --error-level 2" | ||
"update": "lerna exec ncu", | ||
"update:check": "lerna exec ncu -- --error-level 2" | ||
}, | ||
"private": true, | ||
"license": "MIT", | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"linters": { | ||
"*.js": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,21 +5,9 @@ | |
"version": "2.3.0", | ||
"main": "lib/index.js", | ||
"module": "lib/index.m.js", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Brad Adams", | ||
"url": "https://breadadams.com" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Kiko Beats", | ||
"email": "[email protected]", | ||
"url": "https://github.com/Kikobeats" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/microlinkhq/sdk.git" | ||
"url": "git+https://github.com/microlinkhq/sdk/tree/master/packages/react" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/microlinkhq/sdk/issues" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,21 +4,9 @@ | |
"homepage": "https://microlink.js.org", | ||
"version": "2.3.0", | ||
"main": "src/index.js", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Brad Adams", | ||
"url": "https://breadadams.com" | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "Kiko Beats", | ||
"email": "[email protected]", | ||
"url": "https://github.com/Kikobeats" | ||
} | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/microlinkhq/sdk.git" | ||
"url": "git+https://github.com/microlinkhq/sdk/tree/master/packages/vanilla" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/microlinkhq/sdk/issues" | ||
|