add typing check when run pack testing
Showing
... | ... | @@ -30,7 +30,7 @@ |
"ts-node": "ts-node", | ||
"test": "npm run clean && npm run lint && npm run test:unit:retry && npm run test:shell && npm run sloc", | ||
"test:linux": "npm run pretest && parallel ts-node -- ./src/**/*.spec.ts ./tests/**/*.spec.ts && npm run posttest", | ||
"test:pack": "npm run dist && export TMPDIR=/tmp/wechaty.$$ && npm pack && mkdir $TMPDIR && mv wechaty-*.*.*.tgz $TMPDIR && cp tests/fixtures/smoke-testing.js $TMPDIR && cd $TMPDIR && npm init -y && npm i wechaty-*.*.*.tgz && (for i in {1..3}; do node smoke-testing.js && break || sleep 1; done)", | ||
"test:pack": "bash -x scripts/npm-pack-testing.sh", | ||
"test:shell": "shellcheck bin/*.sh", | ||
"test:unit": "blue-tape -r ts-node/register \"src/**/*.spec.ts\" \"src/*.spec.ts\" \"tests/*.spec.ts\" \"tests/**/*.spec.ts\"", | ||
"test:unit:retry": "ts-node scripts/retry-unit-tests", | ||
... | ... |
scripts/npm-pack-testing.sh
0 → 100755
想要评论请 注册 或 登录