Skip to content

Commit fecd5d0

Browse files
chore(package): run lint & tests before publish, shorten description
1 parent bafd017 commit fecd5d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "html-react-parser",
33
"version": "0.8.0",
4-
"description": "An HTML to React parser.",
4+
"description": "HTML to React parser.",
55
"author": "Mark <mark@remarkablemark.org>",
66
"main": "index.js",
77
"scripts": {
@@ -14,7 +14,7 @@
1414
"lint": "eslint --ignore-path .gitignore .",
1515
"lint:fix": "npm run lint -- --fix",
1616
"dtslint": "dtslint .",
17-
"prepublishOnly": "npm run build",
17+
"prepublishOnly": "npm run lint && npm run dtslint && npm test && npm run build",
1818
"release": "standard-version --no-verify",
1919
"test": "mocha",
2020
"test:coverage": "nyc npm test",

0 commit comments

Comments
 (0)