Since npm doesn't support arrays in package.json script, are there some ways to split horribly long lines into something more readable?
Here's what I have right now:
"build:js": "uglifyjs node_modules/asteroid/node_modules/ddp.js/src/ddp.js node_modules/asteroid/node_modules/q/q.js node_modules/asteroid/dist/asteroid.chrome.js --screw-ie8 -c -m -o dist/vendor/asteroid.js && uglifyjs node_modules/css-selector-generator/build/css-selector-generator.min.js node_modules/selection-menu/node_modules/tether/dist/js/tether.min.js node_modules/selection-menu/src/selection-menu.js --screw-ie8 -c -m -o dist/vendor/selection-menu.js && cpy src/*.js dist/",
One way would be to artificially move parts of that command into prebuild and postbuild, but I might need to put legit command in pre and post later.
Since npm doesn't support arrays in package.json script, are there some ways to split horribly long lines into something more readable?
Here's what I have right now:
"build:js": "uglifyjs node_modules/asteroid/node_modules/ddp.js/src/ddp.js node_modules/asteroid/node_modules/q/q.js node_modules/asteroid/dist/asteroid.chrome.js --screw-ie8 -c -m -o dist/vendor/asteroid.js && uglifyjs node_modules/css-selector-generator/build/css-selector-generator.min.js node_modules/selection-menu/node_modules/tether/dist/js/tether.min.js node_modules/selection-menu/src/selection-menu.js --screw-ie8 -c -m -o dist/vendor/selection-menu.js && cpy src/*.js dist/",One way would be to artificially move parts of that command into prebuild and postbuild, but I might need to put legit command in pre and post later.