-
Notifications
You must be signed in to change notification settings - Fork 21
Build commands 🛠
juniorxsound edited this page Feb 5, 2019
·
1 revision
yarn run start
- Run server.js
in Node.js
yarn run server
- Run server.js
in nodeamon (i.e relaunch server on every change to the file)
yarn run format
- Format the src/
folder using Javascript standard style
yarn run docs
- Create documentation from code comments into API.md
in markdown format (documentation.js
)
yarn run build
- Build both minified and regular versions of the player into dist/
yarn run build:production
- Build only a minified version of the player into dist/
yarn run build:development
- Build only a regular version of the player into dist/
yarn run build:watch
- Watch for every change in the src/
folder and build a new regular version of the player
yarn run test
- Run mocha test server in localhost:4444/spec