Skip to content

Commit f732f0a

Browse files
committed
Publish on npm
* Add files whitelist for the publishied package. * Add version badge to readme. * Make file header consistent.
1 parent 6604790 commit f732f0a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/Krinkle/jquery-json.svg?branch=master)](https://travis-ci.org/Krinkle/jquery-json)
1+
[![Build Status](https://travis-ci.org/Krinkle/jquery-json.svg?branch=master)](https://travis-ci.org/Krinkle/jquery-json) [![NPM version](https://badge.fury.io/js/jquery-json.svg)](http://badge.fury.io/js/jquery-json)
22

33
# jQuery JSON
44

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"test": "grunt test",
1919
"build": "npm install && grunt build"
2020
},
21+
"files": [ "src", "dist", "LICENSE.txt", "README.md" ],
2122
"devDependencies": {
2223
"grunt-cli": "0.1.13",
2324
"grunt": "0.4.4",

src/jquery.json.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/**
2-
* jQuery JSON plugin 2.4.0
2+
* jQuery JSON plugin v2.4.0
3+
* https://github.com/Krinkle/jquery-json
34
*
45
* @author Brantley Harris, 2009-2011
56
* @author Timo Tijhof, 2011-2014

0 commit comments

Comments
 (0)