-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
41 lines (41 loc) · 1 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
{
"name": "@seracio/magnifier",
"files": [
"dist"
],
"version": "0.3.2",
"type": "module",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"exports": {
"require": "./dist/magnifier.cjs",
"default": "./dist/magnifier.modern.js"
},
"main": "./dist/magnifier.cjs",
"module": "./dist/magnifier.module.js",
"unpkg": "./dist/magnifier.umd.js",
"scripts": {
"dev": "vite",
"vitebuild": "tsc && vite build",
"prepublishOnly": "yarn build",
"build": "rm -rf dist && microbundle --jsx=React.createElement --sourcemap=false",
"preview": "vite preview"
},
"peerDependencies": {
"d3": ">=^7.4.4",
"react": ">=^18.0.0",
"react-dom": ">=^18.0.0"
},
"devDependencies": {
"@types/d3": "^7.1.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^1.3.0",
"d3": "^7.4.4",
"microbundle": "^0.15.0",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"typescript": "^4.6.3",
"vite": "^2.9.9"
}
}