February 14th 2018
Hello! At the ES6 course by Wes Bos I learned about npm and webpacks. An npm is basically a file with one or many functions and you can make them available to other files. Here are some of the more important commands:
npm install touch-cli -g
to install the touch functions
cd es6modules
touch app.js
npm init
json will save all the references to the dependencies(the npm modules)
npm install lodash flickety --save
npm install insane --save
npm install jsonp --save
npm install webpack --save-dev
npm install webpack babel-loader babel-core babel-preset-es2015-native-modules --save-dev - to install babel which will make it compatible with previous versions
trash node.module- if you want to delete them
npm install - to get them back
npm install jquery --save
npm install slug
touch webpack.config.js
At the Web Development Bootcamp with Colt Steele learned about Cloud 9 some more, and the command line terminal use too.
ls- list, shows all the files and folders
cd .. - takes back a directory
cd IntroToCommandLine - example
ls colors: shows the contenst of a folder
touch - create new file
mkdir - create new directory
rm - to delete a specific file
rm-rf - remove entire directories
The Command line is extremely useful, it makes things a lot faster and easier.
Cheers!