0.1.4 • Published 7 years ago
@remp/remp-segment-builder v0.1.4
Install guide
- Run
yarn install - Be sure to have segment config filled in a global scope. It should look like this:
window.Segments = {
config: {
AUTH_TOKEN: '',
API_HOST: '',
CANCEL_PATH: '',
SEGMENT_ID: null
}
};yarn servefor development
Build guide
- Run
yarn buildif you want to build whole application for the deployment. Then you can host contents of/distfolder as static files. - Run
yarn build-libif you want to make build of remp-segment-builder as npm package (It's used for example in remp-scenario-builder).