A multifaceted audio player widget for Elementor.
- php
- node
- npm
- composer
- docker
- docker-compose
Install dependencies.
$ composer install
$ npm installCreate the docker container, should be accessible at http://localhost:4000
$ npm run docker:upRun webpack in watch mode and start browsersync at http://localhost:4001. Everything will be proxied to the docker container and changes will live reload.
$ npm startIf you want to start over with a fresh container:
$ npm run docker:reloadJS tests:
$ npm run testJS lint:
$ npm run lint
$ npm run lint:fixJest snapshots can be updated with:
$ npm run test:update-ssPHP tests:
$ npm run test:phpCypress is used for all e2e/integration tests.
Run in interactive mode:
$ npm run cypress:openRun in non-interactive mode
$ npm run test:e2eAll changes need to be have their own branch, pull requests should be concise and limited in scope. Run the integration tests before pushing to ensure existing features still work. CI jobs are run with google build and are triggered automatically when pushing a commit. PR's cannot be merged until all the tests that run in CI have passed.
All building, deploying and releasing is handled via npm scripts.
$ npm run release