Tagged articles
4 articles
Page 1 of 1
Tencent Cloud Developer
Tencent Cloud Developer
Mar 26, 2018 · Backend Development

Comprehensive Guide to npm: Initialization, Dependency Management, Versioning, Scripts, and Best Practices

This comprehensive npm guide explains initializing projects with npm init (including custom defaults), installing and linking local, Git, or private packages, understanding version‑tree changes across npm 2‑5, using semver, managing dependencies and lock files, leveraging npm scripts, npx, configuration files, engine constraints, and essential best‑practice recommendations for stable, reproducible front‑end development.

dependencynpmnpm scripts
0 likes · 31 min read
Comprehensive Guide to npm: Initialization, Dependency Management, Versioning, Scripts, and Best Practices
Aotu Lab
Aotu Lab
Mar 2, 2016 · Frontend Development

Why Replace Gulp with npm Scripts? A Practical Front‑End Build Guide

This article explains the drawbacks of using Gulp or Grunt for front‑end automation, demonstrates how npm scripts can simplify tasks like cleaning the dist folder, and discusses common developer misconceptions while outlining both the benefits and limitations of npm scripts as a build tool.

Frontend BuildJavaScriptbuild tools
0 likes · 8 min read
Why Replace Gulp with npm Scripts? A Practical Front‑End Build Guide
CSS Magic
CSS Magic
Feb 4, 2016 · Frontend Development

How to Build a JavaScript Library with Webpack and ES6

This tutorial explains how to define a JavaScript library, set up a clean project structure, use Babel to transpile ES6, configure Webpack for development and production builds (including UMD output), add npm scripts, run Mocha/Chai tests, and manage related configuration files.

babeles6javascript library
0 likes · 11 min read
How to Build a JavaScript Library with Webpack and ES6
Node Underground
Node Underground
Dec 29, 2015 · Backend Development

Master Node.js Unit Testing with npm Scripts, Makefile, and CI

This guide walks through setting up Node.js unit testing using Mocha and Istanbul, streamlining commands with npm scripts and a Makefile, handling glob patterns, and integrating continuous integration with Travis CI or a custom UITest-ci solution.

MakefileNode.jscontinuous integration
0 likes · 7 min read
Master Node.js Unit Testing with npm Scripts, Makefile, and CI