-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
94 lines (94 loc) · 2.51 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
{
"name": "document-viewer-ts",
"version": "1.0.0-legacy",
"description": "PDF and MS Doc viewer written in TypeScript for React and vanilla JavaScript",
"main": "dist/lib/index.js",
"module": "dist/es2020/index.js",
"types": "dist/es2020/index.d.ts",
"engines": {
"node": ">=18.15.0"
},
"files": [
"dist",
"styles"
],
"scripts": {
"build": "npm run build-es2020",
"build-es2020": "tsc -p tsconfig.json",
"build-example": "npm run build && tsc -p tsconfig.example.json && webpack",
"clean": "rimraf ./dist ./build",
"lint:no-fix": "eslint --config='.eslintrc.js' './src/*.{ts,tsx}' './tests/*.{ts,tsx}'",
"lint": "npm run lint:no-fix -- --fix",
"serve-example": "npm run build-example && node server.js",
"prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint:no-fix -- --max-warnings 0",
"test": "npx playwright test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mblink/document-viewer-ts.git"
},
"keywords": [
"document",
"viewer",
"pdf",
"doc",
"docx",
"typescript",
"react",
"javascript"
],
"contributors": [
{
"name": "Justin Leider",
"email": "[email protected]"
},
{
"name": "Kyle Sutton",
"email": "[email protected]"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/mblink/document-viewer-ts/issues"
},
"homepage": "https://github.com/mblink/document-viewer-ts#readme",
"devDependencies": {
"@playwright/test": "^1.42.1",
"@testing-library/react-hooks": "^7.0.2",
"@types/eslint": "~8.37.0",
"@types/estree": "^1.0.1",
"@types/node": "^20.11.30",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@typescript-eslint/eslint-plugin": "~5.59.6",
"@typescript-eslint/parser": "~5.59.6",
"buffer": "~6.0.0",
"canvas": "~2.11.2",
"core-js": "~3.23.3",
"eslint": "~8.38.0",
"express": "^4.18.3",
"pdfjs-dist": "4.3.136",
"process": "~0.11.10",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "~16.14.0",
"smoothscroll-polyfill": "~0.4.4",
"ts-node": "~10.9.1",
"typescript": "~5.0.4",
"webpack": "5.89.0",
"webpack-cli": "~5.0.1"
},
"peerDependencies": {
"pdfjs-dist": ">=3.4.120",
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
}
}