-
Notifications
You must be signed in to change notification settings - Fork 240
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.86 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.86 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
{
"private": true,
"packageManager": "pnpm@10.23.0",
"scripts": {
"build-rollup": "pnpm --filter=posthog-js build-rollup",
"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:functional": "turbo test:functional",
"test:e2e": "turbo test:e2e",
"build": "turbo build",
"dev": "turbo dev",
"package": "export PACKAGE_DEST=$(pwd)/target && turbo package",
"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"
},
"pnpm": {
"patchedDependencies": {
"@rrweb/rrweb-plugin-console-record@2.0.0-alpha.17": "patches/@rrweb__rrweb-plugin-console-record@2.0.0-alpha.17.patch",
"@rrweb/record@2.0.0-alpha.17": "patches/@rrweb__record@2.0.0-alpha.17.patch"
},
"overrides": {
"node-forge": "1.3.2"
},
"onlyBuiltDependencies": [
"sharp"
]
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@microsoft/api-extractor": "^7.55.1",
"@microsoft/api-extractor-model": "^7.32.1",
"@microsoft/tsdoc": "^0.15.1",
"@types/eslint": "^8.56.12",
"@types/node": "^22.19.1",
"@typescript-eslint/eslint-plugin": "^8.48.1",
"@typescript-eslint/parser": "^8.48.1",
"eslint": "8.57.0",
"eslint-config-posthog-js": "link:tooling/eslint-plugin-posthog-js",
"eslint-config-prettier": "^8.10.2",
"eslint-plugin-compat": "^6.0.2",
"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.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^4.6.2",
"lint-staged": "^10.5.4",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"rollup": "catalog:",
"ts-node": "^10.9.2",
"turbo": "^2.6.3",
"typescript": "catalog:"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs,cjs}": [
"eslint --cache --fix",
"prettier --write"
],
"*.{json,md}": "prettier --write"
}
}