@typeform/embed

v1.2.1
**Typeform/embed** is the core embed library that lets you embed typeforms to your website using vanilla JavaScript.

dev

yarn build --watch

demo

yarn concurrently 'yarn dev' 'yarn demo-nextjs'

lint

eslint src --ext .js,.ts,.jsx,.tsx --max-warnings=0 && yarn prettier-check

test

jest

build

yarn webpack

clean

rm -rf ./build

cy:open

yarn cypress open

coverage

jest --coverage

prettier

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

cy:visual

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

postbuild

tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir types --skipLibCheck

demo-nextjs

cd ../demo-nextjs && yarn start

test:visual

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

cy:open:func

yarn cy:open -c integrationFolder=./e2e/spec/functional/

cy:functional

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

prettier-check

prettier --check . --ignore-path .eslintignore

test:functional

start-server-and-test demo 8080 cy:functional
npm i @typeform/[email protected]

Metadata

Downloads