-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.62 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
{
"name": "tinfoil",
"version": "0.1.3",
"description": "Web analytics client for Tinfoil",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"browser": "dist/browser.js",
"type": "module",
"license": "MIT",
"scripts": {
"build": "npm run clean && npm run build:lib && npm run build:browser",
"build:lib": "tsc",
"build:browser": "esbuild src/browser.ts --minify --bundle --sourcemap --outfile=dist/browser.js --tree-shaking=true --main-fields=main,browser",
"clean": "rimraf dist",
"test": "vitest",
"test:cover": "vitest run --coverage",
"test:e2e": "playwright test --project=chromium",
"test:e2e:ui": "playwright test --ui --project=chromium",
"lint": "eslint ./src ./tests",
"serve": "python3 -m http.server 8223"
},
"dependencies": {
"@divviup/dap": "^0.9.1",
"ua-parser-js": "^2.0.0"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@playwright/test": "^1.48.2",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^22.8.1",
"@types/ua-parser-js": "^0.7.39",
"@vitest/coverage-v8": "^2.1.4",
"@vitest/ui": "^2.1.4",
"esbuild": "^0.24.0",
"eslint": "^9.13.0",
"globals": "^15.11.0",
"rimraf": "^5.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"typescript-eslint": "^8.11.0",
"vitest": "^2.1.4"
},
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tinfoilanalytics/tinfoil-ts.git"
}
}