-
Notifications
You must be signed in to change notification settings - Fork 327
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 3.26 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 3.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"private": true,
"packageManager": "pnpm@11.7.0",
"engines": {
"node": "24.x"
},
"scripts": {
"build-rollup": "pnpm --filter=posthog-js build-rollup",
"bundle-size:array": "node packages/browser/scripts/compare-array-bundle-size.mjs",
"clean": "turbo clean",
"clean:dep": "rm -rf node_modules && pnpm -r exec rm -rf node_modules",
"lint": "turbo lint",
"lint:fix": "turbo lint:fix",
"lint:playground": "prettier --check 'playground/**/*.{ts,tsx,js,jsx,mjs,json,md}' && eslint 'playground/**/*.{ts,tsx,js,jsx,mjs}'",
"lint:playground:fix": "prettier --write 'playground/**/*.{ts,tsx,js,jsx,mjs,json,md}' && eslint --fix 'playground/**/*.{ts,tsx,js,jsx,mjs}'",
"test": "turbo test",
"test:unit": "turbo test:unit",
"test:docs-scripts": "node --test \"scripts/docs/__tests__/*.test.js\"",
"test:functional": "turbo test:functional",
"test:e2e": "turbo test:e2e",
"test:mcp-harness": "node packages/mcp/harness/run-all.mjs",
"build": "turbo build",
"dev": "turbo dev",
"package": "export PACKAGE_DEST=$(pwd)/target && turbo package",
"check:package-tarballs": "node scripts/check-package-tarballs.js",
"package:watch": "export PACKAGE_DEST=$(pwd)/target && turbo watch package",
"bump": "pnpm changeset version",
"generate-references": "pnpm turbo --filter=posthog-js --filter=posthog-node --filter=posthog-react-native generate-references",
"generate-references:versioned": "GENERATE_VERSIONED_REFERENCES=1 pnpm turbo --filter=posthog-js --filter=posthog-node --filter=posthog-react-native generate-references",
"check:public-api": "node scripts/check-public-api.js"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.2",
"@microsoft/api-extractor": "^7.58.9",
"@microsoft/api-extractor-model": "^7.33.8",
"@microsoft/tsdoc": "^0.15.1",
"@types/eslint": "^8.56.12",
"@types/node": "^22.19.1",
"@typescript-eslint/eslint-plugin": "^8.60.1",
"@typescript-eslint/parser": "^8.60.1",
"es-check": "7.2.1",
"esbuild": "^0.25.0",
"esbuild-plugin-umd-wrapper": "catalog:",
"eslint": "8.57.0",
"eslint-config-posthog-js": "link:tooling/eslint-plugin-posthog-js",
"eslint-config-prettier": "^8.10.2",
"eslint-plugin-compat": "6.2.0",
"eslint-plugin-jest": "^28.14.0",
"eslint-plugin-no-only-tests": "^3.3.0",
"eslint-plugin-posthog-js": "link:tooling/eslint-plugin-posthog-js",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"lint-staged": "^10.5.4",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"rollup": "catalog:",
"rollup-plugin-visualizer": "^5.14.0",
"ts-node": "^10.9.2",
"turbo": "^2.9.16",
"typescript": "catalog:"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json,md}": "prettier --write"
}
}