diff --git a/.npmignore b/.npmignore index e33609d..2d8b9f2 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,3 @@ *.png +.idea +.idea/* \ No newline at end of file diff --git a/README.md b/README.md index 384d0b9..19b8242 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/example/index.html b/example/index.html index d214923..522b061 100644 --- a/example/index.html +++ b/example/index.html @@ -180,8 +180,8 @@

  • - - menu item 3 + + Github
  • diff --git a/package.json b/package.json index 6dd5b61..e8ebc06 100644 --- a/package.json +++ b/package.json @@ -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",