-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 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
95
96
97
98
99
100
101
{
"name": "@sinoui/pdf-viewer",
"version": "0.1.0",
"license": "MIT",
"main": "dist/index.js",
"umd:main": "dist/pdf-viewer.umd.production.js",
"module": "dist/pdf-viewer.esm.js",
"types": "types/index.d.ts",
"scripts": {
"test": "ts-lib-tools test",
"build": "ts-lib-tools build --simple",
"format": "ts-lib-tools format",
"lint": "ts-lib-tools lint",
"release": "yarn build && yarn publish dist",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"prettier": {
"printWidth": 80,
"useTabs": false,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always"
},
"eslintConfig": {
"extends": "ts-lib"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"cross-env CI=true ts-lib-tools test",
"eslint --fix --color",
"git add"
]
},
"peerDependencies": {
"react": ">=16.8.0"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"dependencies": {
"@babel/polyfill": "^7.12.1",
"@babel/runtime": "^7.12.1",
"classnames": "^2.2.6",
"dayjs": "^1.8.5",
"immer": "^7.0.9",
"rc-progress": "^3.1.1",
"react-custom-scrollbars": "^4.2.1",
"react-draggable": "^4.0.3",
"react-pdf": "4.2.0",
"uuid": "^3.2.1"
},
"devDependencies": {
"@babel/core": "^7.12.3",
"@storybook/addon-actions": "^6.0.26",
"@storybook/addon-essentials": "^6.0.26",
"@storybook/addon-links": "^6.0.26",
"@storybook/react": "^6.0.26",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^3.4.2",
"@types/classnames": "^2.2.10",
"@types/react": "^16.9.53",
"@types/react-custom-scrollbars": "^4.0.7",
"@types/react-dom": "^16.9.8",
"@types/react-pdf": "^4.0.6",
"@types/uuid": "^3.4.3",
"babel-loader": "^8.1.0",
"copy-webpack-plugin": "^6.2.1",
"husky": "^4.3.0",
"lint-staged": "^10.4.2",
"prettier": "^2.1.2",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-is": "^17.0.1",
"react-test-renderer": "^17.0.1",
"ts-lib-tools": "^0.13.10"
}
}