mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
commit
71c5b1be86
@ -624,6 +624,10 @@ module.exports = function(grunt) {
|
|||||||
'Builds editor content',
|
'Builds editor content',
|
||||||
['clean:build','jsonlint','concat:build','concat:vendor','copy:build','uglify:build','sass:build','attachCopyright']);
|
['clean:build','jsonlint','concat:build','concat:vendor','copy:build','uglify:build','sass:build','attachCopyright']);
|
||||||
|
|
||||||
|
grunt.registerTask('build-dev',
|
||||||
|
'Developer mode: build dev version',
|
||||||
|
['clean:build','concat:build','concat:vendor','copy:build','sass:build','setDevEnv']);
|
||||||
|
|
||||||
grunt.registerTask('dev',
|
grunt.registerTask('dev',
|
||||||
'Developer mode: run node-red, watch for source changes and build/restart',
|
'Developer mode: run node-red, watch for source changes and build/restart',
|
||||||
['build','setDevEnv','concurrent:dev']);
|
['build','setDevEnv','concurrent:dev']);
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
"start": "node packages/node_modules/node-red/red.js",
|
"start": "node packages/node_modules/node-red/red.js",
|
||||||
"test": "grunt",
|
"test": "grunt",
|
||||||
"build": "grunt build",
|
"build": "grunt build",
|
||||||
|
"dev": "grunt dev",
|
||||||
|
"build-dev": "grunt build-dev",
|
||||||
"docs": "grunt docs"
|
"docs": "grunt docs"
|
||||||
},
|
},
|
||||||
"contributors": [
|
"contributors": [
|
||||||
|
Loading…
Reference in New Issue
Block a user