Results: 1578
Notes
  • Newest first
  • Oldest first
  • Newest first(All)
  • Oldest first(All)
get default license
Shows default value for license property
npm config get init-license  /  npm get init-license
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Shows the default value for author
npm config get init-author-name
We can omit
config
keyword
npm get init-author-name
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Sets default value for license property
npm config set init-license "MIT"  /  npm set init-license "MIT"
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Sets default value for author property of
package.json
file
npm config set init-author-name "Va. Tand."
We can omit
config
keyword
npm set init-author-name "Va. Tand."
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Main properties / parameters that the file includes:
name
- name of the app (default is the name of the current folder)
version
- version of the app (default is 1.0.0 - major.manor.patch)
description
- short description for the project
main
- entry point - main JS file
keywords
- keywords that the app is related to
author
- project author
license
- default is ISC (Internet Systems Consortium)
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Creates
package.json
file that contains all of the settings and essential information for the application Creates the file with the default values
npm init -y  /  npm init --yes
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Shows
help
page with some useful information about how to use
npm
npm
Same as the above command
npm help
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Shows the current version of NPM
npm --version
Short version of the above command
npm -v
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
what is NPM used for
install/uninstall modules/packages
create & share modules
use packages created by other developers
manage dependencies & versioning
by Valeri Tandilashvili
5 years ago
0
NPM
NPM Crash Course
0
Moves
file.php
to
src
directory (if the directory does not exist, the file will be renamed to
src
)
git mv file.php src
file.php
will be moved to
src/
directory (if the destination directory does not exist, git will throw the error:
destination directory does not exist..
git mv file.php src/
After running the command, status of the file will be
renamed
, but if we did it manually, git will identify the operation as
deleted
and
new file
by Valeri Tandilashvili
5 years ago
0
Git
Git tutorial
1
Results: 1578