Skip to content

Commit d35bda6

Browse files
committed
moved installation block to the top of readme.md
1 parent 06ed4e0 commit d35bda6

File tree

3 files changed

+14
-15
lines changed

3 files changed

+14
-15
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "get-module-style",
3-
"version": "4.0.0",
3+
"version": "4.0.1",
44
"description": "This package helps you to work with module css and scss (sass)",
55
"main": "lib/index.js",
66
"types": "lib/index.d.ts",
@@ -32,7 +32,6 @@
3232
"@types/jest": "^26.0.23",
3333
"jest": "^27.0.6"
3434
},
35-
3635
"jest": {
3736
"testMatch": [
3837
"**/*.test.ts"

readme.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ NPM Package, that helps you use module css in your code.
88
![npm](https://img.shields.io/npm/dm/get-module-style?color=green) <!-- downloads -->
99
![npm](https://img.shields.io/npm/l/get-module-style?color=green ) <!-- licence -->
1010

11+
## Install
12+
:package: To install this package use npm or yarn
13+
14+
``` bash
15+
# npm
16+
npm i get-module-style
17+
18+
# yarn
19+
yarn add get-module-style
20+
```
21+
1122
## Package idea
1223
Always have to write construction like styles['class'], is it really good solution? No, it's not!
1324

@@ -71,17 +82,6 @@ gms('not-existing red'); // will return 'not-existing red_HASH'
7182
gms('not-existing red'); // will return red_HASH'
7283
```
7384

74-
## Install
75-
:package: To install this package use npm or yarn
76-
77-
``` bash
78-
# npm
79-
npm i get-module-style
80-
81-
# yarn
82-
yarn add get-module-style
83-
```
84-
8585
## Contributing
8686
Want to collaborate?
8787
:octocat: <a href="https://github.com/Kostayne/get-module-style">Check my github</a>

0 commit comments

Comments
 (0)