-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathpackage.json
More file actions
88 lines (88 loc) · 2.04 KB
/
Copy pathpackage.json
File metadata and controls
88 lines (88 loc) · 2.04 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
81
82
83
84
85
86
87
88
{
"name": "react-iframe",
"version": "2.0.1",
"description": "A zero-dependency, typed, ref-forwarding iframe component for React 18+",
"license": "ISC",
"type": "module",
"sideEffects": false,
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist"
],
"engines": {
"node": ">=20"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"overrides": {
"esbuild": "^0.28.1"
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"lint": "eslint src demo --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check .",
"demo": "vite --config demo/vite.config.ts",
"demo:build": "vite build --config demo/vite.config.ts",
"prepublishOnly": "npm run typecheck && npm test && npm run build"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/svenanders/react-iframe.git"
},
"homepage": "https://github.com/svenanders/react-iframe",
"bugs": {
"url": "https://github.com/svenanders/react-iframe/issues"
},
"keywords": [
"react",
"react-component",
"iframe",
"embed"
],
"author": {
"name": "Sven Anders Robbestad",
"email": "anders@robbestad.com",
"url": "https://www.robbestad.com"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.5",
"@vitejs/plugin-react": "^6.1.1",
"eslint": "^10.9.1",
"eslint-plugin-react-hooks": "^7.1.1",
"jsdom": "^30.0.1",
"prettier": "^3.9.6",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.69.0",
"vite": "^8.2.2",
"vitest": "^4.1.11"
}
}