代码拉取完成,页面将自动刷新
scripts:
lint:
script: eslint src/**/*.ts test/**/*.js
description: Checks for any formatting errors
check-types:
script: tsc --noEmit
description: Validates that types are being used properly.
test:
default:
script: karma start karma.conf.js --single-run
description: Executes the Test Suite
tdd:
script: karma start karma.conf.js
description: Watches for changes and executes the Test Suite accordingly
ci:
script: karma start karma.ci.conf.js
description: Executes the Test Suite on Sauce Labs
smoke:
script: mocha test/smoke/smoke.spec.js
description: Executes the Test Suite on Sauce Labs
serve:
script: rollup -c rollup.serve.config.js --watch
description: Starts a server at http://localhost:8080
build:
default:
script: rm -rf dist && rollup -c && npm start build.types
description: Builds both a minified and unminified artifacts
types:
script: tsc --emitDeclarationOnly
description: Builds both a minified and unminified artifacts
docs:
script: typedoc --out generated-docs src && touch generated-docs/.nojekyll
description: Automatically generates documentation!
report-coverage:
script: coveralls < coverage/lcov.info
description: Reports code coverage information to Coveralls
semantic-release:
script: semantic-release
description: Publishes the artifact to NPM and GitHub
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。