@usearcade/arcade-js
Make Arcade a dependency in your project and access your design tokens with ease
Install
npm install @usearcade/arcade-js
Usage
When this package is installed, arcade-config.json
will be added to the root of your repository. Within this file, make sure to add your project_id
, access_token
, and version
to ensure the install will work. These details can be found within your Arcade project.
The install will add two scripts to your package.json
:
Build Tokens
npm run arcade-build
This command will fetch your tokens from Arcade and build them locally using the configuration in arcade-config.json
.
Update Tokens
npm run arcade-update
This command will fetch the latest published tokens from Arcade and build them locally using the configuration in arcade-config.json
. The version number in arcade-config.json
does not have to be manually changed and will be updated automatically.
Author
👤 Arcade Inc.
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
📝 License
Copyright © 2021 Arcade Inc.
This project is GPL-3.0 licensed.
This README was generated with ❤️ by readme-md-generator