diff --git a/package.json b/package.json index a235fe9e..58781faa 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,23 @@ "name": "html-loader", "version": "0.4.5", "author": "Tobias Koppers @sokra", + "license": "MIT", "description": "html loader module for webpack", + "main": "index.js", + "files": [ + "lib" + ], + "scripts": { + "pretest": "npm run lint && npm run beautify-lint", + "test": "mocha --harmony --full-trace --check-leaks", + "travis": "npm run cover -- --report lcovonly", + "lint": "eslint lib bin hot", + "beautify-lint": "beautify-lint lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", + "beautify": "beautify-rewrite lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", + "postcover": "npm run lint && npm run beautify-lint", + "cover": "istanbul cover -x *.runtime.js node_modules/mocha/bin/_mocha", + "release": "standard-version" + }, "dependencies": { "es6-templates": "^0.2.2", "fastparse": "^1.1.1", @@ -10,7 +26,6 @@ "loader-utils": "^1.0.2", "object-assign": "^4.1.0" }, - "license": "MIT", "devDependencies": { "beautify-lint": "^1.0.4", "codecov.io": "^0.1.6", @@ -18,19 +33,10 @@ "istanbul": "^0.4.4", "js-beautify": "^1.6.3", "mocha": "^2.5.3", - "should": "^10.0.0" - }, - "scripts": { - "pretest": "npm run lint && npm run beautify-lint", - "test": "mocha --harmony --full-trace --check-leaks", - "travis": "npm run cover -- --report lcovonly", - "lint": "eslint lib bin hot", - "beautify-lint": "beautify-lint lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", - "beautify": "beautify-rewrite lib/**/*.js hot/**/*.js bin/**/*.js benchmark/*.js test/*.js", - "postcover": "npm run lint && npm run beautify-lint", - "cover": "istanbul cover -x *.runtime.js node_modules/mocha/bin/_mocha", - "publish-patch": "npm run lint && npm run beautify-lint && mocha && npm version patch && git push && git push --tags && npm publish" + "should": "^10.0.0", + "standard-version": "^4.2.0" }, + "homepage": "http://github.com/webpack-contrib/html-loader", "repository": { "type": "git", "url": "git@github.com:webpack/html-loader.git"