@typeform/embed

v1.0.0-next.3
Core library written in Typescript. Compiles to vanilla JavaScript.

dev

yarn build --watch --progress

demo

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

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

demo-html

cd ../demo-html && 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