|
18 | 18 | "build:copy": "run-s build:copy:*",
|
19 | 19 | "build:copy:src": "shx mkdir -p add-on/dist && shx cp -R add-on/src/* add-on/dist",
|
20 | 20 | "build:js": "run-s build:js:*",
|
21 |
| - "build:js:webpack": "webpack -p", |
| 21 | + "build:js:webpack": "webpack --mode production", |
22 | 22 | "build:minimize-dist": "shx rm -rf add-on/dist/lib add-on/dist/contentScripts/ add-on/dist/bundles/ipfsProxyContentScriptPayload.bundle.js",
|
23 |
| - "build:bundle-all": "cross-env RELEASE_CHANNEL=${RELEASE_CHANNEL:=dev} run-s bundle:chromium bundle:brave:$RELEASE_CHANNEL bundle:firefox:$RELEASE_CHANNEL", |
24 |
| - "build:rename-artifacts": "./scripts/rename-artifacts.js", |
| 23 | + "build:update-manifest": "cross-env ci/update-manifest.sh", |
| 24 | + "build:bundle-all": "cross-env run-s bundle:chromium bundle:brave:$RELEASE_CHANNEL bundle:firefox:$RELEASE_CHANNEL", |
| 25 | + "build:rename-artifacts": "node scripts/rename-artifacts.js", |
| 26 | + "build:reset-manifest": "cross-env RELEASE_CHANNEL=stable ci/update-manifest.sh", |
25 | 27 | "precache:clean": "shx rm -rf add-on/dist/precache",
|
26 | 28 | "bundle": "run-s bundle:*",
|
27 | 29 | "bundle:chromium": "shx cat add-on/manifest.common.json add-on/manifest.chromium.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/chromium && run-s build:rename-artifacts",
|
28 | 30 | "bundle:firefox": "shx cat add-on/manifest.common.json add-on/manifest.firefox.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/firefox/ && run-s build:rename-artifacts",
|
29 |
| - "bundle:firefox:dev": "npm run bundle:firefox", |
| 31 | + "bundle:firefox:": "npm run bundle:firefox", |
30 | 32 | "bundle:firefox:stable": "npm run bundle:firefox",
|
31 | 33 | "bundle:firefox:beta": "shx cat add-on/manifest.common.json add-on/manifest.firefox.json add-on/manifest.firefox-beta.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/firefox/ && run-s build:rename-artifacts",
|
32 |
| - "bundle:fennec": "npm run bundle:firefox", |
33 |
| - "bundle:fennec:dev": "npm run bundle:firefox:dev", |
34 |
| - "bundle:fennec:stable": "npm run bundle:firefox:stable", |
35 |
| - "bundle:fennec:beta": "npm run bundle:firefox:beta", |
36 | 34 | "bundle:brave": "shx cat add-on/manifest.common.json add-on/manifest.chromium.json add-on/manifest.brave.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/brave/ && run-s build:rename-artifacts",
|
37 |
| - "bundle:brave:dev": "npm run bundle:brave", |
| 35 | + "bundle:brave:": "npm run bundle:brave", |
38 | 36 | "bundle:brave:stable": "npm run bundle:brave",
|
39 | 37 | "bundle:brave:beta": "shx cat add-on/manifest.common.json add-on/manifest.chromium.json add-on/manifest.brave.json add-on/manifest.brave-beta.json | json --deep-merge > add-on/manifest.json && web-ext build -a build/brave/ && run-s build:rename-artifacts",
|
40 | 38 | "watch": "npm-run-all build:copy --parallel watch:*",
|
41 | 39 | "watch:js": "run-p watch:js:*",
|
42 |
| - "watch:js:webpack": "webpack --watch --progress -d --devtool inline-source-map --config ./webpack.config.js", |
| 40 | + "watch:js:webpack": "webpack --watch --mode development --devtool inline-source-map --config ./webpack.config.js", |
43 | 41 | "test": "run-s test:*",
|
44 | 42 | "test:functional": " nyc --reporter=lcov --reporter=text mocha --timeout 15000 --require ignore-styles \"test/functional/**/*.test.js\"",
|
45 | 43 | "lint": "run-s lint:*",
|
|
56 | 54 | "get-firefox-nightly": "shx test -e ./firefox/firefox || get-firefox -b nightly -e",
|
57 | 55 | "changelog": "npx conventional-changelog-cli -p angular -i CHANGELOG.md -s",
|
58 | 56 | "ci": "run-s ci:*",
|
59 |
| - "ci:install": "npx [email protected].4 install --frozen-lockfile || npx [email protected] install --frozen-lockfile", |
60 |
| - "ci:build": "./ci/update-manifest.sh && npx [email protected].4 build", |
61 |
| - "ci:test": "npx [email protected].4 test", |
62 |
| - "ci:lint": "npx [email protected].4 lint", |
| 57 | + "ci:install": "npx [email protected].10 install --frozen-lockfile --no-progress --non-interactive", |
| 58 | + "ci:build": "npx [email protected].10 build", |
| 59 | + "ci:test": "npx [email protected].10 test", |
| 60 | + "ci:lint": "npx [email protected].10 lint", |
63 | 61 | "beta-build": "docker rmi -f ipfs-companion-beta-build && docker build -t ipfs-companion-beta-build --build-arg USER_ID=$(id -u ${USER}) --build-arg GROUP_ID=$(id -g ${USER}) . && mkdir -p build && docker run --rm -it --net=host -e RELEASE_CHANNEL=beta -v $(pwd)/build:/home/node/app/build ipfs-companion-beta-build yarn ci:build",
|
64 | 62 | "release-build": "docker rmi -f ipfs-companion-release-build && docker build -t ipfs-companion-release-build --build-arg USER_ID=$(id -u ${USER}) --build-arg GROUP_ID=$(id -g ${USER}) . && mkdir -p build && docker run --rm -it --net=host -e RELEASE_CHANNEL=stable -v $(pwd)/build:/home/node/app/build ipfs-companion-release-build yarn ci:build",
|
65 |
| - "dev-build": "npx [email protected].4 && npx [email protected].4 build", |
| 63 | + "dev-build": "npx [email protected].10 && npx [email protected].10 build", |
66 | 64 | "yarn-build": "npm run dev-build"
|
67 | 65 | },
|
68 | 66 | "private": true,
|
|
85 | 83 | "babel-loader": "8.1.0",
|
86 | 84 | "babel-plugin-syntax-async-generators": "6.13.0",
|
87 | 85 | "chai": "4.2.0",
|
88 |
| - "cross-env": "6.0.3", |
89 |
| - "css-loader": "3.5.3", |
| 86 | + "cross-env": "7.0.2", |
| 87 | + "css-loader": "4.3.0", |
90 | 88 | "download-cli": "1.1.1",
|
91 |
| - "fakefile": "0.0.9", |
92 |
| - "file-loader": "6.0.0", |
| 89 | + "fakefile": "0.0.10", |
| 90 | + "file-loader": "6.1.1", |
93 | 91 | "firefox-addons-add-update-version": "1.0.1",
|
94 | 92 | "fs-promise": "2.0.3",
|
95 | 93 | "get-firefox": "4.0.0",
|
96 |
| - "husky": "3.1.0", |
| 94 | + "husky": "4.3.0", |
97 | 95 | "ignore-loader": "0.1.2",
|
98 | 96 | "ignore-styles": "5.0.1",
|
99 | 97 | "ipfs-or-gateway": "2.1.0",
|
100 |
| - "json": "9.0.6", |
| 98 | + "json": "10.0.0", |
101 | 99 | "mem-storage-area": "1.0.3",
|
102 |
| - "mini-css-extract-plugin": "0.9.0", |
| 100 | + "mini-css-extract-plugin": "1.0.0", |
103 | 101 | "mocha": "8.1.3",
|
104 | 102 | "npm-run-all": "4.1.5",
|
105 |
| - "nyc": "14.1.1", |
106 |
| - "raw-loader": "4.0.1", |
| 103 | + "nyc": "15.1.0", |
| 104 | + "raw-loader": "4.0.2", |
107 | 105 | "request-progress": "3.0.0",
|
108 | 106 | "shx": "0.3.2",
|
109 | 107 | "simple-progress-webpack-plugin": "1.1.2",
|
110 |
| - "sinon": "9.0.3", |
| 108 | + "sinon": "9.2.0", |
111 | 109 | "sinon-chrome": "3.0.1",
|
112 | 110 | "standard": "14.3.4",
|
113 |
| - "style-loader": "1.2.1", |
114 |
| - "tar": "5.0.5", |
115 |
| - "terser": "5.3.2", |
116 |
| - "terser-webpack-plugin": "4.2.2", |
| 111 | + "style-loader": "2.0.0", |
| 112 | + "tar": "6.0.5", |
| 113 | + "terser": "5.3.4", |
| 114 | + "terser-webpack-plugin": "4.2.3", |
117 | 115 | "transform-loader": "0.2.4",
|
118 |
| - "web-ext": "5.1.0", |
| 116 | + "web-ext": "5.2.0", |
119 | 117 | "webpack": "4.44.2",
|
120 | 118 | "webpack-bundle-analyzer": "3.9.0",
|
121 | 119 | "webpack-cli": "3.3.12",
|
122 |
| - "webpack-merge": "5.1.4" |
| 120 | + "webpack-merge": "5.2.0", |
| 121 | + "yarn": "1.22.10" |
123 | 122 | },
|
124 | 123 | "dependencies": {
|
125 |
| - "@material/switch": "6.0.0", |
| 124 | + "@material/switch": "7.0.0", |
126 | 125 | "browser-process-hrtime": "1.0.0",
|
127 | 126 | "buffer": "5.6.0",
|
128 |
| - "choo": "7.0.0", |
| 127 | + "choo": "7.1.0", |
129 | 128 | "chrome-dgram": "3.0.5",
|
130 | 129 | "chrome-net": "3.3.4",
|
131 | 130 | "debug": "4.2.0",
|
132 | 131 | "drag-and-drop-files": "0.0.1",
|
133 |
| - "filesize": "6.0.1", |
| 132 | + "filesize": "6.1.0", |
134 | 133 | "get-port": "5.1.1",
|
135 | 134 | "http-dns": "3.0.1",
|
136 | 135 | "http-node": "1.2.0",
|
137 | 136 | "ipfs": "0.50.2",
|
138 |
| - "ipfs-css": "1.1.0", |
| 137 | + "ipfs-css": "1.2.0", |
139 | 138 | "ipfs-http-client": "47.0.1",
|
140 | 139 | "ipfs-postmsg-proxy": "3.1.1",
|
141 | 140 | "ipfsx": "0.17.0",
|
142 |
| - "is-fqdn": "1.0.1", |
143 |
| - "is-ipfs": "1.0.3", |
| 141 | + "is-fqdn": "2.0.1", |
| 142 | + "is-ipfs": "2.0.0", |
144 | 143 | "it-all": "1.0.4",
|
145 | 144 | "it-concat": "1.0.1",
|
146 | 145 | "it-tar": "1.2.2",
|
147 |
| - "lru-cache": "5.1.1", |
148 |
| - "merge-options": "2.0.0", |
149 |
| - "multiaddr": "7.4.3", |
150 |
| - "multiaddr-to-uri": "5.0.0", |
151 |
| - "p-memoize": "4.0.0", |
152 |
| - "p-queue": "6.2.1", |
| 146 | + "lru-cache": "6.0.0", |
| 147 | + "merge-options": "3.0.3", |
| 148 | + "multiaddr": "8.0.0", |
| 149 | + "multiaddr-to-uri": "6.0.0", |
| 150 | + "p-memoize": "4.0.1", |
| 151 | + "p-queue": "6.6.1", |
153 | 152 | "path-browserify": "1.0.1",
|
154 | 153 | "piggybacker": "2.0.0",
|
155 | 154 | "postmsg-rpc": "2.4.0",
|
156 | 155 | "readable-stream": "3.6.0",
|
157 |
| - "tachyons": "4.11.1", |
158 |
| - "tar-stream": "2.1.2", |
| 156 | + "tachyons": "4.12.0", |
| 157 | + "tar-stream": "2.1.4", |
159 | 158 | "timers-browserify-full": "0.0.1",
|
160 |
| - "uri-to-multiaddr": "3.0.2", |
| 159 | + "uri-to-multiaddr": "4.0.0", |
161 | 160 | "webextension-polyfill": "0.6.0",
|
162 | 161 | "webrtc-ips": "0.1.4"
|
163 | 162 | },
|
|
0 commit comments