-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.87 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.87 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
{
"description": "Library to create analytics api.",
"author": "Utily Contributors",
"license": "MIT",
"repository": "https://github.com/utily/cloudly-analytics",
"bugs": {
"url": "https://github.com/utily/cloudly-analytics/issues"
},
"homepage": "https://github.com/utily",
"private": false,
"git": {
"tagName": "v${version}"
},
"github": {
"release": true
},
"jest": {
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.test.json"
}
},
"transform": {
"^.+\\.(j|t)sx?$": "ts-jest"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(cryptly|authly|isoly|gracely|cloudly-http|cloudly-router|cloudly-formdata|cloudly-storage|@cloudflare/workers-types)/.*)"
],
"testEnvironment": "node",
"testRegex": "((\\.|/)(test|spec))(\\.|\\/.+)(jsx?|tsx?)$",
"testPathIgnorePatterns": [
"node_modules/",
"dist/",
"test-worker/"
],
"collectCoverageFrom": [
"**/*.{ts,tsx,js,jsx}",
"!**/node_modules/**",
"!**/dist/**"
],
"preset": "ts-jest",
"testMatch": null
},
"scripts": {
"lint": "eslint --max-warnings=0 '**/*.{ts,tsx}'",
"fix": "eslint '**/*.{ts,tsx}' --fix",
"build": "tsc --build --verbose",
"test": "jest --maxWorkers=2",
"prepare": "npm run build",
"clean": "rimraf dist coverage packages/**/dist",
"start": "npm --prefix test-worker run start"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241205.0",
"@types/jest": "^29.5.14",
"@types/ua-parser-js": "^0.7.39",
"@typescript-eslint/eslint-plugin": "8.18.0",
"@typescript-eslint/parser": "8.18.0",
"eslint": "^8.57.0",
"eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20231004",
"eslint-plugin-simple-import-sort": "^12.1.1",
"jest": "^29.7.0",
"prettierx": "github:utily/prettierx#utily-20231004",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.5.4"
},
"workspaces": [
"packages/*"
]
}