-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
142 lines (142 loc) · 4.27 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "eventfan",
"version": "2.0.9",
"description": "Send analytics events to multiple destinations (Google Analytics, Facebook...).",
"repository": "https://github.com/alan-cooney/eventfan",
"author": "Alan Cooney <[email protected]>",
"license": "MIT",
"scripts": {
"build": "yarn buildCommonJS && yarn buildESM && yarn buildTypes",
"buildCommonJS": "parcel build",
"buildESM": "babel src -d dist/module --extensions '.tsx,.ts' --config-file ./babelNode.json",
"buildTypes": "tsc --emitDeclarationOnly",
"bump": "./node_modules/.bin/versiony package.json --patch",
"coverage": "./node_modules/.bin/jest --collect-coverage",
"dev": "yarn react",
"lint": "./node_modules/.bin/eslint . --ext .ts,.tsx --ignore-path .gitignore",
"playwright": "playwright test --config=src/e2e/playwright.config.ts",
"playwrightInstall": "playwright install && playwright install-deps",
"react": "yarn vite --config ./src/e2e/react/vite.config.js",
"test": "./node_modules/.bin/jest"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@playwright/test": "^1.32.3",
"@sentry/browser": "^7.47.0",
"@swc/cli": "^0.1.62",
"@swc/core": "^1.3.49",
"@swc/jest": "^0.2.24",
"@testing-library/dom": "^9.2.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@tsconfig/recommended": "^1.0.2",
"@types/fs-extra": "^11.0.1",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.34",
"@types/react-dom": "^18.0.11",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"@vitejs/plugin-react": "^3.1.0",
"babel-plugin-add-import-extension": "^1.6.0",
"change-case": "^4.1.2",
"cross-fetch": "^3.1.5",
"eslint": "^8.38.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^5.10.2",
"fs-extra": "^11.1.1",
"glob": "^10.0.0",
"hygen": "^6.2.11",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"live-server": "^1.2.2",
"parcel": "^2.8.3",
"parcel-plugin-externals": "^0.5.2",
"parcel-plugin-nuke-dist": "^1.0.1",
"playwright": "^1.32.3",
"postal-address-field-names": "^1.0.3",
"prettier": "^2.8.7",
"quicktype-core": "^23.0.19",
"react": "^18.2.0",
"react-bootstrap": "^2.7.2",
"react-dom": "^18.2.0",
"react-router-dom": "^6.10.0",
"react-scripts": "^5.0.1",
"recursive-readdir-sync": "^1.0.6",
"tiny-glob": "^0.2.9",
"ts-node": "^10.9.1",
"typescript": "~5.0.4",
"versiony-cli": "^1.3.0",
"vite": "^4.2.1"
},
"peerDependencies": {
"react": ">=16.14.0",
"react-dom": ">=16.14.0"
},
"jest": {
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"extensionsToTreatAsEsm": [
".ts",
".tsx"
],
"resolver": "./src/jest-resolver.js",
"testEnvironment": "jsdom",
"testMatch": [
"**/*unit.test.ts",
"**/*unit.test.tsx",
"**/*int.test.ts",
"**/*int.test.tsx"
],
"transform": {
"^.+\\.(t|j)sx?$": [
"@swc/jest",
{
"sourceMaps": true
}
]
}
},
"sideEffects": false,
"dependencies": {
"posthog-js": "^1.68.1",
"uuid": "^9.0.0"
},
"main": "./dist/main/index.js",
"module": "./dist/module/index.js",
"types": "./dist/module/index.d.ts",
"targets": {
"main": {
"engines": {
"node": ">= 12"
},
"context": "node",
"isLibrary": true,
"source": "./src/index.ts",
"optimize": false,
"includeNodeModules": false,
"sourceMap": false,
"distDir": "./dist/main"
}
}
}