Socket
Socket
Sign inDemoInstall

@craftercms/sdk

Package Overview
Dependencies
20
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @craftercms/sdk

Crafter CMS SDK for JavaScript


Version published
Maintainers
3
Install size
964 kB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 23 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc