Skip to content

Commit

Permalink
Merge pull request #359 from abhishekdev/feature/npm-build-script
Browse files Browse the repository at this point in the history
Update documentation and implement basic npm build automation also add recomended package-lock.json
  • Loading branch information
illuusio authored Apr 22, 2018
2 parents 86da44a + ff85222 commit eef9157
Show file tree
Hide file tree
Showing 4 changed files with 1,547 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.idea
yuicompressor-2.4.2
yuicompressor-2.4.2
node_modules/
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,19 @@ Please feel free to make Bug reports against project but if you are making Issue

## Contributing

There is a simple [grunt](http://gruntjs.com) based build script which will help to produce a minified version of
jScrollPane if you make any modifications and want to submit a pull request. You can find it in the `build/` directory.
There is a simple [grunt](http://gruntjs.com) based build script in `Gruntfile.js` which will help to produce a minified version of
jScrollPane if you make any modifications and want to submit a pull request.

To use it, make sure you have [node](http://nodejs.org/), npm and the `grunt-cli` module installed first:
To use it, make sure you have [node](http://nodejs.org/), npm:

```
npm install -g grunt-cli
npm install
```

Then:

```
cd build
grunt
npm run build
```

Please remember to update the changelog in the comment at the header of both JS files when submitting a pull request.
Expand Down
Loading

0 comments on commit eef9157

Please sign in to comment.