3.0.10 • Published 8 years ago
@craftercms/sdk v3.0.10
craftercms-sdk-js
Crafter CMS SDK for JavaScript in the browser and Node JS
Project Structure
srccontains the ES6 sources for developinglibcontains the ES5 sources generated by babeldistcontains the ES5 bundle generated by webpack to use in browsers
Building
npm run compilewill use babel to generate ES5 sources in thelibfoldernpm run buildwill use webpack to generate a production ES5 bundle underdistfoldernpm run devwill use webpack to generate a development ES5 bundle underdistfolder and watch for changes
Testing
Run npm test to execute all tests under the folder test, before running this command you need to:
- Start a crafter authoring environment
- Create a site using the
editorialblueprint with the same name
3.0.10
8 years ago