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
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
simplemocha: {
options: {
globals: ['expect'],
@ -50,6 +53,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-lint-inline');
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']);
};

View File

@ -1,40 +1,50 @@
{
"name" : "node-red-nodes",
"version" : "0.0.9",
"description" : "Node-RED-nodes package to hold the test framework ONLY - use npm to install individual nodes",
"homepage" : "http://nodered.org",
"license" : "Apache-2.0",
"repository" : {
"type":"git",
"url":"https://github.com/node-red/node-red-nodes.git"
"name": "node-red-nodes",
"version": "0.0.9",
"description": "Node-RED-nodes package to hold the test framework ONLY - use npm to install individual nodes",
"homepage": "http://nodered.org",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/node-red/node-red-nodes.git"
},
"contributors": [
{"name": "Dave Conway-Jones"},
{"name": "Nick O'Leary"},
{"name": "Ben Hardill"}
{
"name": "Dave Conway-Jones"
},
{
"name": "Nick O'Leary"
},
{
"name": "Ben Hardill"
}
],
"keywords": [
"Node-RED", "nodes", "iot", "ibm", "flow"
"Node-RED",
"nodes",
"iot",
"ibm",
"flow"
],
"devDependencies": {
"exif": "^0.6.0",
"grunt": "^1.0.1",
"grunt-contrib-jshint": "^1.1.0",
"grunt-jscs": "^3.0.1",
"grunt-lint-inline": "^1.0.0",
"grunt-simple-mocha": "^0.4.1",
"mocha": "^3.2.0",
"should": "^11.2.1",
"sinon": "^1.17.7",
"supertest": "^3.0.0",
"proxyquire": "^1.7.11",
"pushbullet": "^2.0.0",
"when": "^3.7.8",
"exif": "^0.6.0",
"imap": "^0.8.19",
"mailparser": "^0.6.1",
"mocha": "~3.5.3",
"msgpack-lite": "^0.1.26",
"ngeohash": "^0.6.0",
"nodemailer": "^1.11.0",
"poplib": "^0.1.7",
"mailparser": "^0.6.1",
"imap": "^0.8.19",
"msgpack-lite": "^0.1.26"
"proxyquire": "^1.7.11",
"pushbullet": "~2.1.0",
"should": "^11.2.1",
"sinon": "^1.17.7",
"supertest": "^3.0.0",
"when": "^3.7.8"
}
}