cd to directory
npm install @types/three --save-dev
npm install webpack webpack-cli webpack-dev-server webpack-merge ts-loader --save-dev
npm install typescript --save-dev
Add the following script in "scripts" part of package.json for starting the webpack dev server
"dev": "webpack serve --config ./src/client/webpack.dev.js",
npm install dat.gui --save-dev
npm install @types/dat.gui --save-dev
After all of the above to run use: npm run dev