Include sourcebuster as npm package
This commit is contained in:
parent
7f100ac88a
commit
9ad289cea3
|
@ -229,10 +229,21 @@ module.exports = function ( grunt ) {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
js: {
|
js: {
|
||||||
cwd: '<%= dirs.js %>/',
|
files: [
|
||||||
expand: true,
|
{
|
||||||
src: '**',
|
cwd: '<%= dirs.js %>/',
|
||||||
dest: '<%= dirs.jsDest %>/',
|
expand: true,
|
||||||
|
src: '**',
|
||||||
|
dest: '<%= dirs.jsDest %>/',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
flatten: true,
|
||||||
|
expand: true,
|
||||||
|
src: 'node_modules/sourcebuster/dist/sourcebuster.js',
|
||||||
|
dest: '<%= dirs.jsDest %>/frontend/',
|
||||||
|
filter: 'isFile'
|
||||||
|
}
|
||||||
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
} );
|
} );
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -17,11 +17,11 @@
|
||||||
"browserslist": "4.19.3",
|
"browserslist": "4.19.3",
|
||||||
"caniuse-lite": "1.0.30001146",
|
"caniuse-lite": "1.0.30001146",
|
||||||
"grunt": "1.3.0",
|
"grunt": "1.3.0",
|
||||||
"grunt-contrib-uglify-es": "^3.3.0",
|
|
||||||
"grunt-contrib-clean": "2.0.0",
|
"grunt-contrib-clean": "2.0.0",
|
||||||
"grunt-contrib-concat": "1.0.1",
|
"grunt-contrib-concat": "1.0.1",
|
||||||
"grunt-contrib-copy": "1.0.0",
|
"grunt-contrib-copy": "1.0.0",
|
||||||
"grunt-contrib-cssmin": "3.0.0",
|
"grunt-contrib-cssmin": "3.0.0",
|
||||||
|
"grunt-contrib-uglify-es": "^3.3.0",
|
||||||
"grunt-contrib-watch": "1.1.0",
|
"grunt-contrib-watch": "1.1.0",
|
||||||
"grunt-move": "1.0.3",
|
"grunt-move": "1.0.3",
|
||||||
"grunt-newer": "1.3.0",
|
"grunt-newer": "1.3.0",
|
||||||
|
@ -34,5 +34,8 @@
|
||||||
"nodemon": "^2.0.21",
|
"nodemon": "^2.0.21",
|
||||||
"sass": "^1.45.0",
|
"sass": "^1.45.0",
|
||||||
"stylelint": "13.8.0"
|
"stylelint": "13.8.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"sourcebuster": "^1.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3697,6 +3697,10 @@ importers:
|
||||||
version: 5.1.6
|
version: 5.1.6
|
||||||
|
|
||||||
plugins/woocommerce/client/legacy:
|
plugins/woocommerce/client/legacy:
|
||||||
|
dependencies:
|
||||||
|
sourcebuster:
|
||||||
|
specifier: ^1.1.0
|
||||||
|
version: 1.1.0
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^16.18.18
|
specifier: ^16.18.18
|
||||||
|
@ -44503,6 +44507,10 @@ packages:
|
||||||
resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==}
|
resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==}
|
||||||
engines: {node: '>= 8'}
|
engines: {node: '>= 8'}
|
||||||
|
|
||||||
|
/sourcebuster@1.1.0:
|
||||||
|
resolution: {integrity: sha512-+A8MHjtnARAYsqd0OI+aXbgUa/p6mhmXHwGUu3TxdujqfVqS1mjSq+2fkctGDozoxrRSBb55WScJJtJ5YILxSQ==}
|
||||||
|
dev: false
|
||||||
|
|
||||||
/space-separated-tokens@1.1.5:
|
/space-separated-tokens@1.1.5:
|
||||||
resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==}
|
resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
"inputs": [
|
"inputs": [
|
||||||
"css/**/*.scss",
|
"css/**/*.scss",
|
||||||
"css/**/*.css",
|
"css/**/*.css",
|
||||||
"js/**/*.js"
|
"js/**/*.js",
|
||||||
|
"node_modules/**/*.js"
|
||||||
],
|
],
|
||||||
"outputMode": "new-only"
|
"outputMode": "new-only"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue