Skip to content

Commit

Permalink
add some npm information
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Hoffmann committed Jul 19, 2015
1 parent 137533c commit 989b720
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you want to use the lazy spinner, following css file is needed:

#### npm
```
npm install justlazy
$ npm install justlazy
```

## Contributing
Expand All @@ -34,17 +34,17 @@ Just feel free to contribute ..
#### Project setup
To set up the project you need the grunt-cli:
```
sudo npm install -g grunt-cli
$ sudo npm install -g grunt-cli
```

Then you just have to clone the repository and run the install command:
```
npm install
$ npm install
```

#### Testing
To run tests manually you can use the `grunt` command to perform jshint and jasmine tests with phantomjs.
Furthermore you can run `grunt server` to call the jasmine runner in your browser [localhost:9999](http://localhost:9999)
To run tests manually you can use the `$ grunt` command to perform jshint and jasmine tests with phantomjs.
Furthermore you can run `$ grunt server` to call the jasmine runner in your browser [localhost:9999](http://localhost:9999)

#### Continuous Integration
`justlazy` has CI set up through [Travis CI](https://travis-ci.org) and [Sauce Labs](https://saucelabs.com) (free for open-source projects).
Expand Down
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
{
"name": "justlazy",
"main": "src/justlazy.js",
"author": "Fabian Hoffmann",
"description": "Lightweight javascript plugin to lazy load images",
"version": "1.1.0",
"homepage": "http://fhopeman.github.io/justlazy",
"repository": {
"type": "git",
"url": "https://github.com/fhopeman/justlazy"
},
"bugs": {
"url": "https://github.com/fhopeman/justlazy/issues"
},
"keywords": [
"image",
"lazy",
"loading",
"load"
],
"license": "MIT",
"devDependencies": {
"grunt": "~0.4.5",
Expand Down

0 comments on commit 989b720

Please sign in to comment.