提交 277a0f5e 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

make dist output clean by adding a build entry

上级 6b37b905
...@@ -12,8 +12,9 @@ ...@@ -12,8 +12,9 @@
"DEFAULT_APIHOST": "api.chatie.io" "DEFAULT_APIHOST": "api.chatie.io"
}, },
"scripts": { "scripts": {
"build": "tsc",
"clean": "shx rm -fr dist/*", "clean": "shx rm -fr dist/*",
"dist": "npm run clean && tsc", "dist": "npm run clean && npm run build",
"pack": "npm pack", "pack": "npm pack",
"doc": "bash -x scripts/generate-docs.sh", "doc": "bash -x scripts/generate-docs.sh",
"coverage": "nyc report --reporter=text-lcov | coveralls", "coverage": "nyc report --reporter=text-lcov | coveralls",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册