-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: configure commitizen and semantic-release
- Loading branch information
1 parent
4f42205
commit 123c850
Showing
2 changed files
with
77 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
sudo: false | ||
env: | ||
- CXX=g++-4.8 | ||
language: node_js | ||
cache: | ||
directories: | ||
- node_modules | ||
notifications: | ||
email: false | ||
node_js: | ||
- '4' | ||
addons: | ||
apt: | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
packages: | ||
- gcc-4.8 | ||
- g++-4.8 | ||
before_install: | ||
- npm i -g npm@^2.0.0 | ||
- npm install -g bower | ||
- npm install | ||
- bower install | ||
before_script: | ||
- npm prune | ||
script: | ||
- npm run -s build | ||
after_success: | ||
- npm run 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"name": "purescript-carpenter", | ||
"author": "Arthur Xavier <[email protected]> (http://arthur-xavier.github.io/)", | ||
"description": "Simple architecture for purescript-react inspired by Elm and Thermite", | ||
"scripts": { | ||
"build": "psa \"src/**/*.purs\" \"bower_components/purescript-*/src/**/*.purs\" --censor-lib --strict", | ||
"commit": "./node_modules/.bin/git-cz", | ||
"semantic-release": "semantic-release pre && npm publish && semantic-release post" | ||
}, | ||
"directories": { | ||
"doc": "docs", | ||
"test": "test" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/arthur-xavier/purescript-carpenter.git" | ||
}, | ||
"keywords": [ | ||
"purescript", | ||
"react", | ||
"elm", | ||
"redux", | ||
"state" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/arthur-xavier/purescript-carpenter/issues" | ||
}, | ||
"homepage": "https://github.com/arthur-xavier/purescript-carpenter#readme", | ||
"devDependencies": { | ||
"commitizen": "^2.8.6", | ||
"cz-conventional-changelog": "^1.2.0", | ||
"purescript": "^0.9.3", | ||
"purescript-psa": "^0.3.9", | ||
"semantic-release": "^4.3.5" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
}, | ||
"ghooks": { | ||
"pre-commit": "npm run build" | ||
} | ||
} | ||
} |