-
Notifications
You must be signed in to change notification settings - Fork 143
/
Copy pathpackage.json
103 lines (103 loc) · 3.55 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
{
"name": "posthog-js",
"version": "1.92.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": "yarn build-rollup -w",
"build": "yarn build-rollup && yarn build-react",
"build-rollup": "rm -rf lib && tsc -b && rollup -c",
"build-react": "cd react; yarn; yarn build;",
"lint": "eslint src",
"prettier": "prettier --write src/ functional_tests/",
"prepublishOnly": "yarn lint && yarn test && yarn build && yarn test:react",
"test": "yarn test:unit && yarn test:custom-eslint-rules",
"test:unit": "jest src",
"test:custom-eslint-rules": "jest eslint-rules",
"test:react": "cd react; yarn test",
"test-watch": "jest --watch src",
"cypress": "cypress open",
"prepare": "husky install"
},
"main": "dist/module.js",
"module": "dist/es.js",
"types": "dist/module.d.ts",
"files": [
"lib/*",
"dist/*",
"react/dist/*",
"react/package.json"
],
"dependencies": {
"fflate": "^0.4.1"
},
"devDependencies": {
"@babel/core": "7.18.9",
"@babel/preset-env": "7.18.9",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^8.3.3",
"@rrweb/types": "^2.0.0-alpha.11",
"@sentry/types": "7.37.2",
"@testing-library/dom": "^9.3.0",
"@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.4.0",
"@typescript-eslint/parser": "^6.4.0",
"babel-eslint": "10.1.0",
"babel-jest": "^26.6.3",
"cypress": "13.5.1",
"eslint": "8.20.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-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.1",
"posthog-js": "link:.",
"prettier": "^2.7.1",
"rollup": "^2.77.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-visualizer": "^5.9.0",
"rrweb": "2.0.0-alpha.11",
"rrweb-snapshot": "2.0.0-alpha.11",
"rrweb-v1": "npm:[email protected]",
"sinon": "9.0.2",
"testcafe": "1.19.0",
"testcafe-browser-provider-browserstack": "1.14.0",
"tslib": "^2.4.0",
"typescript": "^4.7.4",
"yargs": "^17.7.2"
},
"lint-staged": {
"*.{ts,tsx,js,json}": "prettier --write",
"*.js": "eslint --cache --fix",
"*.{ts,tsx}": [
"eslint src --fix"
]
},
"browserslist": [
"> 0.5%, last 2 versions, Firefox ESR, not dead, IE 11"
]
}