This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(Travis): run validate script and semantic-release when master (#193)
- Loading branch information
1 parent
ef2b174
commit 33b1101
Showing
3 changed files
with
18 additions
and
10 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,6 +1,5 @@ | ||
{ | ||
"*.{js,ts,json,md}": [ | ||
"prettier --write", | ||
"git add" | ||
"prettier --write" | ||
] | ||
} |
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,4 +1,16 @@ | ||
language: node_js | ||
|
||
cache: | ||
directories: | ||
- ~/.npm | ||
notifications: | ||
email: false | ||
node_js: | ||
- "node" | ||
- '10' | ||
- '11' | ||
- '12' | ||
script: npm run validate | ||
after_success: | ||
- test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" && npx semantic-release | ||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ |
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,6 +1,6 @@ | ||
{ | ||
"name": "use-lax", | ||
"version": "3.1.0", | ||
"version": "0.0.0-development", | ||
"description": "React hook to use with lax.js.", | ||
"main": "./dist/use-lax.cjs.js", | ||
"module": "./dist/use-lax.esm.js", | ||
|
@@ -17,15 +17,12 @@ | |
"author": "Arthur Denner <[email protected]>", | ||
"scripts": { | ||
"add-contributor": "all-contributors add", | ||
"prebuild": "rimraf dist types", | ||
"build": "rollup -c && tsc", | ||
"preversion": "npm test", | ||
"prepare": "npm run build", | ||
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md" | ||
"validate": "npm run build" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/arthurdenner/use-lax.git" | ||
"url": "https://github.com/arthurdenner/use-lax.git" | ||
}, | ||
"license": "MIT", | ||
"bugs": { | ||
|