Skip to content

Commit

Permalink
removing gulp for npm scripts. adding changelog.
Browse files Browse the repository at this point in the history
publishing new version: 0.3.1
  • Loading branch information
skratchdot committed Oct 15, 2016
1 parent 101b106 commit c0607a9
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 79 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
@@ -1,13 +1,11 @@
language: node_js
node_js:
- 'stable'
- '4.2'
- '4.1'
- '6.0'
- '5.0'
- '4.0'
- '0.12'
- '0.11'
before_script:
- npm install -g gulp
script:
- gulp test
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls --verbose
- npm run cover
- npm run coveralls
40 changes: 40 additions & 0 deletions CHANGELOG.md
@@ -0,0 +1,40 @@
# Change Log

## [Unreleased](https://github.com/skratchdot/random-useragent/tree/HEAD)

[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.3.1...HEAD)

## [0.3.1](https://github.com/skratchdot/random-useragent/tree/0.3.1) (2016-10-15)
[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.3.0...0.3.1)

**Closed issues:**

- UA mobile [\#4](https://github.com/skratchdot/random-useragent/issues/4)

## [0.3.0](https://github.com/skratchdot/random-useragent/tree/0.3.0) (2016-04-18)
[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.2.1...0.3.0)

**Merged pull requests:**

- Better performance [\#2](https://github.com/skratchdot/random-useragent/pull/2) ([MrVoltz](https://github.com/MrVoltz))

## [0.2.1](https://github.com/skratchdot/random-useragent/tree/0.2.1) (2015-11-30)
[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.2.0...0.2.1)

## [0.2.0](https://github.com/skratchdot/random-useragent/tree/0.2.0) (2015-11-30)
[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.1.2...0.2.0)

## [0.1.2](https://github.com/skratchdot/random-useragent/tree/0.1.2) (2015-04-24)
[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.1.1...0.1.2)

## [0.1.1](https://github.com/skratchdot/random-useragent/tree/0.1.1) (2015-04-24)
[Full Changelog](https://github.com/skratchdot/random-useragent/compare/0.1.0...0.1.1)

**Merged pull requests:**

- Update the useragent data file [\#1](https://github.com/skratchdot/random-useragent/pull/1) ([athieriot](https://github.com/athieriot))

## [0.1.0](https://github.com/skratchdot/random-useragent/tree/0.1.0) (2014-06-04)


\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
62 changes: 0 additions & 62 deletions gulpfile.js

This file was deleted.

42 changes: 32 additions & 10 deletions package.json
@@ -1,10 +1,20 @@
{
"name": "random-useragent",
"version": "0.3.0",
"version": "0.3.1",
"description": "Get a random useragent (with an optional filter)",
"main": "index.js",
"scripts": {
"test": "gulp test"
"changelog": "github_changelog_generator",
"clean": "rimraf .nyc_output/ coverage/",
"cover": "nyc npm test",
"coveralls": "cat coverage/lcov.info | coveralls --verbose",
"data": "./scripts/create-data.js",
"lint": "eslint *.js scripts/*.js",
"prepublish": "npm-run-all lint test",
"test": "mocha test.js",
"watch": "npm-run-all clean --parallel watch:test watch:lint",
"watch:lint": "watch 'npm run lint' .",
"watch:test": "npm run test -- -w"
},
"author": "skratchdot",
"license": "MIT",
Expand All @@ -24,17 +34,29 @@
},
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"gulp": "^3.9.1",
"gulp-eslint": "^2.0.0",
"gulp-istanbul": "^0.10.4",
"gulp-mocha": "^2.2.0",
"isparta": "^4.0.0",
"request": "^2.72.0",
"coveralls": "^2.11.14",
"eslint": "^3.8.0",
"mocha": "^3.1.2",
"npm-run-all": "^3.1.1",
"nyc": "^8.3.1",
"request": "^2.75.0",
"rimraf": "^2.5.4",
"ua-parser-js": "^0.7.10",
"xml2js": "^0.4.16"
"watch": "^1.0.1",
"xml2js": "^0.4.17"
},
"tonicExampleFilename": ".tonic.example.js",
"nyc": {
"all": true,
"include": [
"index.js"
],
"reporter": [
"text",
"html",
"lcovonly"
]
},
"keywords": [
"random",
"useragent",
Expand Down
3 changes: 2 additions & 1 deletion create-data.js → scripts/create-data.js 100644 → 100755
@@ -1,3 +1,4 @@
#!/usr/bin/env node
/*
* random-useragent
* https://github.com/skratchdot/random-useragent
Expand All @@ -10,7 +11,7 @@

// config
var xmlUrl = 'http://techpatterns.com/downloads/firefox/useragentswitcher.xml';
var file = __dirname + '/useragent-data.json';
var file = __dirname + '/../useragent-data.json';

// requires
var fs = require('fs');
Expand Down

0 comments on commit c0607a9

Please sign in to comment.