Skip to content

Commit

Permalink
Merge pull request #1 from yoctore/b-npm-update
Browse files Browse the repository at this point in the history
B npm update
  • Loading branch information
Cedric committed Feb 15, 2018
2 parents f8acd53 + 08f0f73 commit 93e8509
Show file tree
Hide file tree
Showing 19 changed files with 3,108 additions and 172 deletions.
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ rules:
no-case-declarations: 2
no-div-regex: 2
no-else-return: 0
no-empty-label: 2
no-empty-pattern: 2
no-eq-null: 2
no-eval: 2
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- 4.3.1
- 8.9.4
env:
- CXX=g++-4.8
addons:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2.0.0 (2018-02-15)

- Major update of all dependencies
- Update node version engine to >= 8.9.4

## 1.2.4 (2016-03-01)

Package update and travis & codeclimage integration
Expand Down
53 changes: 32 additions & 21 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,47 @@
'use strict';

module.exports = function (grunt) {
// init config
// Init config
grunt.initConfig({
// default package
pkg : grunt.file.readJSON('package.json'),
// Default package
pkg : grunt.file.readJSON('package.json'),

// Uglify content
uglify : {
uglify : {
api : {
files : [{
expand : true,
cwd : 'src/',
src : '**/*.js',
dest : 'dist/'
}]
files : [ {
expand : true,
cwd : 'src/',
src : '**/*.js',
dest : 'dist/'
} ]
}
},

// Unit test
mochacli : {
mochacli : {
options : {
'reporter' : 'spec',
'inline-diffs' : false,
'no-exit' : true,
'force' : false,
'check-leaks' : true,
'bail' : false
reporter : 'spec',
'inline-diffs' : false,
'no-exit' : true,
force : false,
'check-leaks' : true,
bail : false
},
all : [ 'test/*.js' ]
all : [ 'test/*.js' ]
},
// hint code

// Hint our app
yoctohint : {
all : [ 'Gruntfile.js', 'src/*/*/*/*.js' ]
json : [
'package.json'
],
node : [
'Gruntfile.js', 'src/*/*/*/*.js'
],
options : {
compatibility : true
}
}
});

Expand All @@ -39,7 +50,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-mocha-cli');
grunt.loadNpmTasks('yocto-hint');

// register tasks
// Register tasks
grunt.registerTask('hint', 'yoctohint');
grunt.registerTask('test', 'mochacli');
grunt.registerTask('build', [ 'hint', 'uglify' ]);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/crypto/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/date/elapsed/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/date/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/media/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/modules/obj/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 93e8509

Please sign in to comment.