@typeform/embed

v1.26.0
**Typeform/embed** is the core embed library that lets you embed typeforms to your website using vanilla JavaScript.
typeform embed form widget slider sidetab popover

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 ./build-aws ./types

cy:open

yarn cypress open

release

npm config set @typeform:registry https://registry.npmjs.org/ && yarn semantic-release

coverage

jest --coverage

prettier

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

cy:visual

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

demo-html

cd ../demo-html && yarn start

postbuild

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

demo-nextjs

cd ../demo-nextjs && yarn start

demo-static

yarn concurrently 'yarn dev' 'yarn demo-html'

release:aws

yarn release:aws:prepare && yarn release:aws:deploy

test:visual

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

cy:open:func

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

post-release

yarn release:github && yarn release:aws

cy:functional

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

prettier-check

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

release:github

npm config set @typeform:registry https://npm.pkg.github.com/ && npm publish

test:functional

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

release:aws:deploy

DEBUG=jarvis yarn run jarvis deploy --path ./build-aws --version next

release:aws:prepare

sh ./scripts/prepare-release.sh
npm i @typeform/[email protected]

Metadata

  • MIT
  • >=10
  • Typeform
  • released 12/8/2021

Downloads