Skip to content
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.

Commit

Permalink
chore: refactor git and npm configuration (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleV authored Jun 25, 2018
1 parent f45af07 commit 395cd51
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 9 deletions.
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
node_js:
- 8.11.2
- '9'
- lts/*
- node
before_install:
- |-
if [ $TRAVIS_PULL_REQUEST == false ] && [ $TRAVIS_BRANCH == "master" ];
Expand All @@ -28,8 +28,16 @@ cache:
- ~/.npm
notifications:
email: false
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
except:
- /^v\d+\.\d+\.\d+$/
jobs:
include:
- stage: release
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: true
script:
- npm run semantic-release
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
[![Greenkeeper badge](https://badges.greenkeeper.io/LabShare/ngx-forms.svg?token=4a12f6b1da0f082ac1bbf2c72bbcaf01b001705746c61c36eee1db6bda3d7c11&ts=1528346534395)](https://greenkeeper.io/)
[![Coverage Status](https://coveralls.io/repos/github/LabShare/ngx-forms/badge.svg?t=K1oUbj)](https://coveralls.io/github/LabShare/ngx-forms)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)


# ngx-forms

[![Greenkeeper badge](https://badges.greenkeeper.io/LabShare/ngx-forms.svg?token=4a12f6b1da0f082ac1bbf2c72bbcaf01b001705746c61c36eee1db6bda3d7c11&ts=1528346534395)](https://greenkeeper.io/)
Dynamic form generator. This module provides components that wrap angular 2+ FormBuilder styled with Bootstrap CSS 4
[![Coverage Status](https://coveralls.io/repos/github/LabShare/ngx-forms/badge.svg?t=K1oUbj)](https://coveralls.io/github/LabShare/ngx-forms)
![Alt text](/imgs/readmess.png?raw=true "Optional Title")

## Requirements
Expand Down Expand Up @@ -71,3 +74,4 @@ Field example
{ "type": "checkbox", "label":"Identify all that apply", "name": "checkId", "hidden": true, "options": [{"value": "NIH Grant"}, {"value": "NIH Intramural"}]}
```
So when users select radio button `Yes`, it will look for the field with name `checkID` and show the checkbox. When `No` is selected, the checkbox will hide because there is no value in `ref`.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"test": "karma start ./test/karma.conf.js",
"coverage": "karma start ./test/karma.conf.js --singleRun=true",
"commitmsg": "commitlint -e $GIT_PARAMS",
"travis-deploy-once": "travis-deploy-once --pro",
"semantic-release": "semantic-release"
},
"dependencies": {
Expand Down Expand Up @@ -63,7 +62,6 @@
"node-sass": "^4.9.0",
"null-loader": "^0.1.1",
"semantic-release": "^15.5.0",
"travis-deploy-once": "^5.0.0",
"ts-loader": "^4.3.0",
"tslint-angular": "^1.1.0",
"style-loader": "^0.21.0",
Expand All @@ -73,7 +71,8 @@
"typescript": "^2.7.2",
"webpack": "4.10.1",
"webpack-cli": "^2.1.3",
"webpack-node-externals": "^1.7.2"
"webpack-node-externals": "^1.7.2",
"@labshare/semantic-release-config": "^1.0.0"
},
"publishConfig": {
"access": "restricted"
Expand Down

0 comments on commit 395cd51

Please sign in to comment.