@typeform/embed

v0.36.0
Library to embed typeform in your website

lint

yarn eslint ./src --ext .js --ignore-path .eslintignore --max-warnings=0 && prettier --check . --ignore-path .eslintignore

test

yarn lint && yarn test:unit && yarn test:functional && yarn test:visual

build

./scripts/build.sh

clean

rm -rf build dist

start

NODE_ENV=development webpack-dev-server -d --config webpack.config.js --content-base ./demo

prettier

prettier --write . --ignore-path .eslintignore

ci:visual

start-server-and-test serve-demo 8080 test:visual

test:unit

yarn jest

serve-demo

PORT=8080 yarn serve -S demo

test:debug

yarn cypress open

test:visual

yarn cypress run --spec e2e/spec/visual/**/* --browser chrome

post-release

./scripts/consolidate-dist.sh && DEBUG=jarvis yarn jarvis deploy --path dist

ci:functional

start-server-and-test serve-demo 8080 test:functional

test:functional

yarn cypress run --spec e2e/spec/functional/**/* --browser chrome

test:unit:watch

yarn jest --watch

test:unit:coverage

yarn jest --coverage
npm i @typeform/[email protected]

Metadata

Downloads