build
rollup -c
dev
karma start --auto-watch --no-single-run --browsers chrome
dev:ff
karma start --auto-watch --no-single-run --browsers firefox
docs
npm run build && vuepress build docs --no-cache
docs:dev
npm run build && vuepress dev docs --no-cache
lint-js
eslint "samples/**/*.html" "test/**/*.js" "src/**/*.js"
lint-md
eslint "**/*.md"
lint-tsc
tsc
lint-types
eslint "types/**/*.ts" && tsc -p types/tests/
lint
concurrently "npm:lint-*"
test
cross-env NODE_ENV=test concurrently "npm:test-*"
test-lint
npm run lint
test-karma
karma start --auto-watch --single-run --coverage
test-types
tsc -p types/tests/