-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.59 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
{
"name": "react-pdfjs-multi",
"version": "0.4.0",
"description": "React wrapper for pdfjs with multiple file support",
"main": "dist/index.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "rollup -c",
"build:example": "cd examples && yarn && yarn build",
"prepare": "npm run build",
"start": "rollup -c -w",
"test": "jest --env=jsdom",
"test:watch": "npm run test -- --watch",
"coveralls": "jest --coverage && cat ./__tests__/coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
"url": "git+https://github.com/marcklei/react-pdfjs-multi.git"
},
"keywords": [
"react",
"pdfjs",
"pdf",
"pdf-viewer"
],
"files": [
"dist"
],
"author": "Marcus Klein",
"license": "MIT",
"bugs": {
"url": "https://github.com/marcklei/react-pdfjs-multi/issues"
},
"homepage": "https://github.com/marcklei/react-pdfjs-multi#readme",
"devDependencies": {
"@types/enzyme": "^3.1.14",
"@types/enzyme-adapter-react-16": "^1.0.3",
"@types/jest": "^23.3.2",
"@types/pdfjs-dist": "^0.1.2",
"@types/react": "^16.4.14",
"@types/react-dom": "^16.0.7",
"caniuse-lite": "^1.0.30000886",
"coveralls": "^3.0.2",
"cssnano": "^4.1.0",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"jest": "^23.6.0",
"node-sass": "^4.9.3",
"postcss-cssnext": "^3.1.0",
"postcss-url": "^8.0.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"rimraf": "^2.6.2",
"rollup": "^0.66.1",
"rollup-plugin-commonjs": "^9.1.8",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-peer-deps-external": "^2.2.0",
"rollup-plugin-postcss": "^1.6.2",
"rollup-plugin-scss": "^0.4.0",
"rollup-plugin-typescript2": "^0.17.0",
"rollup-plugin-url": "^1.4.0",
"ts-jest": "^23.10.1",
"tslint": "^5.11.0",
"tslint-react": "^3.6.0",
"typescript": "^3.0.3"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"dependencies": {
"custom-event-polyfill": "^1.0.6",
"pdfjs-dist": "2.0.943"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"setupFiles": [
"raf/polyfill",
"<rootDir>/__tests__/setup/setupTest.ts"
],
"testMatch": [
"<rootDir>/__tests__/**/?(*.)(spec|test).ts?(x)"
],
"moduleNameMapper": {
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.ts"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"coverageDirectory": "<rootDir>/__tests__/coverage"
}
}