-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #190 from dabapps/publish-to-npm
Publish to npm
- Loading branch information
Showing
5 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
!/dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,12 @@ deploy: | |
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard | ||
on: | ||
branch: master | ||
|
||
deploy: | ||
provider: npm | ||
email: [email protected] | ||
on: | ||
tags: true | ||
api_key: | ||
secure: NiEYS2mfHM0O7HxZ+tLFe9YCjkaZB2cy2tHLGqGnWUdNM4CLRugbAreYRgewylbWoqwm3ge5G2PbDKpf19t6aB/RSDtjm4OcSfPZF2MM/s0K2Cnoh62TRbEnZHmaDF6v73GI1H6sxp3EQvHpGt3JyPblNelBkW1MbnlFPAmxiivRIBjEDPyCtwUE3SnnoTJM8ojmFOZL5sidXWH1S4iJslO3i4Y8LUISKOqr9etII9HuaxrIuf0H5rL8uWBnhw9A4y+dCRt6yBkfm4jTPg0s2T1oPQYLsu9OV2vmbmctu3D3qF2RG3k2m2NeWpIdicaEsLl2W9yBdXy1NRfNst85s40Gr5VW3DeHhC34In801rYHSSXcs/bMwXJ+pIFyAg/Q1BaJgbcLyXJghQznqXzWHyErmbi/0nnkVkny3QVajAZBialdNt+6Qh2bI7cDERkEA+ViOaRYoO48Xioxv8GqWPmdm1x/bsBU6CZlUgCd/7+Qdro9TFjAg/qPODpw8csORGWpFGDfk5z0r3Ki6XX6/ZunnMXZ88B91Hw+d29YlxuXOIljVZIWri1aVXymIa0OM6o+6lznIpJEBa73UiLdnafoY8ytxN0iWeQAET56WwfZepqgO2L+sRNiAWmnKOikJ3EmS7eGIXTgZ6X0pynLvLBDK/Wm2NCR1UiGKkzAiwo= | ||
skip_cleanup: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,15 @@ npm start | |
You need to install Roe and its peer dependencies with npm. Npm should warn you if you haven't installed any peer dependencies. | ||
|
||
```shell | ||
npm i dabapps/roe#vX.X.X | ||
npm i @dabapps/roe -SE | ||
``` | ||
|
||
Note: `-SE` is shorthand for `--save` (to add to package.json) `--save-exact` (exact version). | ||
|
||
Install a specific version with | ||
|
||
```shell | ||
npm i @dabapps/[email protected] -SE | ||
``` | ||
|
||
See [releases](https://github.com/dabapps/roe/releases) for a full list of versions. | ||
|
@@ -30,7 +38,7 @@ See [releases](https://github.com/dabapps/roe/releases) for a full list of versi | |
Include Roe in your main `index.less` file. Do not use `../` in the path. | ||
|
||
```less | ||
@import 'node_modules/roe/src/less/index.less'; | ||
@import 'node_modules/@dabapps/roe/src/less/index.less'; | ||
``` | ||
|
||
### Components | ||
|
@@ -42,7 +50,7 @@ import { | |
Column, | ||
Container, | ||
Row | ||
} from 'roe'; | ||
} from '@dabapps/roe'; | ||
``` | ||
|
||
### Code Higlighting | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters