mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(Gruntfile.js, package.json): use load-grunt-tasks and move grunt-contrib-jshint into devDependencies
Closes #6085
This commit is contained in:
parent
37781ed145
commit
e7ac7aa43b
2 changed files with 14 additions and 24 deletions
14
Gruntfile.js
14
Gruntfile.js
|
|
@ -4,18 +4,8 @@ var path = require('path');
|
||||||
|
|
||||||
module.exports = function(grunt) {
|
module.exports = function(grunt) {
|
||||||
//grunt plugins
|
//grunt plugins
|
||||||
grunt.loadNpmTasks('grunt-bump');
|
require('load-grunt-tasks')(grunt);
|
||||||
grunt.loadNpmTasks('grunt-contrib-clean');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-connect');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-compress');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
|
||||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
|
||||||
grunt.loadNpmTasks('grunt-ddescribe-iit');
|
|
||||||
grunt.loadNpmTasks('grunt-jasmine-node');
|
|
||||||
grunt.loadNpmTasks("grunt-jscs-checker");
|
|
||||||
grunt.loadNpmTasks('grunt-merge-conflict');
|
|
||||||
grunt.loadNpmTasks('grunt-parallel');
|
|
||||||
grunt.loadNpmTasks('grunt-shell');
|
|
||||||
grunt.loadTasks('lib/grunt');
|
grunt.loadTasks('lib/grunt');
|
||||||
|
|
||||||
var NG_VERSION = util.getVersion();
|
var NG_VERSION = util.getVersion();
|
||||||
|
|
|
||||||
24
package.json
24
package.json
|
|
@ -9,12 +9,20 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"grunt": "~0.4.2",
|
"grunt": "~0.4.2",
|
||||||
"bower": "~1.2.2",
|
|
||||||
"grunt-bump": "~0.0.13",
|
"grunt-bump": "~0.0.13",
|
||||||
"grunt-contrib-clean": "~0.5.0",
|
"grunt-contrib-clean": "~0.5.0",
|
||||||
"grunt-contrib-compress": "~0.5.2",
|
|
||||||
"grunt-contrib-connect": "~0.5.0",
|
"grunt-contrib-connect": "~0.5.0",
|
||||||
|
"grunt-contrib-compress": "~0.5.2",
|
||||||
"grunt-contrib-copy": "~0.4.1",
|
"grunt-contrib-copy": "~0.4.1",
|
||||||
|
"grunt-contrib-jshint": "~0.7.2",
|
||||||
|
"grunt-ddescribe-iit": "~0.0.1",
|
||||||
|
"grunt-jasmine-node": "git://github.com/vojtajina/grunt-jasmine-node.git#fix-grunt-exit-code",
|
||||||
|
"grunt-jscs-checker": "~0.3.2",
|
||||||
|
"grunt-merge-conflict": "~0.0.1",
|
||||||
|
"grunt-parallel": "~0.3.1",
|
||||||
|
"grunt-shell": "~0.4.0",
|
||||||
|
"load-grunt-tasks": "~0.3.0",
|
||||||
|
"bower": "~1.2.2",
|
||||||
"jasmine-node": "~1.11.0",
|
"jasmine-node": "~1.11.0",
|
||||||
"q": "~0.9.2",
|
"q": "~0.9.2",
|
||||||
"q-io": "~1.10.6",
|
"q-io": "~1.10.6",
|
||||||
|
|
@ -33,16 +41,10 @@
|
||||||
"yaml-js": "~0.0.8",
|
"yaml-js": "~0.0.8",
|
||||||
"marked": "0.2.9",
|
"marked": "0.2.9",
|
||||||
"rewire": "1.1.3",
|
"rewire": "1.1.3",
|
||||||
"grunt-jasmine-node": "git://github.com/vojtajina/grunt-jasmine-node.git#fix-grunt-exit-code",
|
|
||||||
"grunt-parallel": "~0.3.1",
|
|
||||||
"grunt-ddescribe-iit": "~0.0.1",
|
|
||||||
"grunt-merge-conflict": "~0.0.1",
|
|
||||||
"promises-aplus-tests": "~1.3.2",
|
"promises-aplus-tests": "~1.3.2",
|
||||||
"grunt-shell": "~0.4.0",
|
|
||||||
"semver": "~2.1.0",
|
"semver": "~2.1.0",
|
||||||
"lodash": "~2.1.0",
|
"lodash": "~2.1.0",
|
||||||
"browserstacktunnel-wrapper": "~1.1.1",
|
"browserstacktunnel-wrapper": "~1.1.1"
|
||||||
"grunt-jscs-checker": "~0.3.2"
|
|
||||||
},
|
},
|
||||||
"licenses": [
|
"licenses": [
|
||||||
{
|
{
|
||||||
|
|
@ -50,7 +52,5 @@
|
||||||
"url": "https://github.com/angular/angular.js/blob/master/LICENSE"
|
"url": "https://github.com/angular/angular.js/blob/master/LICENSE"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {}
|
||||||
"grunt-contrib-jshint": "~0.7.2"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue