Files
posthog/package.json
Paul D'Ambra 0da4a3b5be feat: in-app heatmap viewport chooser (#29684)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2025-03-11 08:33:48 +00:00

139 lines
5.2 KiB
JSON

{
"name": "@posthog/root",
"description": "",
"version": "0.0.0",
"repository": {
"type": "git",
"url": "https://github.com/posthog/posthog.git"
},
"author": "PostHog Inc.",
"bugs": {
"url": "https://github.com/posthog/posthog/issues"
},
"homepage": "https://github.com/posthog/posthog#readme",
"license": "MIT",
"engines": {
"node": ">=18 <19"
},
"packageManager": "pnpm@9.15.5+sha256.8472168c3e1fd0bff287e694b053fccbbf20579a3ff9526b6333beab8df65a8d",
"scripts": {
"prepare": "husky install",
"schema:build": "pnpm --filter=@posthog/frontend run schema:build:json && pnpm run schema:build:python",
"schema:build:python": "bash bin/build-schema-python.sh",
"grammar:build": "npm run grammar:build:python && npm run grammar:build:cpp",
"grammar:build:python": "cd posthog/hogql/grammar && antlr -Dlanguage=Python3 HogQLLexer.g4 && antlr -visitor -no-listener -Dlanguage=Python3 HogQLParser.g4",
"grammar:build:cpp": "cd posthog/hogql/grammar && antlr -o ../../../common/hogql_parser -Dlanguage=Cpp HogQLLexer.g4 && antlr -o ../../../common/hogql_parser -visitor -no-listener -Dlanguage=Cpp HogQLParser.g4",
"dev:migrate:postgres": "export DEBUG=1 && source env/bin/activate && python manage.py migrate",
"dev:migrate:clickhouse": "export DEBUG=1 && source env/bin/activate && python manage.py migrate_clickhouse",
"mypy-baseline-sync": "mypy -p posthog | mypy-baseline sync",
"format:backend": "./bin/ruff.sh .",
"format:frontend": "pnpm --filter=@posthog/frontend run format",
"format": "pnpm format:backend && pnpm format:frontend",
"cleandep": "rm -rf node_modules && pnpm -r exec rm -rf node_modules"
},
"dependencies": {
"concurrently": "^5.3.0",
"husky": "^7.0.4",
"lint-staged": "~15.4.3",
"turbo": "^2.4.2"
},
"devDependencies": {
"@parcel/packager-ts": "2.13.3",
"@parcel/transformer-typescript-types": "2.13.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-compat": "^4.2.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-posthog": "workspace:*",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-google-translate": "^0.0.114",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-unused-imports": "^3.1.0",
"prettier": "^2.8.8",
"stylelint": "^15.11.0",
"stylelint-config-recess-order": "^4.3.0",
"stylelint-config-standard-scss": "^11.1.0",
"stylelint-order": "^6.0.3",
"syncpack": "^13.0.1"
},
"optionalDependencies": {
"fsevents": "^2.3.2"
},
"pnpm": {
"overrides": {
"playwright": "1.45.0",
"typescript": "~4.9.5"
},
"patchedDependencies": {
"node-rdkafka@2.17.0": "patches/node-rdkafka@2.17.0.patch",
"heatmap.js@2.0.5": "patches/heatmap.js@2.0.5.patch",
"dayjs@1.11.11": "patches/dayjs@1.11.11.patch"
}
},
"lint-staged": {
"*.{json,yaml,yml}": "prettier --write",
"*.{css,scss}": [
"stylelint --fix",
"prettier --write"
],
"cypress/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint -c .eslintrc.js --fix",
"prettier --write"
],
"playwright/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint -c .eslintrc.js --fix",
"prettier --write"
],
"frontend/src/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint --cache -c .eslintrc.js --fix",
"prettier --write"
],
"products/**/frontend/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint --cache -c .eslintrc.js --fix",
"prettier --write"
],
"common/**/src/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint --cache -c .eslintrc.js --fix",
"prettier --write"
],
"common/**/frontend/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint --cache -c .eslintrc.js --fix",
"prettier --write"
],
"frontend/*.mjs": [
"eslint -c .eslintrc.js --fix",
"prettier --write"
],
"ee/frontend/**/*.{js,jsx,mjs,ts,tsx}": [
"eslint -c .eslintrc.js --fix",
"prettier --write"
],
"plugin-server/**/*.{js,jsx,mjs,ts,tsx}": [
"pnpm --dir plugin-server exec eslint --fix",
"pnpm --dir plugin-server exec prettier --write"
],
"!(posthog/hogql/grammar/*)*.{py,pyi}": [
"./bin/ruff.sh check --fix",
"./bin/ruff.sh format"
]
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
"defaults and not op_mini all"
]
},
"browser": {
"path": "path-browserify"
}
}