forked from ivmarcos/react-to-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.7 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
{
"name": "@banzai-inc/react-to-pdf",
"version": "0.0.15",
"description": "Create pdf documents from React Components",
"main": "lib/index.js",
"module": "umd/react-to-pdf.js",
"jsnext:main": "umd/react-to-pdf.js",
"files": [
"umd",
"lib"
],
"keywords": [
"pdf",
"react",
"convert"
],
"scripts": {
"start": "styleguidist server",
"test": "echo \"Error: no test specified\" && exit 0",
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min",
"clean": "rimraf lib/ umd/ && mkdir -p lib umd",
"release": "yarn build && yarn version --new-version patch && npm publish",
"prepare": "npm run clean && npm test && npm run build",
"lint": "eslint src",
"lint-fix": "eslint --fix src --ext .js",
"preversion": "yarn test",
"postversion": "git push",
"build:watch": "echo 'build && watch the COMMONJS version of the package - for other version, run specific tasks' && npm run build:commonjs:watch",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel ./src/ReactToPdf.jsx --out-file ./lib/index.js",
"build:commonjs:watch": "npm run build:commonjs -- --watch",
"build:umd": "cross-env BABEL_ENV=umd babel ./src/ReactToPdf.jsx --out-file ./umd/react-to-pdf.js",
"build:umd:min": "cross-env BABEL_ENV=umd babel --presets minify ./src/ReactToPdf.jsx --out-file ./umd/react-to-pdf.min.js",
"build:umd:watch": "npm run build:umd -- --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/banzai-inc/react-to-pdf.git"
},
"author": "Marcos Andrei Ivanechtchuk",
"license": "MIT",
"bugs": {
"url": "https://github.com/banzai-inc/react-to-pdf/issues"
},
"homepage": "https://github.com/banzai-inc/react-to-pdf#readme",
"dependencies": {
"html2canvas": "1.0.0-alpha.12",
"jspdf": "^2.3.1"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.2",
"babel-loader": "7",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-modules-umd": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-flow": "^6.23.0",
"babel-preset-minify": "^0.5.1",
"babel-preset-react": "^6.24.1",
"chalk": "^2.4.1",
"cross-env": "^7.0.2",
"css-loader": "^1.0.0",
"env-cmd": "^8.0.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^16.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-react-app": "^0.6.2",
"eslint-import-resolver-alias": "^1.0.3",
"eslint-import-resolver-babel-module": "^4.0.0",
"eslint-loader": "1.6.0",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.4.2",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"file-loader": "^2.0.0",
"jest": "^23.5.0",
"json5": "^2.0.1",
"lite-server": "^2.4.0",
"node-sass": "^4.9.3",
"open-browser-webpack-plugin": "^0.0.5",
"postcss-modules": "^1.3.2",
"prettier": "^1.14.3",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-styleguidist": "^7.3.8",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.0",
"url-loader": "^1.1.1",
"webpack": "^4.18.0"
},
"peerDependencies": {
"react": "^16.5.2 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.5.2 || ^17.0.0 || ^18.0.0"
},
"volta": {
"node": "10.24.1"
}
}