The list of steps I most often use to create the basic scaffolding for a new Frontend project.
npm install -g karma-cli
to install globally the karma CLInpm install -g live-server
to install globally a web-server to serve the files (which refreshes the page every time one of the served files is edited)
mkdir <project-folder>
to create a new project foldercd <project-folder>
to enter the project foldergit init
to initialize gitnpm init
to initialize npmnpm install karma --save-dev
to install karmanpm install karma-jasmine karma-chrome-launcher --save-dev
to install the basic karma plugins