-
Notifications
You must be signed in to change notification settings - Fork 127
/
package.json
115 lines (115 loc) · 3.53 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@cyntler/react-doc-viewer",
"version": "1.17.0",
"description": "File viewer for React.",
"author": "Matthew Mogford / Damian Cyntler",
"type": "module",
"keywords": [
"reactjs",
"react-library",
"file-viewer",
"doc-viewer"
],
"license": "Apache License 2.0",
"homepage": "https://cyntler.github.io/react-doc-viewer",
"repository": {
"url": "https://github.com/cyntler/react-doc-viewer"
},
"files": [
"dist/**"
],
"types": "./dist/index.d.ts",
"main": "./dist/react-doc-viewer.cjs",
"module": "./dist/react-doc-viewer.js",
"exports": {
".": {
"import": "./dist/react-doc-viewer.js",
"require": "./dist/react-doc-viewer.cjs",
"types": "./dist/index.d.ts"
},
"./dist/index.css": {
"import": "./dist/index.css",
"require": "./dist/index.css"
}
},
"scripts": {
"start": "storybook dev -p 6006",
"build": "rm -rf dist && tsc && vite build",
"test": "vitest run",
"lint": "eslint ./src --ext .ts,.tsx",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"storybook:build": "rm -rf storybook-static && storybook build",
"deploy": "npm run storybook:build && gh-pages --nojekyll -d storybook-static --message 'feat: storybook deploy'",
"prerelease": "git checkout main && git pull && npm run prettier:check && npm run lint && npm run test && npm run build && node ./scripts/copy-worker.mjs && cd use-cases/nextjs && npm i && npm run build",
"release": "release-it && npm run deploy",
"build-readme-toc": "npx doctoc README.md --title '## Table of Contents'",
"prepublish": "npm run build-readme-toc"
},
"dependencies": {
"@types/mustache": "^4.2.5",
"@types/papaparse": "^5.3.14",
"ajv": "^7.2.4",
"core-js": "^3.37.1",
"mustache": "^4.2.0",
"papaparse": "^5.4.1",
"react-pdf": "^9.0.0",
"styled-components": "^6.1.11"
},
"devDependencies": {
"@rollup/plugin-dsv": "^3.0.4",
"@storybook/addon-essentials": "^8.1.5",
"@storybook/addon-interactions": "^8.1.5",
"@storybook/addon-links": "^8.1.5",
"@storybook/blocks": "^8.1.5",
"@storybook/react": "^8.1.5",
"@storybook/react-vite": "^8.1.5",
"@storybook/test": "^8.1.5",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.12.13",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-router-dom": "^5.3.3",
"@types/styled-components": "^5.1.34",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"babel-loader": "^9.1.3",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"file-loader": "^6.2.0",
"gh-pages": "^6.1.1",
"happy-dom": "^14.12.0",
"prettier": "^3.2.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"release-it": "^17.3.0",
"storybook": "^8.1.5",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"vite-plugin-dts": "^3.9.1",
"vite-plugin-node-polyfills": "^0.22.0",
"vitest": "^1.6.0",
"vitest-fetch-mock": "^0.2.2",
"webpack": "^5.91.0"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}