Skip to content

Commit

Permalink
chore(package): add release script and alphabetize scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Apr 1, 2019
1 parent 86f9e5a commit b8998ee
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down

0 comments on commit b8998ee

Please sign in to comment.