diff --git a/package.json b/package.json index 6f7f8de..1b3c110 100644 --- a/package.json +++ b/package.json @@ -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" -} +} \ No newline at end of file