Skip to content

Commit

Permalink
updated the versions of the packages, removed the package for images,…
Browse files Browse the repository at this point in the history
… corrected the name of the store in index.js
  • Loading branch information
OlegKrechkovskiy committed May 29, 2024
1 parent 4916aae commit f6954d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,4 @@ fabric.properties
.idea/caches/build_file_checksums.ser
/.idea
/.vscode/
/UPLOADER.ico
10 changes: 1 addition & 9 deletions insales-config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
var extend = require('deepmix')
var fs = require('fs')
// var imagemin = require('gulp-imagemin')
async function imagemin() {
const { default: imagemin } = await import('./node_modules/gulp-imagemin');
}

var autoprefixer = require('insales-uploader-autoprefixer')
var jsValidate = require('gulp-jsvalidate');

Expand Down Expand Up @@ -58,11 +55,6 @@ var defaultConfig = {
script: function (stream) {
return stream
.pipe(jsValidate())
},
// gulp плагины для изображений
img: function (stream) {
return stream
.pipe(imagemin())
}
},
util: {
Expand Down
8 changes: 4 additions & 4 deletions insales/shop_main/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = {
account: {
id: '11076a4aa6750ce272e5e1ca006c5b8a78',
token: '1fe92c0ee1ba981ee35dd1ec87e1f1f31',
url: 'shop-48497.myinsales.ru'
id: 'идентификатор',
token: 'пароль',
url: 'myshop-bui633.myinsales.ru'
},
theme:{
id: '854716'
id: '1111111'
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
"main": "insales-config.js",
"dependencies": {
"deepmix": "^1.0.0",
"gulp-imagemin": "^8.0.0",
"gulp-jsvalidate": "^5.0.0",
"insales-uploader": "^1.13.2",
"insales-uploader": "^1.13.5",
"insales-uploader-autoprefixer": "^1.0.1"
},
"browserslist": [
Expand Down

0 comments on commit f6954d4

Please sign in to comment.