Files
posthog.com/package.json
Sam Winslow 126f21e8cd Email gated signup integration (#1742)
* remove nested info from HubSpot request

* introduce feature flags to constants file

* set experiment variant on mount

* routing and flag logic for email flow

* old flow (skipDeploymentOptions)

* try routing everything through signup page

* add a call to reload feature flags; show that it still does not work

* logic to set, persist, and update active experiment variants

* changes and hydration from feature flags

* selector for activeVariant, minor cleanup

* bugfix

* capture with set_once

* send variant name as an event prop, use a more description user prop name

* render nothing on the intermediate page if a redirect should occur

Co-authored-by: kunal <kunal@kunals-MacBook-Pro.local>
2021-08-11 17:22:53 -04:00

115 lines
4.2 KiB
JSON

{
"name": "posthog.com",
"description": "Official PostHog website.",
"version": "1.0.0",
"author": "PostHog",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/PostHog/posthog.com"
},
"keywords": [
"gatsby"
],
"scripts": {
"build": "cross-env GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build --log-pages",
"start": "TAILWIND_MODE=watch gatsby develop -H 0.0.0.0",
"format": "prettier --write \"**/*.{html,js,ts,tsx,json,yml,css,scss}\"",
"test": "echo \"Error: no test specified\" && exit 1",
"typegen": "kea-typegen write .",
"update-sprite": "svg-sprite -s --symbol-dest src/components/productFeature/images/icons --symbol-sprite sprited-icons.svg src/components/productFeature/images/icons/*.svg",
"generate-redirects": "rm pr_diff && git fetch && git diff origin/master $(git branch --show-current) > pr_diff && python3 ./scripts/safe_rename.py"
},
"dependencies": {
"@ant-design/icons": "^4.1.0",
"@mdx-js/mdx": "^1.6.19",
"@mdx-js/react": "^1.6.22",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"antd": "^3.23.2",
"autoprefixer": "^10.3.1",
"chart.js": "^2.9.4",
"cross-env": "^7.0.3",
"docsearch.js": "^2.6.3",
"dotenv": "^10.0.0",
"eslint-plugin-flowtype": "^2.50.3",
"gatsby": "^2.24.80",
"gatsby-cli": "^2.12.111",
"gatsby-plugin-feed": "^3.7.1",
"gatsby-plugin-image": "^1.5.0",
"gatsby-plugin-manifest": "^2.2.16",
"gatsby-plugin-mdx": "^1.2.51",
"gatsby-plugin-offline": "^2.2.10",
"gatsby-plugin-postcss": "^3.7.0",
"gatsby-plugin-posthog": "^1.0.1",
"gatsby-plugin-react-helmet": "^3.1.7",
"gatsby-plugin-react-svg": "^3.0.1",
"gatsby-plugin-remove-trailing-slashes": "^2.3.11",
"gatsby-plugin-sass": "^4.2.0",
"gatsby-plugin-sharp": "^2.2.22",
"gatsby-plugin-sitemap": "^2.12.0",
"gatsby-plugin-smoothscroll": "^1.2.0",
"gatsby-plugin-typescript": "^2.4.24",
"gatsby-remark-autolink-headers": "^2.1.10",
"gatsby-remark-copy-linked-files": "^2.3.2",
"gatsby-remark-katex": "^3.1.8",
"gatsby-remark-prismjs": "^3.5.1",
"gatsby-remark-static-images": "^1.2.1",
"gatsby-source-filesystem": "^2.1.22",
"gatsby-transformer-json": "^2.2.8",
"gatsby-transformer-remark": "^2.8.7",
"gatsby-transformer-sharp": "^2.2.14",
"katex": "^0.12.0",
"kea": "^2.2.2",
"kea-loaders": "^0.3.0",
"kea-localstorage": "^1.1.1",
"kea-router": "^0.5.1",
"kea-typegen": "^0.5.3",
"node-fetch": "^2.6.1",
"postcss": "^8.3.5",
"postcss-nested": "^5.0.5",
"prism-react-renderer": "^1.2.0",
"prismjs": "^1.23.0",
"query-string": "^6.13.1",
"rc-slider": "^9.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-github-btn": "^1.2.0",
"react-helmet": "^5.2.1",
"react-leaf-carousel": "^2.0.3",
"react-markdown": "^5.0.3",
"react-modal": "^3.11.2",
"react-redux": "^7.2.1",
"react-responsive": "^8.2.0",
"redux": "^4.0.5",
"reselect": "^4.0.0",
"sass": "^1.32.8",
"sharp": "^0.27.2",
"svg-sprite": "^1.5.0",
"typescript": "^4.0.2"
},
"devDependencies": {
"@types/chart.js": "^2.9.31",
"@types/mdx-js__react": "^1.5.3",
"@types/react-helmet": "^6.1.0",
"@types/react-modal": "^3.10.6",
"@typescript-eslint/parser": "^4.5.0",
"eslint": "^7.9.0",
"eslint-plugin-react": "^7.20.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.12",
"mem": "^5.1.1",
"prettier": "^2.1.0",
"react-dev-utils": "^11.0.4",
"tailwindcss": "^2.2.4"
},
"husky": {
"hooks": {
"pre-commit": "node ./scripts/mdxImportGen && git add src/mdxGlobalComponents.js && lint-staged"
}
},
"lint-staged": {
"*.{html,js,ts,tsx,json,yml,css,scss}": "prettier --write",
"*.{js,ts,tsx}": "eslint"
}
}