Skip to content
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.

Commit

Permalink
chore(build): switch to grunt-nsp
Browse files Browse the repository at this point in the history
  • Loading branch information
rfk committed Nov 10, 2015
1 parent 6e4f26f commit ac31672
Show file tree
Hide file tree
Showing 13 changed files with 168 additions and 159 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -33,6 +33,7 @@ before_script:
script:
- npm run outdated
- grunt test
- grunt nsp --force

matrix:
allow_failures:
Expand Down
2 changes: 1 addition & 1 deletion Gruntfile.js
Expand Up @@ -16,7 +16,7 @@ module.exports = function (grunt) {
mainJsFiles: '{,lib/**/,scripts/**/,test/**/,tasks/**/,bin/**/}*.js'
});

grunt.loadTasks('tasks');
grunt.loadTasks('grunttasks');

grunt.registerTask('default', [
'test'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions grunttasks/nsp.js
@@ -0,0 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

module.exports = function (grunt) {
grunt.config('nsp', {
output: 'summary',
package: grunt.file.readJSON('package.json'),
shrinkwrap: grunt.file.readJSON('npm-shrinkwrap.json')
});
};
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ac31672

Please sign in to comment.