Move sync/vendor & config updates

This commit is contained in:
Rob Garrison 2018-11-21 16:10:53 -06:00
parent d38125c8d4
commit 1b56e13f7f
10 changed files with 33 additions and 2 deletions

View File

@ -8,6 +8,7 @@
"devDependencies": { "devDependencies": {
"archiver": "^3.0.0", "archiver": "^3.0.0",
"codemirror": "^5.41.0", "codemirror": "^5.41.0",
"dropbox": "^4.0.13",
"endent": "^1.2.0", "endent": "^1.2.0",
"eslint": "^5.9.0", "eslint": "^5.9.0",
"fs-extra": "^7.0.1", "fs-extra": "^7.0.1",
@ -21,7 +22,8 @@
"updates": "^5.1.2", "updates": "^5.1.2",
"usercss-meta": "^0.8.3", "usercss-meta": "^0.8.3",
"web-ext": "^2.9.2", "web-ext": "^2.9.2",
"webext-tx-fix": "^0.3.1" "webext-tx-fix": "^0.3.1",
"zipjs-browserify": "^1.0.1"
}, },
"scripts": { "scripts": {
"lint": "eslint **/*.js --cache || exit 0", "lint": "eslint **/*.js --cache || exit 0",

View File

@ -3,7 +3,7 @@
'use strict'; 'use strict';
onDOMready().then(() => { onDOMready().then(() => {
zip.workerScriptsPath = '../vendor/zipjs/'; zip.workerScriptsPath = '../vendor/zipjs-browserify/';
}); });
/** /**

View File

@ -11,6 +11,9 @@ const files = {
'*', // only update existing vendor files '*', // only update existing vendor files
'theme' // update all theme files 'theme' // update all theme files
], ],
'dropbox': [
'dist/Dropbox-sdk.js → dropbox-sdk.js'
],
'jsonlint': [ 'jsonlint': [
'lib/jsonlint.js → jsonlint.js' 'lib/jsonlint.js → jsonlint.js'
], ],
@ -31,6 +34,12 @@ const files = {
], ],
'usercss-meta': [ 'usercss-meta': [
'dist/usercss-meta.min.js → usercss-meta.min.js' 'dist/usercss-meta.min.js → usercss-meta.min.js'
],
'zipjs-browserify': [
'vendor/deflate.js → deflate.js',
'vendor/inflate.js → inflate.js',
'vendor/z-worker.js → z-worker.js',
'vendor/zip.js → zip.js'
] ]
}; };

12
vendor/dropbox/README.md vendored Normal file
View File

@ -0,0 +1,12 @@
## Dropbox SDK v4.0.13
Dropbox DSK JS installed via npm - source repo:
https://github.com/dropbox/dropbox-sdk-js/tree/v4.0.13
The source repo **does not** include the `dist` folder with the generated `dropbox-sdk.js`
distribution file. It can only be obtained from the npm `node_modules` folder after installing
the module.
- https://www.npmjs.com/package/dropbox
- https://github.com/dropbox/dropbox-sdk-js/releases

8
vendor/zipjs-browserify/README.md vendored Normal file
View File

@ -0,0 +1,8 @@
## zipjs-browserify v1.0.1
zipjs installed via npm - source repo:
- https://github.com/juliangruber/zipjs-browserify/tree/v1.0.1/vendor/deflate.js
- https://github.com/juliangruber/zipjs-browserify/tree/v1.0.1/vendor/inflate.js
- https://github.com/juliangruber/zipjs-browserify/tree/v1.0.1/vendor/z-worker.js
- https://github.com/juliangruber/zipjs-browserify/tree/v1.0.1/vendor/zip.js