-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
67 lines (67 loc) · 2.17 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
{
"name": "@deriv-com/api-hooks",
"private": false,
"version": "0.0.0-development",
"description": "A React hooks library utilising Tanstack Query which encapsulates Deriv API WebSocket functionality.",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"prepare": "rm -rf ./dist && npm run build",
"watch": "vite build --watch",
"extract": "tsc ./scripts/codemod.ts --esModuleInterop --outDir ./codemod && mv ./codemod/codemod.js ./codemod/codemod.cjs && node ./codemod/codemod.cjs && prettier ./src/api --write",
"test": "jest"
},
"keywords": [
"deriv",
"utils"
],
"type": "module",
"main": "./dist/deriv-api-hooks.umd.cjs",
"module": "./dist/deriv-api-hooks.js",
"types": "./dist/deriv-api-hooks.d.ts",
"exports": {
".": {
"types": "./dist/deriv-api-hooks.d.ts",
"import": "./dist/deriv-api-hooks.js",
"require": "./dist/deriv-api-hooks.umd.cjs"
}
},
"files": [
"dist"
],
"author": "deriv",
"homepage": "https://deriv.com",
"license": "ISC",
"dependencies": {
"@deriv-com/utils": "^0.0.30",
"@deriv/api-types": "^1.0.1449",
"@deriv/deriv-api": "^1.0.15",
"@tanstack/react-query": "^5.51.16"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@types/jest": "^29.5.12",
"@types/node": "^22.0.2",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.3.3",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"semantic-release": "^23.1.1",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",
"typescript": "^5.5.4",
"vite": "^5.3.5",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-mkcert": "^1.17.5",
"vite-tsconfig-paths": "^4.3.2"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.19.1"
}
}