This package has been deprecated

Author message:

This library has been replaced by the newer libraries @craftercms/{content, search, redux, models, classes, utils}

@craftercms/sdk

3.0.10 • Public • Published

craftercms-sdk-js

Crafter CMS SDK for JavaScript in the browser and Node JS

Project Structure

  • src contains the ES6 sources for developing
  • lib contains the ES5 sources generated by babel
  • dist contains the ES5 bundle generated by webpack to use in browsers

Building

  • npm run compile will use babel to generate ES5 sources in the lib folder
  • npm run build will use webpack to generate a production ES5 bundle under dist folder
  • npm run dev will use webpack to generate a development ES5 bundle under dist folder 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 editorial blueprint with the same name

Package Sidebar

Install

npm i @craftercms/sdk

Weekly Downloads

0

Version

3.0.10

License

LGPL-3.0

Unpacked Size

76 kB

Total Files

22

Last publish

Collaborators

  • jdrossl
  • rart
  • sumerjabri