-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
74 lines (74 loc) · 2.27 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
{
"name": "@cabify/prom-react",
"description": "Add Prometheus metrics to your React App",
"version": "0.3.0",
"author": "Cabify",
"license": "Apache-2.0",
"main": "./dist/index.js",
"module": "./es2015/index.js",
"types": "./dist/index.d.ts",
"typings": "./dist/index.d.ts",
"repository": "cabify/prom-react",
"scripts": {
"clean": "rimraf dist/* es2015/*",
"build": "yarn run clean && cross-env BABEL_ENV=build package-build",
"build:watch": "cross-env BABEL_ENV=build package-build -w",
"format": "prettier --loglevel warn --write .",
"format:check": "prettier --check .",
"lint": "eslint . --ext ts,tsx,js",
"lint:fix": "eslint . --ext ts,tsx,js --fix",
"posttest": "yarn run lint && yarn run format && yarn run typecheck",
"prepublishOnly": "yarn run build",
"publish:major": "npm version major",
"publish:minor": "npm version minor",
"publish:patch": "npm version patch",
"publish:canary": "npm version prerelease --preid=beta",
"test": "jest",
"test:ci": "jest",
"typecheck": "tsc --project tsconfig.eslint.json"
},
"dependencies": {
"@shopify/network": "^3.3.0",
"@shopify/react-performance": "^4.1.1",
"events": "^3.3.0",
"promjs": "^0.4.1",
"react-beforeunload": "^2.6.0"
},
"devDependencies": {
"@cabify/babel-preset": "0.1.2",
"@cabify/eslint-config": "2.1.4",
"@cabify/package-build": "0.1.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@testing-library/user-event": "14.5.2",
"@types/jest": "29.5.14",
"@types/react": "18.3.12",
"@types/react-beforeunload": "2.1.5",
"@types/react-dom": "18.3.1",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"eslint-import-resolver-typescript": "3.7.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-fixed-jsdom": "0.0.9",
"msw": "2.6.6",
"prettier": "3.4.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"rimraf": "6.0.1",
"typescript": "5.7.3",
"whatwg-fetch": "3.6.20"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"react": ">=16.8.0 < 19.0.0",
"react-dom": ">=16.8.0 < 19.0.0"
},
"volta": {
"node": "20.9.0",
"yarn": "1.22.19"
}
}