Search results for introduction to npm Scripts fewliveasync.js
A JavaScript Build System Shootout: Grunt vs. Gulp vs. NPM
…itself. Defining tasks for npm is as easy as adding properties to a scripts object in your package manifest. The name of the property will be used as the task…
Introduction to npm
…the reader: make a new test project; install your newly published module from npm, and then write or modify the existing run.js to test it. Homework What’s that look? You…
Building a JavaScript Library with Grunt.js
…to use Grunt.js to build JavaScript library. Grunt.js requires Node.js and npm to run, so first sections explain what those are, how to install them and how to use them….
Choosing Between npm, Bower and component
…context of each project, but at least we’re not downloading js/css manually through the browser, using wget or writing bash scripts to download/update our client-side dependencies. We have better options….
Writing a Command Line Utility using Node
…other scripts. In the case of our calculator script, this isn’t needed as it is unlikely our script will be used as part of other scripts. We can delete this….
Building your first Node.js module
…Using Homebrew (Mac only) – brew install node Downloading the installer from http://nodejs.org Having installed Node.js we will now configure NPM with our details so that it knows who we…
Roll Your Own Asset Pipeline with Gulp
…Then add this script task to your gulpfile.js: var gulp = require(‘gulp’); var less = require(‘gulp-less’); var concat = require(‘gulp-concat’); gulp.task(‘less’, function() { return gulp.src(‘css/app.less’) .pipe(less()) .pipe(gulp.dest(‘dist’)); }); gulp.task(‘scripts‘, function()…
Towards a More Modular Future for JavaScript Libraries
…let’s put more value in there! Related Resources microjs – a listing of small JS libraries npm – the Node Package Manager registry bower – the Bower registry require.js –…
ECMAScript 6: Jump in, the water is warm!
…next line, Traceur looks for todolist.js // in the build directory instead of the scripts directory. import TodoList from ‘./todolist’; var app = angular.module(‘Todo’, []); var todoList = new TodoList();…
Using Bootstrap 3 as a Web Development Workflow Tool
…stripBanners: false }, bootstrap: { src: [ ‘js/transition.js‘, // … Other Bootstrap scripts … //New script name goes here … ‘js/my-awesome-script.js‘ //Example ], dest: ‘dist/js/<%= pkg.name %>.js‘ } } To…









