Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use npm scripts and local dev dependencies to build the project #359

Merged
merged 3 commits into from
Apr 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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