Partially comes from here
- Run
npm init
and walk through the steps npm install d3
- Create
.gitignore
and addnode_modules
to it - Install dev server:
npm i --save-dev @web/dev-server
- Add dev server start script to
package.json
:"start": "web-dev-server --node-resolve --open --watch"