Skip to content

Commit

Permalink
feat: add semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
joakimbeng committed Sep 15, 2017
1 parent 3a6748b commit b37939e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 33 deletions.
1 change: 1 addition & 0 deletions .npmrc
@@ -0,0 +1 @@
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
19 changes: 14 additions & 5 deletions .travis.yml
@@ -1,8 +1,17 @@
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '0.12'
- '4'
- '5'
- '7'
- '6'

sudo: false
- '4'
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
24 changes: 1 addition & 23 deletions README.md
@@ -1,20 +1,6 @@
# gulp-inject

---

## HELP WANTED

### Contributors are welcomed!

**I don't have enough time to maintain this plugin as I would want to, so I'm looking for people who want to help out and be contributors/repository admins.**

#### Interested?

**Contact me! See `package.json` for contact information.**

---

[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![XO code style][codestyle-image]][codestyle-url] [![Dependency Status][depstat-image]][depstat-url]
[![NPM version][npm-image]][npm-url] [![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) [![Build Status][travis-image]][travis-url] [![XO code style][codestyle-image]][codestyle-url] [![Dependency Status][depstat-image]][depstat-url]

> A stylesheet, javascript and webcomponent reference injection plugin for [gulp](https://github.com/wearefractal/gulp). No more manual editing of your index.html!
Expand Down Expand Up @@ -868,14 +854,6 @@ Default: `false`
Affects the default `options.transform` function, see above.


#### options.quiet
Type: `Boolean`

Default: `false`

Lower the verbosity by setting this to true, suppressing the logging of successful injections.


#### ~~options.templateString~~

***DEPRECATED!***
Expand Down
10 changes: 5 additions & 5 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "gulp-inject",
"version": "4.2.1",
"version": "0.0.0-development",
"description": "A javascript, stylesheet and webcomponent injection plugin for Gulp, i.e. inject file references into your index.html",
"keywords": [
"gulpplugin",
Expand All @@ -20,13 +20,13 @@
"main": "index.js",
"repository": {
"type": "git",
"url": "git://github.com/klei/gulp-inject.git"
"url": "https://github.com/klei/gulp-inject.git"
},
"scripts": {
"lint": "xo",
"pretest": "npm run -s lint",
"test": "mocha -R spec src/**/*_test.js",
"release": "standard-version"
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"dependencies": {
"arrify": "^1.0.1",
Expand All @@ -40,9 +40,9 @@
"devDependencies": {
"mocha": "~2.0.1",
"should": "^4.0.4",
"standard-version": "^2.2.1",
"strip-color": "^0.1.0",
"xo": "^0.13.0"
"xo": "^0.13.0",
"semantic-release": "^7.0.2"
},
"engines": {
"node": ">=4"
Expand Down

0 comments on commit b37939e

Please sign in to comment.