-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
80 lines (80 loc) · 2.05 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
{
"name": "react-media-previewer",
"version": "1.3.10",
"description": "A media previewer component for React",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/types",
"scripts": {
"build": "rollup -c",
"prepare": "npm run build",
"lint:style": "stylelint '**/*.css'"
},
"repository": {
"type": "git",
"url": "https://github.com/ruilisi/react-media-previewer.git"
},
"author": "Ruilisi",
"license": "MIT",
"keywords": [
"react",
"react-component",
"image",
"video",
"media-previewer"
],
"lint-staged": {
"./**/*.less": [
"yarn lint:style:fix"
],
"./**js,jsx,ts,tsx}": [
"eslint --format=pretty"
],
"./**/*.{js,jsx,tsx,ts,md,json}": [
"prettier --write"
]
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@rollup/plugin-image": "^2.1.1",
"@rollup/plugin-typescript": "^8.2.1",
"@svgr/rollup": "^6.2.1",
"@types/css-modules": "^1.0.2",
"@types/mime-types": "^2.1.1",
"@types/react": "^17.0.2",
"@types/react-copy-to-clipboard": "5.0.0",
"@types/react-dom": "^17.0.2",
"@types/react-pdf": "^5.7.2",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"eslint": "^8.34.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-plugin-react": "^7.29.4",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"postcss": "^8.3.0",
"prettier": "^2.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^2.51.0",
"rollup-plugin-postcss": "^4.0.2",
"stylelint": "^14.6.1",
"stylelint-config-standard": "^25.0.0",
"tslib": "^2.3.1",
"typescript": "^4.3.2"
},
"peerDependencies": {
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"dependencies": {
"autoprefixer": "^10.4.7",
"mime-types": "^2.1.35",
"rc-dialog": "^8.7.0",
"react-copy-to-clipboard": "^5.0.4",
"react-icons": "^4.3.1",
"react-pdf": "^5.7.2",
"tailwindcss": "^3.1.4"
}
}