-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
139 lines (139 loc) · 4.39 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "@deriv-com/ui",
"private": false,
"version": "0.0.0-development",
"type": "module",
"main": "dist/main.js",
"files": [
"dist"
],
"types": "./dist/main.d.ts",
"exports": {
".": {
"import": "./dist/main.js",
"types": "./dist/main.d.ts"
}
},
"sideEffects": [
"**/*.css"
],
"repository": {
"type": "git",
"url": "https://github.com/deriv-com/ui"
},
"scripts": {
"dev": "vite",
"build": "tsc -p ./tsconfig-build.json && vite build",
"prepublish": "npm run build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "npx prettier . --write",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "jest",
"test:report": "jest --collectCoverage"
},
"dependencies": {
"@popperjs/core": "^2.11.8",
"@types/react-modal": "^3.16.3",
"lodash.debounce": "^4.0.8",
"react-popper": "^2.3.0"
},
"devDependencies": {
"@babel/preset-env": "^7.24.3",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@deriv/quill-icons": "^1.22.5",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/github": "^10.0.2",
"@semantic-release/npm": "^12.0.0",
"@semantic-release/release-notes-generator": "^13.0.0",
"@storybook/addon-essentials": "^8.3.5",
"@storybook/addon-interactions": "^8.0.4",
"@storybook/addon-links": "^8.0.4",
"@storybook/addon-onboarding": "^8.0.4",
"@storybook/blocks": "^8.3.5",
"@storybook/react": "^8.0.4",
"@storybook/react-vite": "^8.0.4",
"@storybook/test": "^8.0.4",
"@tanstack/react-table": "^8.15.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.30",
"@types/react": "^18.2.72",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"@vitejs/plugin-react": "^4.2.1",
"@zxcvbn-ts/core": "^3.0.4",
"@zxcvbn-ts/language-common": "^3.0.4",
"clsx": "^2.1.0",
"downshift": "^9.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-storybook": "^0.8.0",
"glob": "^10.3.10",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "^3.16.1",
"sass": "^1.72.0",
"sass-loader": "^14.1.1",
"semantic-release": "^23.0.6",
"storybook": "^8.0.4",
"ts-jest": "^29.1.2",
"typescript": "^5.4.3",
"usehooks-ts": "^3.0.2",
"vite": "^5.4.6",
"vite-plugin-classname": "^0.0.3",
"vite-plugin-dts": "^3.7.3",
"vite-plugin-lib-inject-css": "^2.0.1"
},
"eslintConfig": {
"env": {
"es6": true
},
"parserOptions": {
"sourceType": "module"
},
"extends": [
"plugin:storybook/recommended"
]
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "^4.13.0"
},
"jest": {
"testEnvironment": "jest-environment-jsdom",
"setupFilesAfterEnv": [
"<rootDir>/test/setup.test.js"
],
"testMatch": [
"**/*.test.tsx",
"**/*.test.ts",
"**/*.spec.tsx",
"**/*.spec.ts"
],
"moduleNameMapper": {
"\\.(css|less|scss|sass)$": "identity-obj-proxy",
"\\.(gif|ttf|eot|svg|png)$": "<rootDir>/test/__mocks__/fileMock.js"
},
"collectCoverageFrom": [
"./src/components/*/*.{ts,tsx}",
"./src/hooks/*.{ts,tsx}",
"!./src/hooks/index.ts",
"!./node_modules/**",
"!./dist/**",
"!./stories/**",
"!/vite.config.ts",
"!./.storybook/**",
"!./coverage/**"
]
}
}