diff --git a/README.markdown b/README.md similarity index 89% rename from README.markdown rename to README.md index b87719e..7c0e0bd 100644 --- a/README.markdown +++ b/README.md @@ -20,9 +20,13 @@ Download and include `jss.js` (or the minified file) in your HTML: -If your project uses Bower for package management you can run the following command instead: +If your project uses Bower for package management you can run the following command: bower install jss + +If your project uses Browserify for package management you can run the following command: + + npm install jss-browserify **jss.set(selector, properties)** to add a new rule or extend an existing rule: @@ -63,4 +67,4 @@ If your project uses Bower for package management you can run the following comm **jss.remove([selector])** to remove rules added via JSS: jss.remove('.demo'); // removes all JSS styles matching the selector - jss.remove(); // removes all JSS styles \ No newline at end of file + jss.remove(); // removes all JSS styles diff --git a/package.json b/package.json index f808786..75ad8b8 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,30 @@ { "name": "jss", "version": "0.6.0", + "description": "A simple JavaScript library for retrieving and setting CSS stylesheet rules.", + "main": "jss.js", + "repository": { + "type": "git", + "url": "https://github.com/Box9/jss" + }, + "keywords": [ + "css", + "jss", + "style", + "sheet", + "stylesheet", + "rules" + ], + "author": { + "name": "David Tang", + "web": "https://github.com/Box9" + }, + "bugs": { + "url": "https://github.com/Box9/jss/issues" + }, "devDependencies": { "gulp": "~3.5.6", "gulp-uglify": "~0.2.1", "gulp-rename": "~1.2.0" } -} +} \ No newline at end of file