@usearcade/arcade-js
v0.0.12
Published
Make Arcade a dependency in your project and access your design tokens with ease
Downloads
4
Maintainers
Readme
Make Arcade a dependency in your project and access your design tokens with ease
🏠 Homepage
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.
- Website: https://usearcade.com
- Twitter: @usearcade
- Github: @Usearcade
🤝 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