Skip to content

Commit 578e365

Browse files
committed
add np # 108
1 parent 8a05063 commit 578e365

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"ts:esm": "tsc -t esnext -m esnext -d false --outDir ./dist/esm/",
1515
"build": "npm run lint && npm run clean && npm run ts:cjs && npm run ts:amd && npm run ts:esm",
1616
"dev": "tsc -w & mocha -w ./test/*.js",
17-
"pretest": "tsc -m commonjs"
17+
"pretest": "tsc -m commonjs",
18+
"release": "np"
1819
},
1920
"keywords": [
2021
"parser",
@@ -27,6 +28,9 @@
2728
"taoqf<tao_qiufeng@126.com>"
2829
],
2930
"license": "MIT",
31+
"publishConfig": {
32+
"registry": "https://registry.npmjs.org"
33+
},
3034
"dependencies": {
3135
"css-select": "^3.1.2",
3236
"he": "1.2.0"
@@ -49,6 +53,7 @@
4953
"htmlparser-benchmark": "^1.1.3",
5054
"htmlparser2": "^6.0.0",
5155
"mocha": "latest",
56+
"np": "latest",
5257
"parse5": "^6.0.1",
5358
"should": "latest",
5459
"spec": "latest",
@@ -77,4 +82,4 @@
7782
"url": "https://github.com/taoqf/node-fast-html-parser/issues"
7883
},
7984
"homepage": "https://github.com/taoqf/node-fast-html-parser"
80-
}
85+
}

0 commit comments

Comments
 (0)