-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
99 lines (99 loc) · 3.33 KB
/
package.json
File metadata and controls
99 lines (99 loc) · 3.33 KB
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
{
"name": "browser-data-cortex",
"version": "1.0.0",
"description": "Easy integration with Data Cortex from a browser",
"repository": {
"type": "git",
"url": "git@github.com:data-cortex/browser-data-cortex.git"
},
"author": {
"name": "Jim Lake"
},
"license": "MIT",
"type": "commonjs",
"main": "dist/browser-data-cortex.min.js",
"module": "dist/browser-data-cortex.min.js",
"browser": "dist/browser-data-cortex.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/browser-data-cortex.min.js",
"require": "./dist/browser-data-cortex.min.js",
"browser": "./dist/browser-data-cortex.min.js",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && rollup -c",
"build:watch": "rollup -c --watch",
"ts-check": "tsc --noEmit",
"lint": "eslint src --fix",
"lint:check": "eslint src",
"lint:all": "eslint src test --fix",
"lint:all:check": "eslint src test",
"pretty": "prettier -u --write \"**/*\" --log-level warn",
"test": "yarn build && tsx test/all-tests.ts",
"test:quick": "yarn build && tsx test/quick-tests.ts",
"test:fast": "yarn build && tsx test/quick-tests.ts",
"test:unit": "tsx test/unit.test.ts",
"test:server": "tsx test/real-server-test.ts",
"test:comprehensive": "tsx test/comprehensive-real-server-test.ts",
"test:boundary": "tsx test/boundary-parameter-test.ts",
"test:user-agent": "tsx test/user-agent-tests.ts",
"test:coverage": "tsx test/coverage.test.ts",
"test:coverage-native": "tsx --test --experimental-test-coverage test/coverage-native.test.ts",
"test:coverage-real-api": "yarn build && tsx --test --experimental-test-coverage test/coverage-native.test.ts",
"test:coverage-comprehensive": "yarn build && tsx --test --experimental-test-coverage test/comprehensive-coverage.test.ts",
"test:coverage-comprehensive": "yarn build && tsx --test --experimental-test-coverage test/comprehensive-coverage.test.ts",
"test:coverage-badge": "tsx scripts/generate-coverage-badge.ts",
"test:all-with-coverage": "npm run test:coverage-real-api && npm run test:coverage-badge",
"test:watch": "tsx --watch test/unit.test.ts"
},
"keywords": [
"analytics",
"tracking",
"browser",
"data-cortex",
"events",
"logging"
],
"devDependencies": {
"@babel/core": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@eslint/js": "^9.8.0",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.5",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^24.2.0",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.10.2",
"eslint-plugin-security": "^3.0.1",
"globals": "^15.9.0",
"jsdom": "^23.2.0",
"prettier": "^3.2.4",
"rollup": "^4.9.6",
"rollup-plugin-dts": "^6.2.1",
"tslib": "^2.8.1",
"tree-kill": "^1.2.2",
"tsx": "^4.20.3",
"typescript": "^5.9.2"
},
"engines": {
"node": ">=16.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}