-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
106 lines (106 loc) · 2.7 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
{
"name": "@haensl/google-analytics",
"version": "1.2.2",
"description": "Google Analytics 4 service abstraction for gtag and measurement protocol.",
"module": "index.js",
"type": "module",
"scripts": {
"lint": "eslint '**/*.js'",
"lint:junit": "eslint --format junit -o test-results/eslint/results.xml '**/*.js'",
"prepare": "if [ \"${NODE_ENV}\" != 'production' ] && [ -z \"${CI}\" ]; then husky || true; fi",
"test": "jest --runInBand --no-cache --colors --passWithNoTests",
"test:junit": "jest --runInBand --no-cache --ci --reporters='default' --reporters='jest-junit' --passWithNoTests",
"tdd": "jest --runInBand --colors --watch"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"jest": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"extends": [
"@haensl"
]
},
"jest": {
"globals": {
"NODE_ENV": "test"
},
"verbose": true,
"clearMocks": true,
"moduleNameMapper": {
"\\.(css|less)$": "identity-obj-proxy",
"\\.svg": "<rootDir>/__mocks__/svgrMock.js",
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js"
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"/node_modules/",
"/.next/"
],
"transform": {
"^.+\\.jsx?$": "babel-jest"
}
},
"jest-junit": {
"outputDirectory": "test-results/jest",
"outputName": "results.xml",
"suitName": "@haensl/google-analytics unit tests"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/haensl/google-analytics.git"
},
"keywords": [
"Google Analytics",
"Google Analytics 4",
"Analytics",
"Analytics 4",
"Google",
"GA",
"GA4",
"gtag",
"gtag.js",
"measurement protocol"
],
"author": {
"name": "HP Dietz",
"url": "https://hpdietz.com",
"twitter": "@h_p_d",
"email": "[email protected]"
},
"funding": "https://github.com/sponsors/haensl",
"license": "MIT",
"bugs": {
"url": "https://github.com/haensl/google-analytics/issues"
},
"homepage": "https://github.com/haensl/google-analytics#readme",
"files": [
"index.js",
"measurement-protocol.js"
],
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@haensl/eslint-config": "^1.4.6",
"eslint": "^8.43.0",
"husky": "^9.0.11",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-junit": "^16.0.0"
},
"dependencies": {
"@haensl/http": "^1.0.0",
"@haensl/services": "^1.4.6"
}
}