npm install
// build it once so that it creates the www folder
cordova prepare (specifically: cordova platforms add browser)
Before you can serve it, check if the following files in the public folder are symbolic links
config.xml -> ../platforms/browser/www/config.xml
cordova -> ../platforms
If not create them with the command:
cd public/
ln -s <original file> <link name>
npm run dev
npm run build
npm run lint