Skip to content

Package to make Arcade a dependency in your package

Notifications You must be signed in to change notification settings

Usearcade/arcade-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@usearcade/arcade-js

Version Documentation Maintenance Twitter: usearcade License: GPL-3.0

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

About

Package to make Arcade a dependency in your package

Resources

Stars

Watchers

Forks

Releases

No releases published