0.14.7 • Published 6 years ago

baset-env-browser v0.14.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Known Vulnerabilities

BaseT browser environment plugin

Browser environment plugin for BaseT project.

Installation and usage

Run:

npm install --save-dev baset-env-browser

and adding next lines to baset.plugins section in your package.json or plugins section in your .basetrc/.basetrc.json:

".spec.js$": ["baset-env-browser", "baset-baseliner-json"], // JavaScript
".spec.ts$": ["baset-env-browser", "baset-reader-ts", "baset-baseliner-json"] // TypeScript

You may also use static files server, by specifying at least one of following options,

"baset-env-browser": {
    "serverPort": 1337, // port that will be used for serving files, 1337 is default value
    "staticFolder": "./path/to/your/static/files" // root folder of your files, current working directory by default
}

This config will run express.static server at http://localhost:1337/ that will serve files from staticFolder.
In most cases it's not needed, but sometimes (e.g. for PIXI loaders) it could be necessary, because framework/library may heavily depend on fetching some files from server.

0.14.7

6 years ago

0.14.6

6 years ago

0.14.4

6 years ago

0.14.3

6 years ago

0.14.2

6 years ago

0.13.7

6 years ago

0.13.6

6 years ago

0.13.5

6 years ago

0.13.4

6 years ago

0.13.2

6 years ago

0.13.1

6 years ago

0.13.0

6 years ago

0.12.0

6 years ago

0.11.1

6 years ago

0.11.0

6 years ago

0.10.0

6 years ago

0.9.0

6 years ago

0.8.0

6 years ago

0.7.5

6 years ago

0.7.4

6 years ago

0.7.3

6 years ago

0.7.2

6 years ago

0.7.1

6 years ago

0.6.0

6 years ago