Skip to content

Commit

Permalink
Finish new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlanjc committed Jan 17, 2020
1 parent 342ad60 commit c727429
Show file tree
Hide file tree
Showing 12 changed files with 5,718 additions and 9,413 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

3 changes: 1 addition & 2 deletions .gitignore
@@ -1,5 +1,4 @@
dist/
node_modules/
.DS_Store
docs/404.html
docs/bundle.js
.next/
7 changes: 3 additions & 4 deletions .nowignore
@@ -1,4 +1,3 @@
*
!package.json
!now.json
!pages/
svg/
dist/
.next/
7 changes: 3 additions & 4 deletions .npmignore
@@ -1,8 +1,7 @@
*
!index.js
!dist/index.js
!docs/index.html
!dist
!src
!package.json
!package-lock.json
!yarn.lock
!README.md
!LICENSE
19 changes: 9 additions & 10 deletions README.md
Expand Up @@ -15,10 +15,10 @@ import React from 'react'
import Icon from '@hackclub/icons'

export default () => (
<div style={{ color: 'hotpink' }}>
<Icon glyph="challenge" size={128} />
<Icon glyph="event-code" size={64} />
<Icon glyph="important" size={32} />
<div style={{ color: 'cyan' }}>
<Icon glyph="clubs" size={128} />
<Icon glyph="bank-circle" size={64} />
<Icon glyph="leaders" size={32} />
</div>
)
```
Expand All @@ -35,18 +35,17 @@ $ cd icons
2. Install dependencies.

```sh
$ npm install
$ yarn
```

3. Setup docs (optional, do this if you’ve added icons).
3. Build library.

```sh
npm run prepare
npm run docs
yarn run prepare
```

4. Run locally.
4. Run docs locally.

```sh
npm run dev
yarn run dev
```
1 change: 1 addition & 0 deletions next.config.js
@@ -0,0 +1 @@
module.exports = {}
4 changes: 3 additions & 1 deletion now.json
@@ -1,4 +1,6 @@
{
"version": 2,
"alias": "hackclub-icons.now.sh"
"name": "hackclub-icons",
"public": true,
"builds": [{ "src": "next.config.js", "use": "@now/next" }]
}

0 comments on commit c727429

Please sign in to comment.