@typeform/embed
Version:
**Typeform/embed** is the core embed library that lets you embed typeforms to your website using vanilla JavaScript.
63 lines (62 loc) • 2.66 kB
JSON
{
"name": "@typeform/embed",
"version": "2.14.0",
"main": "./build/index.js",
"types": "./types/index.d.ts",
"author": "Typeform",
"license": "MIT",
"homepage": "https://github.com/Typeform/embed/blob/main/packages/embed#readme",
"repository": {
"type": "git",
"url": "https://github.com/Typeform/embed.git",
"directory": "packages/embed"
},
"bugs": "https://github.com/Typeform/embed/issues",
"keywords": [
"typeform",
"embed",
"form",
"widget",
"slider",
"sidetab",
"popover"
],
"engines": {
"node": ">=10"
},
"scripts": {
"clean": "rm -rf ./build ./build-aws ./types",
"build": "yarn webpack",
"postbuild": "tsc -p tsconfig.json --emitDeclarationOnly --declaration --declarationDir types --skipLibCheck",
"dev": "yarn build --watch",
"preview": "yarn concurrently 'yarn dev' 'yarn preview:serve'",
"preview:serve": "yarn http-server -p 9022 -c-1 ./build",
"demo-nextjs": "cd ../demo-nextjs && yarn start",
"demo-html": "cd ../demo-html && yarn start",
"demo": "yarn concurrently 'yarn dev' 'yarn demo-nextjs'",
"demo-static": "yarn concurrently 'yarn dev' 'yarn demo-html'",
"lint": "eslint src --ext .js,.ts,.jsx,.tsx --max-warnings=0 && yarn prettier-check",
"prettier-check": "prettier --check . --ignore-path .eslintignore",
"prettier": "prettier --write . --ignore-path .eslintignore",
"test": "jest",
"coverage": "jest --coverage",
"cy:open": "yarn cypress open",
"cy:open:func": "yarn cy:open -c integrationFolder=./e2e/spec/functional/",
"cy:functional": "yarn cypress run --spec e2e/spec/functional/**/* --browser chrome --headless",
"cy:visual": "yarn cypress run --spec e2e/spec/visual/**/* --browser chrome",
"test:functional": "start-server-and-test demo 9090 cy:functional",
"test:visual": "start-server-and-test demo 9090 cy:visual",
"release-vanilla": "npm config set @typeform:registry https://registry.npmjs.org/ && yarn semantic-release",
"post-release": "yarn release:github && yarn release:aws",
"release:github": "npm config set @typeform:registry https://npm.pkg.github.com/ && npm publish",
"release:aws": "yarn release:aws:prepare && yarn release:aws:deploy",
"release:aws:prepare": "sh ./scripts/prepare-release.sh",
"release:aws:deploy": "DEBUG=jarvis yarn run jarvis deploy --path ./build-aws --version next",
"release:preview": "yarn release:aws:prepare && yarn release:preview:aws",
"release:preview:aws": "DEBUG=jarvis yarn run jarvis deploy --path ./build-aws --preview --notify-preview"
},
"files": [
"build",
"types"
]
}