Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoPlayer React Sample

Version

1.3.0

Copyright

(c) 2023, nanocosmos gmbh http://www.nanocosmos.de sales@nanocosmos.de

Installation

Install ESLint globally using

npm install -g eslint

clone the repository and run

cd nanoplayer-react/
npm install

If you get an error regarding dependency peer, then run:

cd nanoplayer-react/

npm config set legacy-peer-deps true

npm install

Using yarn?, Run:

cd nanoplayer-react/
yarn

Testing

In the project directory, you can run:

npm start

Using yarn?, Run:

yarn start

Testing the Build version

In the project directory, you can run:

npm install -g serve
serve -s build

The last command shown above will serve your static site on the port 3000

Code Quality Check

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 src

OR

cd nanoplayer-react/
npm run lint

Running this command will lint all .jsx files in the src directory.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages