-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.16 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": "dap-performance-addon",
"description": "Track page performance events with GA4",
"license": "MIT",
"author": "dap-performance-addon",
"version": "0.0.0",
"type": "module",
"main": "dist/dap-performance-addon.cjs",
"module": "dist/dap-performance-addon.js",
"exports": {
"./dap-performance-addon.cjs": "./dist/dap-performance-addon.cjs",
"./dap-performance-addon.global.js": "./dist/dap-performance-addon.global.js",
"./dap-performance-addon.js": "./dist/dap-performance-addon.js",
"./dap-performance-addon.min.cjs": "./dist/dap-performance-addon.min.cjs",
"./dap-performance-addon.global.min.js": "./dist/dap-performance-addon.min.global.js",
"./dap-performance-addon.min.js": "./dist/dap-performance-addon.min.js"
},
"scripts": {
"start": "tsup && concurrently -k -r \"tsup --watch\" \"web-dev-server\"",
"build": "tsup",
"prepublish": "tsup",
"lint": "eslint && prettier \"**/*.ts\" --check --ignore-path .gitignore",
"format": "eslint . --fix && prettier \"**/*.ts\" --write --ignore-path .gitignore",
"size": "npm run build && size-limit",
"test": "vitest run && npm run size",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage"
},
"size-limit": [{
"limit": "6 kB",
"path": "dist/dap-performance-addon.min.js"
}],
"dependencies": {
"web-vitals": "^4.2.4"
},
"devDependencies": {
"@eslint/js": "^9.16.0",
"@size-limit/file": "^11.1.6",
"@types/mocha": "^10.0.10",
"@vitest/coverage-v8": "^2.1.6",
"@web/dev-server": "^0.4.6",
"@web/test-runner": "^0.19.0",
"concurrently": "^9.1.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.12.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.10",
"prettier": "^3.4.1",
"size-limit": "^11.1.6",
"tslib": "^2.8.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.16.0",
"vitest": "^2.1.6"
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
}
}