From 171a26172d33bb5316c6fb3ac1aec0295bd4f480 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 22 Jan 2014 19:53:38 +0200 Subject: [PATCH] Normalize package.json and add missing properties. --- package.json | 52 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/package.json b/package.json index 461944c..bfc4462 100644 --- a/package.json +++ b/package.json @@ -2,38 +2,46 @@ "name": "html-minifier", "description": "HTML minifier with lint-like capabilities.", "version": "0.5.5", - "keywords": ["html", "minifier", "lint"], - "url" : "http://github.com/kangax/html-minifier", - "maintainers": [{ - "name": "Juriy Zaytsev", - "email": "kangax@gmail.com", - "web": "http://perfectionkills.com" - }], - "contributors": [{ - "name": "Gilmore Davidson", - "web": "https://github.com/gilmoreorless" + "keywords": [ + "html", + "minifier", + "lint" + ], + "url": "http://github.com/kangax/html-minifier", + "homepage": "http://kangax.github.io/html-minifier/", + "author": "Juriy Zaytsev (http://perfectionkills.com)", + "maintainers": [ + "Juriy Zaytsev (http://perfectionkills.com)" + ], + "contributors": [ + "Gilmore Davidson (https://github.com/gilmoreorless)", + "Hugo Wetterberg " + ], + "licenses": [ + { + "type": "MIT", + "url": "https://github.com/kangax/html-minifier/blob/gh-pages/LICENSE" + } + ], + "repository": { + "type": "git", + "url": "git://github.com/kangax/html-minifier" + }, + "bugs": { + "url": "https://github.com/kangax/html-minifier/issues" }, - { - "name": "Hugo Wetterberg", - "email": "hugo@wetterberg.nu" - }], - "licenses": [{ - "type": "MIT", - "url": "https://github.com/kangax/html-minifier/blob/gh-pages/LICENSE" - }], - "repository": "git://github.com/kangax/html-minifier", "engines": { "node": ">=0.4.8" }, "directories": { - "src": "./src" + "test": "tests" }, "scripts": { - "test": "npm run-script lint && npm run-script build && node test.js", + "test": "npm run lint && npm run build && node test.js", "build": "cat src/htmlparser.js src/htmlminifier.js src/htmllint.js > dist/all.js", "minify": "uglifyjs --output dist/all.min.js dist/all.js", "lint": "jshint src/htmlminifier.js src/htmllint.js", - "dist": "npm run-script build && npm run-script minify" + "dist": "npm run build && npm run minify" }, "devDependencies": { "qunit": "0.5.x", -- 2.34.1