@opuscapita/excel-service
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -7,2 +7,5 @@ # Changelog | ||
## 1.0.3 | ||
* Fixed installation instructions | ||
## 1.0.2 | ||
@@ -9,0 +12,0 @@ * Added installation instructions and corrected peer dependencies |
{ | ||
"author": "OpusCapita (www.opuscapita.com)", | ||
"name": "@opuscapita/excel-service", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"private": false, | ||
@@ -43,3 +43,5 @@ "license": "MIT", | ||
"react-dom": "15 || 16", | ||
"file-saver": "2.0.0" | ||
"file-saver": "2.0.0", | ||
"xlsx": "0.14.1", | ||
"xlsx-styles": "0.8.21" | ||
}, | ||
@@ -46,0 +48,0 @@ "devDependencies": { |
@@ -15,23 +15,8 @@ # excel-service | ||
``` | ||
to webpack.config.js and run | ||
to webpack.config.js and install | ||
``` | ||
npm install file-saver | ||
npm install --save file-saver xlsx xlsx-styles @opuscapita/excel-service | ||
``` | ||
Add @opuscapita/excel-service to package.json dependencies and run ````npm install```. Note, do not run npm install for @opuscapita/excel-service, otherwise xlsx-styles is not installed. | ||
If xlsx-styles is installed into ```node_modules/@opuscapita/excel-service/node_modules``` do the following: | ||
1. Run ```npm install xlsx-styles``` | ||
2. Verify that xlsx-styles is installed at the root level of the tree | ||
3. Run ```npm dedupe``` | ||
4. Verify that xlsx-styles is removed from ```node_modules/@opuscapita/excel-service/node_modules``` and both xlsx and xlsx-styles exist in the root level of the tree. | ||
5. Run ```npm uninstall xlsx-styles``` | ||
6. Repeat step 4. | ||
If xlsx is installed into ```node_modules/@opuscapita/excel-service/node_modules``` do the above steps for it, but replace xlsx-styles with xlsx. | ||
Once these steps have been executed it is enough to run only ````npm install``` and it does installation correspondingly. | ||
### Demo | ||
@@ -38,0 +23,0 @@ View the [DEMO](https://opuscapita.github.io/excel-service) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23558976
8
175