temporary fix vue-good-table
This commit is contained in:
parent
adff1f9c97
commit
01da6cb89f
@ -15,7 +15,8 @@
|
||||
"lint": "eslint --ext=.js,.vue -f=beauty .",
|
||||
"test": "jest",
|
||||
"codecov": "codecov -F js",
|
||||
"release": "yarn build && node scripts/release.js"
|
||||
"release": "yarn build && node scripts/release.js",
|
||||
"postinstall": "node scripts/fix-vue-good-table.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
@ -29,7 +30,7 @@
|
||||
"sweetalert2": "^7.28.1",
|
||||
"toastr": "^2.1.4",
|
||||
"vue": "^2.5.17",
|
||||
"vue-good-table": "^2.14.1",
|
||||
"vue-good-table": "^2.14.6",
|
||||
"vue-upload-component": "^2.8.13",
|
||||
"vuejs-paginate": "^2.0.1"
|
||||
},
|
||||
|
5
scripts/fix-vue-good-table.js
Normal file
5
scripts/fix-vue-good-table.js
Normal file
@ -0,0 +1,5 @@
|
||||
const fs = require('fs');
|
||||
|
||||
const manifest = JSON.parse(fs.readFileSync('./node_modules/vue-good-table/package.json', 'utf-8'));
|
||||
delete manifest.sideEffects;
|
||||
fs.writeFileSync('./node_modules/vue-good-table/package.json', JSON.stringify(manifest, null, 2));
|
Loading…
Reference in New Issue
Block a user