diff --git a/package.json b/package.json index 70f5ed26..effa806e 100644 --- a/package.json +++ b/package.json @@ -6,16 +6,17 @@ "main": "index.js", "types": "types", "scripts": { - "prepublish": "npm run clean && npm run build", - "clean": "rm -rf dist", "build": "npm run build:min && npm run build:unmin", "build:min": "webpack index.js dist/html-dom-parser.min.js -p --output-library HTMLDOMParser --output-library-target umd", "build:unmin": "webpack index.js dist/html-dom-parser.js --output-library HTMLDOMParser --output-library-target umd", - "test": "mocha", - "lint": "eslint . --ignore-path .gitignore", - "dtslint": "dtslint types", + "clean": "rm -rf dist", "cover": "istanbul cover _mocha -- -R spec", - "coveralls": "cat coverage/lcov.info | coveralls" + "coveralls": "cat coverage/lcov.info | coveralls", + "dtslint": "dtslint types", + "lint": "eslint . --ignore-path .gitignore", + "prepublish": "npm run clean && npm run build", + "release": "standard-version --no-verify", + "test": "mocha" }, "repository": { "type": "git", @@ -44,6 +45,7 @@ "istanbul": "^0.4.5", "jsdomify": "^3.1.0", "mocha": "^3.4.2", + "standard-version": "^5.0.2", "webpack": "^2.6.1" }, "browser": {