2016-01-14 19:14:43 +08:00
|
|
|
# CartoAssets
|
|
|
|
|
|
|
|
> Share frontend assets between different CartoDB repositories
|
|
|
|
|
|
|
|
|
2016-01-15 02:23:36 +08:00
|
|
|
### Installation
|
|
|
|
As easy as:
|
|
|
|
- ```npm install```
|
|
|
|
|
|
|
|
### Build
|
|
|
|
If you want to use any of the CartoAssets components, after the installation just run:
|
|
|
|
- ```grunt build```
|
|
|
|
|
|
|
|
### Development
|
|
|
|
It will generate a UI documentation about the components in this repository:
|
|
|
|
- ```grunt dev```
|
|
|
|
|
|
|
|
### Publish a new version
|
|
|
|
In order to publish a new version of CartoAssets you need to:
|
|
|
|
|
|
|
|
- Change version of the package.
|
|
|
|
- Be a collaborator of the [npm module](https://www.npmjs.com/cartoassets) (Send an email to xavijam[at]cartodb.com).
|
|
|
|
|
|
|
|
If you have previous steps done:
|
|
|
|
|
|
|
|
- ```npm publish```
|