Skip to content
This repository was archived by the owner on Sep 26, 2023. It is now read-only.

Commit 6741b54

Browse files
Merge pull request #21 from koddr/master
Improve README, LICENSE and package.json
2 parents 6a0fee2 + f1c2ad1 commit 6741b54

File tree

3 files changed

+49
-10
lines changed

3 files changed

+49
-10
lines changed
File renamed without changes.

README.md

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,52 @@ A tiny little reset that you can use as the basis of your CSS projects. You can
99

1010
## Installation
1111

12-
- NPM: `npm install modern-css-reset`
13-
- Yarn: `yarn add modern-css-reset`
14-
- CDN:
15-
- Unpkg: `<link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" />`
16-
- jsDelivr: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" />`
12+
NPM:
1713

18-
## Commands
14+
```console
15+
npm install --save-dev modern-css-reset
16+
```
17+
18+
Yarn:
19+
20+
```console
21+
yarn add modern-css-reset
22+
```
23+
24+
Unpkg CDN:
25+
26+
```html
27+
<link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" />
28+
```
29+
30+
jsDelivr CDN:
31+
32+
```html
33+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" />
34+
```
1935

20-
You can minify and move the main reset to the `dist` by running:
36+
### Manual installation
2137

22-
```bash
38+
First, let's clone this repository:
39+
40+
```console
41+
git clone https://github.com/hankchizljaw/modern-css-reset.git
42+
```
43+
44+
Then, go to `modern-css-reset` directory:
45+
46+
```console
47+
cd modern-css-reset
48+
```
49+
50+
And now, you can minify and move the main reset to the `dist` by running:
51+
52+
```console
2353
npm run build
2454
```
55+
56+
That's it! 🎉
57+
58+
## License
59+
60+
MIT

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,11 @@
1010
"type": "git",
1111
"url": "git+https://github.com/hankchizljaw/modern-css-reset.git"
1212
},
13-
"keywords": [],
14-
"author": "",
13+
"keywords": [
14+
"css reset",
15+
"modern css reset"
16+
],
17+
"author": "Andy Bell <me@andy-bell.design> (https://hankchizljaw.com)",
1518
"license": "MIT",
1619
"bugs": {
1720
"url": "https://github.com/hankchizljaw/modern-css-reset/issues"

0 commit comments

Comments
 (0)