- Parcel.js to bundle the app
- Found a great sample on https://stackoverflow.com/questions/27464168/how-to-include-scripts-located-inside-the-node-modules-folder
- Use gulp
- Copy each requireed module file from node_modules into public/modules
| - Open Automator | |
| - File -> New -> Service | |
| - Change "Service Receives" to "files or folders" in "Finder" | |
| - Add a "Run Shell Script" action | |
| - Change "Pass input" to "as arguments" | |
| - Paste the following in the shell script box: open -n -b "com.microsoft.VSCode" --args "$*" | |
| - Save it as something like "Open in Visual Studio Code" |
| var gulp = require('gulp'); | |
| var sass = require('gulp-sass'); | |
| var uglify = require('gulp-uglify'); | |
| var rename = require('gulp-rename'); | |
| var include = require('gulp-include'); | |
| var mustache = require('gulp-mustache'); | |
| var cleanCSS = require('gulp-clean-css'); | |
| var autoprefixer = require('gulp-autoprefixer'); | |
| var browserSync = require('browser-sync').create(); |
| using Newtonsoft.Json; | |
| //This grab the output from a nodejs and transform it into C# object | |
| namespace dnc_nodejs_001 | |
| { | |
| class Program |