Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
80 lines (80 loc) · 2.23 KB
/
Copy pathpackage.json
File metadata and controls
80 lines (80 loc) · 2.23 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
72
73
74
75
76
77
78
79
80
{
"name": "@defisaver/ui",
"version": "0.0.14",
"description": "DeFi Saver design system — React components styled with StyleX, pre-compiled so consumers need no StyleX tooling.",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/defisaver/ui.git"
},
"publishConfig": {
"access": "public"
},
"type": "module",
"sideEffects": [
"**/*.css"
],
"files": [
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./styles.css": "./dist/styles.css",
"./package.json": "./package.json"
},
"scripts": {
"build": "rollup -c && tsc -p tsconfig.build.json --declaration --emitDeclarationOnly --outDir dist",
"dev": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint . --fix",
"typecheck": "tsc --noEmit",
"pack:local": "npm run build && npm pack",
"prepublishOnly": "npm run lint && npm run typecheck && npm test && npm run build"
},
"engines": {
"node": ">=22.0.0"
},
"dependencies": {
"@stylexjs/stylex": "^0.19.0"
},
"peerDependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@defisaver/eslint-config": "^2.1.0",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@storybook/addon-vitest": "^10.4.6",
"@storybook/react-vite": "^10.4.6",
"@stylexjs/eslint-plugin": "^0.19.0",
"@stylexjs/rollup-plugin": "^0.19.0",
"@stylexjs/unplugin": "^0.19.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.20.0",
"@types/react": "^18.3.31",
"@types/react-dom": "^18.3.7",
"@vitejs/plugin-react": "^6.0.3",
"@vitest/browser-playwright": "^4.1.9",
"@vitest/coverage-v8": "^4.1.9",
"eslint": "^9.39.4",
"jsdom": "^29.1.1",
"playwright": "^1.61.1",
"prettier": "^3.9.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup": "^4.62.2",
"storybook": "^10.4.6",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vite": "^8.1.3",
"vitest": "^4.1.9"
}
}