0.2.0 • Published 8 years ago
base-javascript-sdk v0.2.0

Base JavaScript SDK
Official JavaScript SDK for Base.
Development
npm run devRuns the app in development mode using Webpack dev server and Webpack Dashboard. Open http://localhost:3000 to view it in the browser.
Production
npm run buildTwo separate folders, browser and module will be created inside the /dist folder.
browser
The /browser folder will contain three files, all of which are transpiled from TypeScript to ES5. Thus they will directly work in the browser, 
without having to run a transpiler like Babel.
- app.bundle.js: Contains the core library.
 - vendor.bundle.js: Contains the library's dependencies.
 - index.html: A placeholder page with both the above files linked.
 
module
The /module folder will contain all the files and modules, transpiled from TypeScript to ES5. However, the folder will also contain
TypeScript definitions for all the classes. This would make integrating this library in to your existing TypeScript app, seamless.