-
Notifications
You must be signed in to change notification settings - Fork 143
/
Copy pathpackage.json
122 lines (122 loc) · 4.4 KB
/
package.json
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "posthog-js",
"version": "1.149.0",
"description": "Posthog-js allows you to automatically capture usage and send events to PostHog.",
"repository": "https://github.com/PostHog/posthog-js",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"start": "pnpm build-react && pnpm build-rollup -w",
"build": "pnpm build-rollup && pnpm build-react",
"build-rollup": "rm -rf lib && tsc -b && rollup -c --bundleConfigAsCjs",
"build-react": "cd react; NODE_ENV=dev pnpm i; pnpm build;",
"lint": "eslint src && eslint cypress",
"prettier": "prettier --write src/ functional_tests/",
"prepublishOnly": "pnpm lint && pnpm test && pnpm build && pnpm test:react",
"test": "pnpm test:unit && pnpm test:custom-eslint-rules && pnpm test:functional",
"test:unit": "jest src",
"test:custom-eslint-rules": "jest eslint-rules",
"test:react": "cd react; pnpm test",
"test:functional": "jest functional_tests",
"test-watch": "jest --watch src",
"cypress": "cypress open",
"prepare": "husky install",
"deprecate-old-versions": "node scripts/deprecate-old-versions.mjs"
},
"main": "dist/main.js",
"module": "dist/module.js",
"types": "dist/module.d.ts",
"files": [
"lib/*",
"dist/*",
"react/dist/*",
"react/package.json"
],
"dependencies": {
"fflate": "^0.4.8",
"preact": "^10.19.3",
"web-vitals": "^4.0.1"
},
"devDependencies": {
"@babel/core": "7.18.9",
"@babel/plugin-syntax-decorators": "^7.23.3",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "7.18.9",
"@babel/preset-typescript": "^7.18.6",
"@jest/globals": "^27.5.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@rrweb/types": "2.0.0-alpha.13",
"@sentry/types": "8.7.0",
"@testing-library/dom": "^9.3.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/preact": "^3.2.4",
"@types/eslint": "^8.44.6",
"@types/jest": "^29.5.1",
"@types/react-dom": "^18.0.10",
"@types/sinon": "^17.0.1",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"babel-eslint": "10.1.0",
"babel-jest": "^26.6.3",
"compare-versions": "^6.1.0",
"cypress": "13.6.3",
"cypress-localstorage-commands": "^2.2.5",
"date-fns": "^3.6.0",
"eslint": "8.56.0",
"eslint-config-posthog-js": "link:eslint-rules",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-posthog-js": "link:eslint-rules",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"express": "^4.18.2",
"fast-check": "^2.17.0",
"given2": "^2.1.7",
"husky": "^8.0.1",
"jest": "^27.5.1",
"jsdom": "16.5.0",
"jsdom-global": "3.0.2",
"lint-staged": "^10.2.11",
"localStorage": "1.0.4",
"msw": "^1.2.1",
"node-fetch": "^2.6.11",
"posthog-js": "link:",
"preact-render-to-string": "^6.3.1",
"prettier": "^2.7.1",
"rollup": "^4.9.6",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-visualizer": "^5.12.0",
"rrweb": "2.0.0-alpha.13",
"rrweb-snapshot": "2.0.0-alpha.13",
"sinon": "9.0.2",
"testcafe": "1.19.0",
"testcafe-browser-provider-browserstack": "1.14.0",
"tslib": "^2.5.0",
"typescript": "^4.9.5",
"yargs": "^17.7.2"
},
"lint-staged": {
"*.{ts,tsx,js,json}": "prettier --write",
"*.js": "eslint --cache --fix",
"*.{ts,tsx}": [
"eslint src --fix",
"eslint cypress --fix"
]
},
"browserslist": [
"> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"
],
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
}