Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
update .npmignore
update sample index.html
add build command package.json
  • Loading branch information
A1Gard committed Feb 16, 2023
1 parent 17cdf1d commit 63704d7
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.png
.idea
.idea/*
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,20 @@ Contribution are always welcome and recommended! Here is how:

[GPL](https://www.gnu.org/licenses/gpl-3.0.en.html)

## Developing project

Dependencies are `node-sass` and `minify`

To render css:
```shell
npm run scss
```

To build:
```shell
npm run build
```


## Support

Expand Down
4 changes: 2 additions & 2 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ <h3>
</a>
</li>
<li>
<a href="#">
menu item 3
<a href="https://github.com/4xmen/x-mega-menu">
Github
</a>
</li>
<li>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"description": "vanilla javascript mega menu easy use",
"main": "index.js",
"scripts": {
"scss": "node-sass --watch src/x-mega-menu.scss -o dist"
"scss": "node-sass --watch src/x-mega-menu.scss -o dist",
"build": "node src/build.js"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 63704d7

Please sign in to comment.