Merge pull request #21 from koddr/master
Improve README, LICENSE and package.json
This commit is contained in:
commit
6741b54a00
3 changed files with 49 additions and 10 deletions
52
README.md
52
README.md
|
@ -9,16 +9,52 @@ A tiny little reset that you can use as the basis of your CSS projects. You can
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
- NPM: `npm install modern-css-reset`
|
NPM:
|
||||||
- Yarn: `yarn add modern-css-reset`
|
|
||||||
- CDN:
|
|
||||||
- Unpkg: `<link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" />`
|
|
||||||
- jsDelivr: `<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" />`
|
|
||||||
|
|
||||||
## Commands
|
```console
|
||||||
|
npm install --save-dev modern-css-reset
|
||||||
|
```
|
||||||
|
|
||||||
You can minify and move the main reset to the `dist` by running:
|
Yarn:
|
||||||
|
|
||||||
```bash
|
```console
|
||||||
|
yarn add modern-css-reset
|
||||||
|
```
|
||||||
|
|
||||||
|
Unpkg CDN:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="https://unpkg.com/modern-css-reset/dist/reset.min.css" />
|
||||||
|
```
|
||||||
|
|
||||||
|
jsDelivr CDN:
|
||||||
|
|
||||||
|
```html
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/modern-css-reset/dist/reset.min.css" />
|
||||||
|
```
|
||||||
|
|
||||||
|
### Manual installation
|
||||||
|
|
||||||
|
First, let's clone this repository:
|
||||||
|
|
||||||
|
```console
|
||||||
|
git clone https://github.com/hankchizljaw/modern-css-reset.git
|
||||||
|
```
|
||||||
|
|
||||||
|
Then, go to `modern-css-reset` directory:
|
||||||
|
|
||||||
|
```console
|
||||||
|
cd modern-css-reset
|
||||||
|
```
|
||||||
|
|
||||||
|
And now, you can minify and move the main reset to the `dist` by running:
|
||||||
|
|
||||||
|
```console
|
||||||
npm run build
|
npm run build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
That's it! 🎉
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT
|
||||||
|
|
|
@ -10,8 +10,11 @@
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/hankchizljaw/modern-css-reset.git"
|
"url": "git+https://github.com/hankchizljaw/modern-css-reset.git"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [
|
||||||
"author": "",
|
"css reset",
|
||||||
|
"modern css reset"
|
||||||
|
],
|
||||||
|
"author": "Andy Bell <me@andy-bell.design> (https://hankchizljaw.com)",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/hankchizljaw/modern-css-reset/issues"
|
"url": "https://github.com/hankchizljaw/modern-css-reset/issues"
|
||||||
|
|
Loading…
Reference in a new issue