-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.51 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.51 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
89
90
91
92
93
94
95
{
"name": "@simplepdf/react-embed-pdf",
"version": "1.12.1",
"description": "SimplePDF straight into your React app",
"repository": {
"type": "git",
"url": "https://github.com/SimplePDF/simplepdf-embed",
"directory": "react"
},
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs"
},
"./ai-sdk": {
"types": "./dist/ai-sdk.d.ts",
"import": "./dist/ai-sdk.esm.js",
"require": "./dist/ai-sdk.cjs"
},
"./tanstack-ai": {
"types": "./dist/tanstack-ai.d.ts",
"import": "./dist/tanstack-ai.esm.js"
}
},
"author": "bendersej",
"license": "MIT",
"private": false,
"engines": {
"node": ">=18"
},
"scripts": {
"pretest": "tsc --noEmit -p tsconfig.test.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:types": "tsc --noEmit",
"test:format": "npm run prettier -- --check",
"prettier": "prettier .",
"format": "npm run prettier -- --write",
"prepublishOnly": "rimraf dist && npm run build",
"build": "rollup -c",
"start": "rollup -c -w",
"check:exports": "node ../scripts/check-exports.mjs .",
"check:api": "node ../scripts/check-api.mjs ."
},
"dependencies": {
"@simplepdf/embed": "0.6.0"
},
"peerDependencies": {
"@tanstack/ai": "^0.38.0",
"react": "^18.2.0 || ^19.0.0",
"react-dom": "^18.2.0 || ^19.0.0",
"zod": "^4.0.0"
},
"peerDependenciesMeta": {
"@tanstack/ai": {
"optional": true
},
"zod": {
"optional": true
}
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@tanstack/ai": "^0.38.0",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "16.3.1",
"@testing-library/user-event": "^14.6.1",
"@types/react": "*",
"@types/react-dom": "*",
"@vitest/coverage-v8": "4.0.17",
"autoprefixer": "^10.4.18",
"jsdom": "26.1.0",
"postcss": "^8.4.35",
"prettier": "^3.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"rollup": "^4.12.0",
"rollup-plugin-scss": "^4.0.0",
"rollup-plugin-typescript2": "^0.36.0",
"sass": "^1.71.1",
"typescript": "^5.9.3",
"vitest": "4.0.17",
"zod": "^4.4.3"
},
"files": ["dist"],
"keywords": ["react", "typescript", "npm", "pdf"]
}