add script pretest

This commit is contained in:
taoqf 2019-01-21 12:06:18 +08:00
parent 001f31d392
commit 38d70076fc

View file

@ -10,7 +10,8 @@
"ts:cjs": "tsc -m commonjs",
"ts:umd": "tsc -t es5 -m umd --outDir ./dist/umd/",
"build": "npm run clean && npm run ts:cjs && npm run ts:umd",
"dev": "tsc -w"
"dev": "tsc -w",
"pretest": "tsc -m commonjs"
},
"keywords": [
"fast html parser nodejs typescript"
@ -57,4 +58,4 @@
"url": "https://github.com/taoqf/node-fast-html-parser/issues"
},
"homepage": "https://github.com/taoqf/node-fast-html-parser"
}
}