forked from PostHog/posthog-js-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.17 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
{
"name": "posthog-js-lite",
"version": "2.1.0",
"description": "Reimplementation of posthog-js to be as light and modular as possible.",
"workspaces": [
"posthog-core",
"posthog-node",
"posthog-react-native",
"posthog-web"
],
"author": "PostHog",
"private": true,
"license": "MIT",
"scripts": {
"build": "yarn build-rollup && yarn build-react-native",
"lint": "eslint -c .eslintrc.js --fix posthog-*",
"prettier": "prettier --write \"./**/*.{ts,tsx}\"",
"prettier:check": "prettier --check \"./**/*.{ts,tsx}\"",
"test": "jest posthog-core posthog-node posthog-web",
"test:node": "jest posthog-node",
"test:core": "jest posthog-core",
"test:web": "jest posthog-core",
"test:rn": "cd posthog-react-native && yarn test",
"test:all": "jest posthog-core posthog-node posthog-web && yarn test:rn",
"build-rollup": "rollup -c",
"build-react-native": "cd posthog-react-native && yarn build"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/jest": "^28.1.5",
"@types/node": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"babel-jest": "^28.1.3",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.1",
"jest": "^29.0.0",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"rollup": "^2.77.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-dts-bundle": "^1.0.0",
"rollup-plugin-typescript2": "^0.32.1",
"ts-jest": "^29.0.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js,css,scss}": "prettier --write"
}
}