-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is an initial stab at bundling. This PoC is very crude: we just do regular build in `node_modules/` and copy artifacts. Refinements will be introduced in following commits.
- Loading branch information
Showing
4 changed files
with
4,242 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
"clean:build": "shx rm -rf build/*", | ||
"clean:dist": "shx rm -rf add-on/dist", | ||
"clean:ui-kit": "shx rm -rf add-on/ui-kit", | ||
"clean:webui": "shx rm -rf add-on/webui", | ||
"build": "run-s clean build:*", | ||
"build:copy": "run-s build:copy:*", | ||
"build:copy:src": "shx mkdir -p add-on/dist && shx cp -R add-on/src/* add-on/dist", | ||
|
@@ -21,6 +22,9 @@ | |
"build:copy:ui-kit:ipfs-css:css": "shx mkdir -p add-on/ui-kit && shx cp node_modules/ipfs-css/ipfs.css add-on/ui-kit", | ||
"build:copy:ui-kit:ipfs-css:fonts": "shx mkdir -p add-on/ui-kit/fonts && shx cp node_modules/ipfs-css/fonts/* add-on/ui-kit/fonts", | ||
"build:copy:ui-kit:tachyons": "shx mkdir -p add-on/ui-kit && shx cp node_modules/tachyons/css/tachyons.css add-on/ui-kit", | ||
"build:webui": "run-s build:webui:*", | ||
"build:webui:build": "cd node_modules/ipfs-webui/ && npx [email protected] install --no-lockfile --non-interactive && npx [email protected] build ; cd ../../", | ||
"build:webui:copy": "shx mkdir -p add-on/webui && shx cp -r node_modules/ipfs-webui/build/* add-on/webui/", | ||
"build:js": "run-p build:js:*", | ||
"build:js:webpack": "webpack -p", | ||
"build:minimize-dist": "shx rm -rf add-on/dist/lib add-on/dist/contentScripts/ add-on/dist/bundles/ipfsProxyContentScriptPayload.bundle.js", | ||
|
@@ -102,6 +106,7 @@ | |
"ipfs-css": "0.8.0", | ||
"ipfs-http-response": "0.1.4", | ||
"ipfs-postmsg-proxy": "3.1.1", | ||
"ipfs-webui": "https://github.com/ipfs/webui/tarball/87d4d0d2d295d8813919bbc61e75e2cc57c33e82/webui.tar.gz", | ||
"is-ipfs": "0.4.2", | ||
"is-svg": "3.0.0", | ||
"lru-cache": "4.1.3", | ||
|
Oops, something went wrong.