Skip to content

bradmax-com/bradmax-player-npm-builder

Repository files navigation


NodeJsBradmax


This node.js program builds bradmax player npm packages for:

plugin npm github example
angular js @bradmax/player-ag bradmax-com/bradmax-player-ag bradmax-com/bradmax-player-ag-example
angular 5+ @bradmax/player-ng bradmax-com/bradmax-player-ng bradmax-com/bradmax-player-ng-example
reactJs @bradmax/player-rxjs bradmax-com/bradmax-player-rxjs bradmax-com/bradmax-player-rxjs-example
player js* @bradmax/player bradmax-com/bradmax-player-js

*bundle dependency of all above packages


Usage:

1. Install npm dependencies (check details in ./package.json file):

yarn install

or just

yarn

2. Edit file ./setup.json (all paths are relative to project root directory):

{
	"bradmax-player": "./../../bs-player",
	"bradmax-player-js": "./package/player",
	"bradmax-player-ag": "./package/player-ag",
	"bradmax-player-ng": "./package/player-ng",
	"bradmax-player-rxjs": "./package/player-rxjs",
	"local-distribution-server-url": "http://localhost",
	"local-distribution-server-port": "6969"
}
  • bradmax-player : path to locale repo with bradmax player, used for building player javascript sources package,
  • bradmax-player-js : path to bradmax player javascript git sub-module,
  • bradmax-player-ag : path to bradmax player AngularJs git sub-module,
  • bradmax-player-ng : path to bradmax player Angular git sub-module,
  • bradmax-player-rxjs : path to bradmax player ReactJs git sub-module,
  • local-distribution-server-url : url of distribution server,
  • local-distribution-server-port : port of distribution server,

3. Run for details:

if installed from npm

bradmax --help

else

  • node
node src/bradmax --help
  • yarn
yarn bradmax --help
  • npm
npm run bradmax -- --help

If your IDE is VS Code open debug panel and use one of predefined tasks.

tasks configuration can be found in .vscode/launch.json.


Project structure

./.vscode/launch.json Visual Studio debug setup
./dist npm packages output directory
./package directory containing github submodules
./src/package/** directory containing building tasks
./src/tool/** directory containing building tools
./src/util/** directory containing building utils
./src/util/bradmax.js node.js bradmax program entry file

License MIT


More info @ bradmax.com

About

This project is used to build npm packages with bradmax player for AngularJS, Angular5, ReactJs.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors