1.3.0
(c) 2023, nanocosmos gmbh http://www.nanocosmos.de sales@nanocosmos.de
npm install -g eslintcd nanoplayer-react/
npm installIf you get an error regarding dependency peer, then run:
cd nanoplayer-react/
npm config set legacy-peer-deps true
npm installUsing yarn?, Run:
cd nanoplayer-react/
yarnIn the project directory, you can run:
npm startUsing yarn?, Run:
yarn startIn the project directory, you can run:
npm install -g serve
serve -s buildThe last command shown above will serve your static site on the port 3000
NOTE: This is not obligetory but if you are adding to this project and you want to check you code with EsLint then; in your script in package.json add : "lint": "eslint src/*/.jsx" . then Run:
cd nanoplayer-react/
eslint --fix --ext .jsx srcOR
cd nanoplayer-react/
npm run lintRunning this command will lint all .jsx files in the src directory.