grommet-css
Advanced tools
Comparing version 1.0.0 to 1.1.0
{ | ||
"name": "grommet-css", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Standalone css for grommet ui library.", | ||
@@ -8,2 +8,3 @@ "main": "build/index.min.css", | ||
"build": "node-sass index.scss build/index.min.css --output-style compressed --include-path ./node_modules", | ||
"build:buildabode": "node-sass themes/buildabode/index.scss build/buildabode/index.min.css --output-style compressed --include-path ./node_modules", | ||
"start": "node-sass index.scss build/index.min.css -w --output-style compressed --include-path ./node_modules" | ||
@@ -17,3 +18,3 @@ }, | ||
"license": "MIT", | ||
"dependencies": { | ||
"peerDependencies": { | ||
"grommet": "^1.3.4" | ||
@@ -20,0 +21,0 @@ }, |
# grommet-css | ||
Created to use [grommet](https://github.com/grommet/grommet) with [create-react-app](https://github.com/facebookincubator/create-react-app). Grommet needs `scss` preprocessor as dependencies and unless you `eject` there is no way to easily use with `create-react-app`. | ||
Created to use [grommet](https://github.com/grommet/grommet) with [create-react-app](https://github.com/facebookincubator/create-react-app). Grommet needs `scss` preprocessor and unless you `eject` there is no way to easily use with `create-react-app`. | ||
## Usage | ||
### As is | ||
```bash | ||
@@ -16,1 +17,10 @@ npm install grommet-css | ||
``` | ||
### Custom | ||
You can also fork this repo, make changes like including a different default grommet style in `index.scss` or tweaking grommet scss variables. | ||
#### Production | ||
Update the name in `package.json`, run `npm build`, then run `npm publish` | ||
#### Development | ||
Use `npm link` to link your fork to your main repo and `npm start` to watch for changes. |
805702
9
3092
26
- Removedgrommet@^1.3.4