1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

tidy package.json and grunt file

This commit is contained in:
Dave Conway-Jones 2017-11-06 22:17:49 +00:00
parent 71be4500fc
commit 78a994e439
No known key found for this signature in database
GPG Key ID: 9E7F9C73F5168CD4
2 changed files with 37 additions and 24 deletions

View File

@ -1,7 +1,10 @@
// Configuration for Node-RED-nodes project // Configuration for Node-RED-nodes project
module.exports = function(grunt) { module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({ grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
simplemocha: { simplemocha: {
options: { options: {
globals: ['expect'], globals: ['expect'],
@ -50,6 +53,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-lint-inline'); grunt.loadNpmTasks('grunt-lint-inline');
grunt.loadNpmTasks('grunt-jscs'); grunt.loadNpmTasks('grunt-jscs');
grunt.registerTask('default', ['jshint:all', 'inlinelint', 'simplemocha:all']); grunt.registerTask('default', ['jshint:all', 'inlinelint:html', 'simplemocha:all']);
grunt.registerTask('style', ['jscs']); grunt.registerTask('style', ['jscs']);
}; };

View File

@ -9,32 +9,42 @@
"url": "https://github.com/node-red/node-red-nodes.git" "url": "https://github.com/node-red/node-red-nodes.git"
}, },
"contributors": [ "contributors": [
{"name": "Dave Conway-Jones"}, {
{"name": "Nick O'Leary"}, "name": "Dave Conway-Jones"
{"name": "Ben Hardill"} },
{
"name": "Nick O'Leary"
},
{
"name": "Ben Hardill"
}
], ],
"keywords": [ "keywords": [
"Node-RED", "nodes", "iot", "ibm", "flow" "Node-RED",
"nodes",
"iot",
"ibm",
"flow"
], ],
"devDependencies": { "devDependencies": {
"exif": "^0.6.0",
"grunt": "^1.0.1", "grunt": "^1.0.1",
"grunt-contrib-jshint": "^1.1.0", "grunt-contrib-jshint": "^1.1.0",
"grunt-jscs": "^3.0.1", "grunt-jscs": "^3.0.1",
"grunt-lint-inline": "^1.0.0", "grunt-lint-inline": "^1.0.0",
"grunt-simple-mocha": "^0.4.1", "grunt-simple-mocha": "^0.4.1",
"mocha": "^3.2.0", "imap": "^0.8.19",
"should": "^11.2.1", "mailparser": "^0.6.1",
"sinon": "^1.17.7", "mocha": "~3.5.3",
"supertest": "^3.0.0", "msgpack-lite": "^0.1.26",
"proxyquire": "^1.7.11",
"pushbullet": "^2.0.0",
"when": "^3.7.8",
"exif": "^0.6.0",
"ngeohash": "^0.6.0", "ngeohash": "^0.6.0",
"nodemailer": "^1.11.0", "nodemailer": "^1.11.0",
"poplib": "^0.1.7", "poplib": "^0.1.7",
"mailparser": "^0.6.1", "proxyquire": "^1.7.11",
"imap": "^0.8.19", "pushbullet": "~2.1.0",
"msgpack-lite": "^0.1.26" "should": "^11.2.1",
"sinon": "^1.17.7",
"supertest": "^3.0.0",
"when": "^3.7.8"
} }
} }