-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Mastering Backbone.js
By :
With Browserify, we can create CommonJS modules that can be executed in the browser. When you use CommonJS modules in the browser, Browserify will provide the necessary tools to load the modules, which includes a definition for the require() function.
When you use Browserify, you can use the Node package manager to install and define dependencies for your projects. A useful tool is the npm command tool, used to install and manage project dependencies.
The package.json file in a Node project is a JSON file used to define, install, and manage the version of the libraries that your project depends on. A package.json file can contain many configuration options; you can see the complete documentation on the Node website at https://docs.npmjs.com/. Here is a list of the main values.
Name – The name of the project without spacesDescription – A short description of the projectVersion – A version number for the project, typically starting with 0.0.1Dependencies...
Change the font size
Change margin width
Change background colour