js-sdk
CrafterCMS SDK for JavaScript in the browser and NodeJS
Project Structure
The packages directory contains the different SDK packages and their respective sources (TypeScript for the most part)
Please go into the distinct packages to see the docs.
Building & Testing
You never need to build unless you're interested in collaborating on the development of this library. See the packages you're interested in for usage instructions if you just want to consume the SDK.
Building
yarnwill fetch all dependencies for development./build.shwill use Webpack to generate a production ES5 bundle underdistfolder
Testing
Run yarn test on each of the packages to execute all tests.
Community
Contributors
https://github.com/craftercms/craftercms/blob/develop/CONTRIBUTORS.md
Code of Conduct
https://github.com/craftercms/craftercms/blob/develop/CODE_OF_CONDUCT.md
Contributing
https://github.com/craftercms/craftercms/blob/develop/CONTRIBUTING.md
Git Workflow
https://github.com/craftercms/craftercms/blob/develop/GIT_WORKFLOW.md