@typeform/embed
v0.20.0lib
yarn run clean:lib && yarn webpack --config webpack.config.lib.js
copy
yarn run copy:assets && yarn run copy:helpcenter && yarn run copy:demo
dist
yarn run clean:dist && yarn webpack --config webpack.config.dist.js
lint
yarn eslint ./src --ext .js --ignore-path .eslintignore
test
yarn lint && yarn test:unit && yarn test:visual && yarn test:functional
build
yarn run dist && yarn run lib && yarn run copy
clean
yarn run clean:dist && yarn run clean:lib
start
NODE_ENV=development webpack-dev-server -d --config webpack.config.dist.js
clean:lib
rm -rf lib
copy:demo
yarn copyfiles -f demo/* dist
test:unit
yarn jest
clean:dist
rm -rf dist
prepublish
yarn run lib
copy:assets
yarn copyfiles -f assets/* dist
test:visual
yarn run test:visual:install && yarn run test:visual:chrome && yarn run test:visual:firefox && yarn run test:visual:mobile
publish:github
npm config set '//npm.pkg.github.com/:_authToken' $GH_TOKEN && npm publish --registry https://npm.pkg.github.com
copy:helpcenter
yarn copyfiles -f helpcenter/* dist
test:functional
yarn run test:functional:chrome && yarn run test:functional:firefox
test:unit:watch
yarn jest --watch
test:unit:coverage
yarn jest --coverage
test:visual:chrome
yarn codeceptjs --config codecept-visual.conf.js run --steps --grep @desktop
test:visual:mobile
yarn codeceptjs --config codecept-visual.conf.js run --steps --grep @mobile
travis-deploy-once
yarn travis-deploy-once --pro
test:visual:firefox
yarn codeceptjs --config codecept-visual.conf.js run --steps --profile firefox --grep @desktop
test:visual:install
yarn selenium-standalone install --silent
test:functional:debug
yarn cypress open
test:functional:chrome
yarn cypress run --browser chrome
test:functional:firefox
yarn cypress run --browser firefox
npm i @typeform/[email protected]
Metadata
- LGPL-3.0-only
- Whatever
- Typeform
- released 5/27/2020