-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.15 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
75
76
77
78
79
80
81
{
"name": "@dcl/hooks",
"version": "0.0.0-development",
"main": "cjs/index.js",
"module": "esm/index.js",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
}
},
"files": [
"esm",
"cjs"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:esm": "tsc -p tsconfig.esm.json",
"build:cjs": "tsc -p tsconfig.cjs.json",
"dev": "tsc --watch --outDir dist",
"format": "prettier --write '**/*.{ts,tsx,js,jsx,json,md,mdx,css}'",
"lint": "eslint ./src",
"lint:fix": "npm run lint -- --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "npm run test -- --coverage"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@dcl/eslint-config": "^2.2.1",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.12",
"@types/node": "^18.0.0",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-jest": "^3.0.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-autofix": "^2.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.5.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"ts-jest": "^29.2.5",
"typescript": "^5.0.0",
"typescript-eslint": "^7.15.0"
},
"dependencies": {
"@sentry/browser": "^9.0.0",
"ua-parser-js": "^2.0.2"
},
"keywords": [
"decentraland",
"hooks"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/decentraland/hooks.git"
},
"bugs": {
"url": "https://github.com/decentraland/hooks/issues"
},
"homepage": "https://github.com/decentraland/hooks#readme",
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"moduleNameMapper": {
"^test/(.*)$": "<rootDir>/test/$1",
"^src/(.*)$": "<rootDir>/src/$1"
}
}
}