Skip to content

Commit

Permalink
Merge pull request #140 from indirectlylit/icon-dependency
Browse files Browse the repository at this point in the history
move material icons from normal to dev dependency and update readme
  • Loading branch information
nucleogenesis authored Dec 15, 2020
2 parents e1ac772 + 58dcd93 commit 8423955
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can also specify a particular version of the design system. For example, thi
yarn add https://github.com/learningequality/kolibri-design-system#v1.0.1
```

Importable components and utilities are available under the `lib` path, for example:
Importable components and utilities are available under the `lib` path, for example:

```javascript
import KButton from 'kolibri-design-system/lib/KButton';
Expand Down Expand Up @@ -66,6 +66,8 @@ cd design-system
yarn install
```

(Note: if you see a timeout error like `ESOCKETTIMEDOUT`, you can configure yarn with a higher timeout value [as described here](https://github.com/yarnpkg/yarn/issues/5540#issuecomment-374069461).)

Run the development server using

```bash
Expand Down Expand Up @@ -188,7 +190,7 @@ Icons are drawn from https://github.com/material-icons/material-icons and then c
yarn run precompile-svgs
```

We also output a set of reStructuredText replacement strings into the file ``docs/rstIconReplacements.txt`` which can be used in
We also output a set of reStructuredText replacement strings into the file `docs/rstIconReplacements.txt` which can be used in
user docs based on Sphinx. To update this file, run

```bash
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,22 @@
"lib"
],
"dependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@mdi/svg": "^5.3.45",
"aphrodite": "https://github.com/learningequality/aphrodite/",
"autosize": "^3.0.21",
"css-element-queries": "^1.2.0",
"fuzzysearch": "^1.0.3",
"keen-ui": "^1.3.0",
"lodash": "^4.17.15",
"material-design-icons": "^3.0.1",
"popper.js": "^1.14.6",
"purecss": "^0.6.2",
"svgo": "^1.3.2",
"tippy.js": "^4.2.1"
},
"peerDependencies": {},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@material-icons/svg": "git+https://github.com/material-icons/material-icons.git",
"@mdi/svg": "^5.3.45",
"@vue/test-utils": "^1.0.0-beta.27",
"@vuedoc/parser": "^1.4.0",
"babel-jest": "^24.1.0",
Expand All @@ -51,13 +49,15 @@
"jest": "^24.1.0",
"kolibri-tools": "0.13.0-dev.9",
"lockr": "^0.8.5",
"material-design-icons": "^3.0.1",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"nuxt": "^2.0.0",
"prettier": "^1.18.2",
"prismjs": "^1.15.0",
"raw-loader": "0.5.1",
"sass-loader": "^8.0.2",
"svgo": "^1.3.2",
"svg-icon-inline-loader": "^3.1.0",
"vue-docgen-api": "^4.15.1",
"vue-jest": "^4.0.0-0",
Expand Down

0 comments on commit 8423955

Please sign in to comment.