From cd8c58586b8925c2325e127a39a3b24420d716c8 Mon Sep 17 00:00:00 2001 From: Oliverio Sousa <47525443+oliveriosousa@users.noreply.github.com> Date: Wed, 28 Jul 2021 11:54:59 +0100 Subject: [PATCH] chore: update examples dependencies --- .../browser-add-readable-stream/package.json | 25 ++++------ examples/browser-browserify/package.json | 14 +++--- examples/browser-create-react-app/README.md | 8 +-- .../browser-create-react-app/package.json | 46 ++++++++--------- examples/browser-exchange-files/package.json | 31 +++++------- examples/browser-ipns-publish/package.json | 47 ++++++++--------- examples/browser-mfs/package.json | 29 ++++------- examples/browser-nextjs/package.json | 6 +-- examples/browser-parceljs/package.json | 27 ++++------ examples/browser-readablestream/package.json | 32 +++++------- examples/browser-script-tag/package.json | 23 +++------ examples/browser-service-worker/package.json | 20 ++++---- .../package.json | 33 +++++------- examples/browser-video-streaming/package.json | 29 ++++------- examples/browser-vue/package.json | 50 +++++++++---------- examples/browser-webpack/package.json | 28 +++++------ examples/circuit-relaying/package.json | 28 ++++------- examples/custom-ipfs-repo/package.json | 12 ++--- examples/custom-ipld-formats/package.json | 14 +++--- examples/custom-libp2p/package.json | 8 +-- .../http-client-browser-pubsub/package.json | 27 ++++------ .../http-client-bundle-webpack/package.json | 26 +++++----- examples/http-client-name-api/package.json | 27 ++++------ examples/http-client-upload-file/package.json | 31 +++++------- examples/ipfs-101/package.json | 10 ++-- examples/ipfs-client-add-files/package.json | 21 +++----- examples/run-in-electron/package.json | 20 ++++---- examples/running-multiple-nodes/package.json | 14 +++--- examples/traverse-ipld-graphs/package.json | 18 +++---- examples/types-use-ipfs-from-ts/package.json | 12 ++--- .../types-use-ipfs-from-typed-js/package.json | 16 +++--- lib/test-util-ipfs-example/package.json | 28 +++++------ package.json | 36 ++++++------- 33 files changed, 349 insertions(+), 447 deletions(-) diff --git a/examples/browser-add-readable-stream/package.json b/examples/browser-add-readable-stream/package.json index 368a8404..ae85bbde 100644 --- a/examples/browser-add-readable-stream/package.json +++ b/examples/browser-add-readable-stream/package.json @@ -1,18 +1,11 @@ { "name": "example-browser-add-readable-stream", - "description": "How to add readable streams in the browser", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "How to add readable streams in the browser", + "keywords": [], + "license": "MIT", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,16 +13,16 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "keywords": [], - "license": "MIT", + "browserslist": "last 1 Chrome version", "dependencies": { - "ipfs": "^0.55.4" + "ipfs": "^0.56.0" }, "devDependencies": { - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/browser-browserify/package.json b/examples/browser-browserify/package.json index 6e0310cc..b60e6dba 100644 --- a/examples/browser-browserify/package.json +++ b/examples/browser-browserify/package.json @@ -1,9 +1,11 @@ { "name": "example-browser-browserify", - "description": "Bundle js-ipfs with Browserify", "version": "1.0.0", - "main": "dist/index.html", "private": true, + "description": "Bundle js-ipfs with Browserify", + "keywords": [], + "license": "MIT", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist", "build": "copyfiles -u 1 -a './public/**/*' './dist' && browserify ./src/index.js > ./dist/bundle.js", @@ -11,8 +13,9 @@ "start": "npm run build && npm run serve", "test:example": "npm run build && playwright test tests" }, - "keywords": [], - "license": "MIT", + "dependencies": { + "ipfs": "^0.56.0" + }, "devDependencies": { "@playwright/test": "^1.12.3", "browserify": "^17.0.0", @@ -23,8 +26,5 @@ "playwright": "^1.12.3", "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "ipfs": "^0.55.4" } } diff --git a/examples/browser-create-react-app/README.md b/examples/browser-create-react-app/README.md index f7ef477d..0870c0a5 100755 --- a/examples/browser-create-react-app/README.md +++ b/examples/browser-create-react-app/README.md @@ -95,17 +95,19 @@ But with modern hosting services like Heroku, Netlity or Fleek, you can skip the ## Usage -A minimal demonstration of how to use js-ipfs in a `create-react-app` generated app. +This is a minimal demonstration of how to use `js-ipfs` in a `create-react-app` generated app. + +It boots up a `js-ipfs` instance (an IPFS node) via a custom React hook in `./src/hooks/use-ipfs-factory.js`, which is called from `./src/App.js`. Once the IPFS node is set up, `./src/App.js` displays the [PeerId](https://docs.libp2p.io/concepts/peer-id/) of this node and the version number of `js-ipfs` used to spawn it. All React applications store their main logic in `App.js`: -- `App.js` renders the cosmetics of the demo and call `useIpfs` to retrieve the `id` of the node +- `App.js` renders the cosmetics of the demo and calls `useIpfs` to retrieve the `id` of the node - `useIpfsFactory.js` initialises and closes the IPFS local node - `useIpfs.js` does the actual calls to IPFS to retrieve the property specified in argument (here the retrieved property is `id`, requested from `App.js`) Once the IPFS node is set up, `App.js` displays its ident and its version number. -> _Remember that a Peer ID of an IPFS node is [the multihash of the public key of this node](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md#peer-ids), and the public-private key pair of a node is generated by typing `ipfs init`._ +> _Side note: The PeerId of the IPFS node is [the multihash of the public key of this node](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md#peer-ids). The public-private key pair of a node is generated by typing `ipfs init`._ ![Screen shot of the js ipfs node id info](./images/screenshot.png) diff --git a/examples/browser-create-react-app/package.json b/examples/browser-create-react-app/package.json index 49cf1163..f168ac53 100644 --- a/examples/browser-create-react-app/package.json +++ b/examples/browser-create-react-app/package.json @@ -1,21 +1,9 @@ { "name": "example-browser-create-react-app", - "description": "A minimal demonstration of how to use js-ipfs in a `create-react-app` generated app.", "version": "1.0.0", "private": true, - "dependencies": { - "@testing-library/jest-dom": "^5.14.1", - "@testing-library/react": "^11.2.7", - "@testing-library/user-event": "^12.8.3", - "dot-prop": "^6.0.1", - "ipfs": "^0.55.4", - "ipfs-css": "^1.3.0", - "react": "^17.0.2", - "react-dom": "^17.0.2", - "react-scripts": "4.0.3", - "tachyons": "^4.12.0", - "web-vitals": "^1.1.2" - }, + "description": "A minimal demonstration of how to use js-ipfs in a `create-react-app` generated app.", + "license": "MIT", "scripts": { "clean": "rimraf ./build", "build": "react-scripts build", @@ -24,12 +12,6 @@ "test": "react-scripts test", "test:example": "npm run build && playwright test tests" }, - "eslintConfig": { - "extends": [ - "react-app", - "react-app/jest" - ] - }, "browserslist": { "production": [ ">0.2%", @@ -42,11 +24,29 @@ "last 1 safari version" ] }, + "eslintConfig": { + "extends": [ + "react-app", + "react-app/jest" + ] + }, + "dependencies": { + "@testing-library/jest-dom": "^5.14.1", + "@testing-library/react": "^11.2.7", + "@testing-library/user-event": "^12.8.3", + "dot-prop": "^6.0.1", + "ipfs": "^0.56.0", + "ipfs-css": "^1.3.0", + "react": "^17.0.2", + "react-dom": "^17.0.2", + "react-scripts": "4.0.3", + "tachyons": "^4.12.0", + "web-vitals": "^1.1.2" + }, "devDependencies": { - "rimraf": "^3.0.2", "@playwright/test": "^1.12.3", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "license": "MIT" + } } diff --git a/examples/browser-exchange-files/package.json b/examples/browser-exchange-files/package.json index 3b51a608..f6145581 100644 --- a/examples/browser-exchange-files/package.json +++ b/examples/browser-exchange-files/package.json @@ -1,17 +1,9 @@ { "name": "example-exchange-files-in-browser", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "license": "MIT", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,19 +12,20 @@ "test": "playwright test", "test:example": "npm run build && playwright test tests" }, - "license": "MIT", + "browserslist": "last 1 Chrome version", + "dependencies": { + "ipfs": "^0.56.0", + "it-all": "^1.0.4", + "libp2p-websockets": "^0.16.1", + "uint8arrays": "^2.1.6" + }, "devDependencies": { - "ipfs-http-client": "^50.1.2", - "parcel": "latest", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "ipfs-http-client": "^51.0.0", + "parcel": "latest", "playwright": "^1.12.3", "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "uint8arrays": "^2.1.6", - "ipfs": "^0.55.4", - "it-all": "^1.0.4", - "libp2p-websockets": "^0.16.1" } } diff --git a/examples/browser-ipns-publish/package.json b/examples/browser-ipns-publish/package.json index d1543876..995e1d5c 100644 --- a/examples/browser-ipns-publish/package.json +++ b/examples/browser-ipns-publish/package.json @@ -1,18 +1,19 @@ { "name": "example-browser-ipns-publish", - "description": "An example demonstrating publishing to IPNS in the browser", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } + "description": "An example demonstrating publishing to IPNS in the browser", + "keywords": [ + "IPNS", + "Publish" + ], + "repository": { + "type": "git", + "url": "https://github.com/ipfs/js-ipfs/examples" }, + "license": "MIT", + "author": "Doug Anderson", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,12 +21,11 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "Doug Anderson", - "license": "MIT", + "browserslist": "last 1 Chrome version", "dependencies": { "human-crypto-keys": "^0.1.4", - "ipfs": "^0.55.4", - "ipfs-http-client": "^50.1.2", + "ipfs": "^0.56.0", + "ipfs-http-client": "^51.0.0", "ipfs-utils": "^8.1.4", "ipns": "^0.13.2", "it-last": "^1.0.4", @@ -33,21 +33,14 @@ "uint8arrays": "^2.1.6" }, "devDependencies": { + "@babel/core": "^7.14.8", + "@playwright/test": "^1.12.3", "delay": "^5.0.0", "execa": "^5.0.0", - "ipfsd-ctl": "^9.0.0", "go-ipfs": "0.8.0", + "ipfsd-ctl": "^9.0.0", "parcel": "latest", - "rimraf": "^3.0.2", - "@playwright/test": "^1.12.3", - "playwright": "^1.12.3" - }, - "repository": { - "type": "git", - "url": "https://github.com/ipfs/js-ipfs/examples" - }, - "keywords": [ - "IPNS", - "Publish" - ] + "playwright": "^1.12.3", + "rimraf": "^3.0.2" + } } diff --git a/examples/browser-mfs/package.json b/examples/browser-mfs/package.json index 0d7a94ad..bd6237cc 100644 --- a/examples/browser-mfs/package.json +++ b/examples/browser-mfs/package.json @@ -1,18 +1,11 @@ { "name": "example-browser-mfs", - "description": "How to use ipfs MFS in the browser", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "How to use ipfs MFS in the browser", + "license": "ISC", + "author": "", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,17 +13,17 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "", - "license": "ISC", + "browserslist": "last 1 Chrome version", + "dependencies": { + "ipfs": "^0.56.0", + "mime-sniffer": "~0.0.3" + }, "devDependencies": { + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", "rimraf": "^3.0.2", - "parcel": "latest", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "ipfs": "^0.55.4", - "mime-sniffer": "~0.0.3" } } diff --git a/examples/browser-nextjs/package.json b/examples/browser-nextjs/package.json index 5cb593b7..f229bd16 100644 --- a/examples/browser-nextjs/package.json +++ b/examples/browser-nextjs/package.json @@ -12,7 +12,7 @@ "test:example": "npm run build && playwright test tests" }, "dependencies": { - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "next": "11.0.1", "react": "17.0.2", "react-dom": "17.0.2" @@ -20,7 +20,7 @@ "devDependencies": { "eslint": "7.30.0", "eslint-config-next": "11.0.1", - "test-util-ipfs-example": "^1.0.0", - "rimraf": "^3.0.2" + "rimraf": "^3.0.2", + "test-util-ipfs-example": "^1.0.0" } } diff --git a/examples/browser-parceljs/package.json b/examples/browser-parceljs/package.json index cfb8b1b4..f55b86fc 100644 --- a/examples/browser-parceljs/package.json +++ b/examples/browser-parceljs/package.json @@ -1,18 +1,12 @@ { "name": "example-browser-parceljs", - "description": "Bundle js-ipfs with ParcelJS", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "Bundle js-ipfs with ParcelJS", + "keywords": [], + "license": "ISC", + "author": "", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,17 +14,16 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "keywords": [], - "author": "", - "license": "ISC", + "browserslist": "last 1 Chrome version", "dependencies": { - "ipfs": "^0.55.4" + "ipfs": "^0.56.0" }, "devDependencies": { - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/browser-readablestream/package.json b/examples/browser-readablestream/package.json index c2c8ab8f..5ee0859e 100644 --- a/examples/browser-readablestream/package.json +++ b/examples/browser-readablestream/package.json @@ -1,18 +1,11 @@ { "name": "example-browser-readablestream", - "description": "An example of how to play a video in a browser using a readable stream", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "An example of how to play a video in a browser using a readable stream", + "license": "ISC", + "author": "", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,17 +13,18 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "", - "license": "ISC", + "browserslist": "last 1 Chrome version", + "dependencies": { + "ipfs": "^0.56.0", + "it-to-stream": "^1.0.0", + "videostream": "^3.2.0" + }, "devDependencies": { - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "it-to-stream": "^1.0.0", - "videostream": "^3.2.0" } } diff --git a/examples/browser-script-tag/package.json b/examples/browser-script-tag/package.json index 1e184314..a56dccd9 100644 --- a/examples/browser-script-tag/package.json +++ b/examples/browser-script-tag/package.json @@ -1,18 +1,11 @@ { "name": "example-browser-script-tag", - "description": "Using IPFS in the browser via a script tag", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "Using IPFS in the browser via a script tag", + "keywords": [], + "license": "MIT", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,13 +13,13 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "keywords": [], - "license": "MIT", + "browserslist": "last 1 Chrome version", "devDependencies": { - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/browser-service-worker/package.json b/examples/browser-service-worker/package.json index 05fd9289..b7e73bcb 100644 --- a/examples/browser-service-worker/package.json +++ b/examples/browser-service-worker/package.json @@ -1,16 +1,23 @@ { "name": "example-browser-service-worker", - "description": "IPFS with service worker", "version": "1.0.0", "private": true, + "description": "IPFS with service worker", + "keywords": [], + "license": "MIT", "scripts": { "clean": "rm -rf ./dist", "build": "webpack", "start": "webpack-dev-server", "test": "test-ipfs-example" }, - "license": "MIT", - "keywords": [], + "dependencies": { + "ipfs": "^0.56.0", + "ipfs-message-port-client": "^0.7.0", + "ipfs-message-port-protocol": "^0.8.0", + "ipfs-message-port-server": "^0.8.0", + "process": "0.11.10" + }, "devDependencies": { "@babel/core": "^7.13.10", "@babel/preset-env": "^7.13.12", @@ -20,12 +27,5 @@ "webpack": "^5.28.0", "webpack-cli": "^4.5.0", "webpack-dev-server": "^3.11.2" - }, - "dependencies": { - "ipfs": "^0.55.4", - "ipfs-message-port-client": "^0.6.4", - "ipfs-message-port-protocol": "^0.7.3", - "ipfs-message-port-server": "^0.7.3", - "process": "0.11.10" } } diff --git a/examples/browser-sharing-node-across-tabs/package.json b/examples/browser-sharing-node-across-tabs/package.json index 208c8ed2..68bd0311 100644 --- a/examples/browser-sharing-node-across-tabs/package.json +++ b/examples/browser-sharing-node-across-tabs/package.json @@ -1,18 +1,11 @@ { "name": "example-browser-sharing-node-across-tabs", - "description": "Sharing IPFS node across browsing contexts", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "Sharing IPFS node across browsing contexts", + "keywords": [], + "license": "MIT", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,18 +13,18 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "license": "MIT", - "keywords": [], + "browserslist": "last 1 Chrome version", + "dependencies": { + "ipfs": "^0.56.0", + "ipfs-message-port-client": "^0.7.0", + "ipfs-message-port-server": "^0.8.0" + }, "devDependencies": { - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "ipfs": "^0.55.4", - "ipfs-message-port-client": "^0.6.4", - "ipfs-message-port-server": "^0.7.3" } } diff --git a/examples/browser-video-streaming/package.json b/examples/browser-video-streaming/package.json index e4fe04e6..be31c22c 100644 --- a/examples/browser-video-streaming/package.json +++ b/examples/browser-video-streaming/package.json @@ -1,18 +1,11 @@ { "name": "example-browser-video-streaming", - "description": "IPFS browser video streaming example", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "IPFS browser video streaming example", + "keywords": [], + "license": "MIT", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,16 +13,16 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests --browser=webkit" }, - "keywords": [], - "license": "MIT", + "browserslist": "last 1 Chrome version", + "dependencies": { + "ipfs": "^0.56.0" + }, "devDependencies": { - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "ipfs": "^0.55.4" } } diff --git a/examples/browser-vue/package.json b/examples/browser-vue/package.json index 644de5f1..c8fcee38 100644 --- a/examples/browser-vue/package.json +++ b/examples/browser-vue/package.json @@ -1,8 +1,8 @@ { "name": "example-browser-vue-up", - "description": "A minimal demonstration of how to use js-ipfs using vue cli", "version": "1.0.0", "private": true, + "description": "A minimal demonstration of how to use js-ipfs using vue cli", "scripts": { "clean": "rimraf ./dist", "serve": "vue-cli-service serve", @@ -11,12 +11,32 @@ "lint": "vue-cli-service lint", "test:example": "npm run build && playwright test tests" }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not dead" + ], + "eslintConfig": { + "env": { + "node": true + }, + "parserOptions": { + "parser": "babel-eslint" + }, + "extends": [ + "plugin:vue/vue3-essential", + "eslint:recommended" + ], + "rules": {}, + "root": true + }, "dependencies": { "core-js": "^3.6.5", - "vue": "^3.0.0", - "ipfs": "^0.55.4" + "ipfs": "^0.56.0", + "vue": "^3.0.0" }, "devDependencies": { + "@playwright/test": "^1.12.3", "@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-eslint": "~4.5.0", "@vue/cli-service": "~4.5.0", @@ -24,28 +44,8 @@ "babel-eslint": "^10.1.0", "eslint": "^6.7.2", "eslint-plugin-vue": "^7.0.0", - "rimraf": "^3.0.2", - "@playwright/test": "^1.12.3", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "eslintConfig": { - "root": true, - "env": { - "node": true - }, - "extends": [ - "plugin:vue/vue3-essential", - "eslint:recommended" - ], - "parserOptions": { - "parser": "babel-eslint" - }, - "rules": {} - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ] + } } diff --git a/examples/browser-webpack/package.json b/examples/browser-webpack/package.json index 997ab145..35595e8c 100644 --- a/examples/browser-webpack/package.json +++ b/examples/browser-webpack/package.json @@ -1,8 +1,10 @@ { "name": "example-browser-webpack", - "description": "Bundle js-ipfs with Webpack", "version": "1.0.0", "private": true, + "description": "Bundle js-ipfs with Webpack", + "keywords": [], + "license": "MIT", "scripts": { "clean": "rimraf ./dist", "build": "webpack --env production", @@ -10,8 +12,14 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "license": "MIT", - "keywords": [], + "browserslist": [ + "last 1 Chrome version" + ], + "dependencies": { + "ipfs": "^0.56.0", + "react": "^17.0.2", + "react-dom": "^17.0.2" + }, "devDependencies": { "@babel/core": "^7.13.10", "@babel/preset-env": "^7.13.12", @@ -24,18 +32,10 @@ "react-hot-loader": "^4.12.21", "rimraf": "^3.0.2", "style-loader": "^3.1.0", + "test-util-ipfs-example": "^1.0.2", "webpack": "^5.45.1", "webpack-cli": "^4.7.2", "webpack-dev-server": "^3.11.2", - "webpack-merge": "^5.8.0", - "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "ipfs": "^0.55.4", - "react": "^17.0.2", - "react-dom": "^17.0.2" - }, - "browserslist": [ - "last 1 Chrome version" - ] + "webpack-merge": "^5.8.0" + } } diff --git a/examples/circuit-relaying/package.json b/examples/circuit-relaying/package.json index b597fc18..2e900b01 100644 --- a/examples/circuit-relaying/package.json +++ b/examples/circuit-relaying/package.json @@ -1,18 +1,11 @@ { "name": "example-circuit-relaying", - "description": "IPFS quick msg", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "IPFS quick msg", + "license": "MIT", + "author": "Dmitriy Ryajov ", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "deploy": "ipfs add -r --quieter dist", @@ -21,26 +14,23 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "Dmitriy Ryajov ", - "license": "MIT", + "browserslist": "last 1 Chrome version", "dependencies": { "delay": "^5.0.0", - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "ipfs-css": "^1.3.0", "ipfs-pubsub-room": "^2.0.1", "libp2p-websockets": "^0.16.1", "uint8arrays": "^2.1.6" }, "devDependencies": { + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", "fs-extra": "^0.30.0", - "ipfs-http-client": "^50.1.2", + "ipfs-http-client": "^51.0.0", "parcel": "latest", "playwright": "^1.12.3", "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" - }, - "browserslist": [ - "last 2 versions and not dead and > 2%" - ] + } } diff --git a/examples/custom-ipfs-repo/package.json b/examples/custom-ipfs-repo/package.json index 9008ac9b..e96b31ed 100644 --- a/examples/custom-ipfs-repo/package.json +++ b/examples/custom-ipfs-repo/package.json @@ -1,23 +1,23 @@ { "name": "example-custom-ipfs-repo", - "description": "Customizing your ipfs repo", "version": "1.0.0", - "main": "index.js", "private": true, + "description": "Customizing your ipfs repo", + "license": "MIT", + "main": "index.js", "scripts": { "clean": "echo 'Nothing to clean...'", "start": "node index.js", "serve": "npm run start", "test:example": "node tests/test.js" }, - "license": "MIT", "dependencies": { "@ipld/dag-cbor": "^6.0.5", "@ipld/dag-pb": "^2.1.3", "blockstore-datastore-adapter": "^1.0.0", - "datastore-fs": "^5.0.1", - "ipfs": "^0.55.4", - "ipfs-repo": "^11.0.0", + "datastore-fs": "^5.0.2", + "ipfs": "^0.56.0", + "ipfs-repo": "^11.0.1", "it-all": "^1.0.4", "multiformats": "^9.4.1" }, diff --git a/examples/custom-ipld-formats/package.json b/examples/custom-ipld-formats/package.json index 059250b1..e51c16a1 100644 --- a/examples/custom-ipld-formats/package.json +++ b/examples/custom-ipld-formats/package.json @@ -2,22 +2,22 @@ "name": "skipped-example-custom-ipld-formats", "version": "1.0.0", "private": true, + "license": "MIT", "scripts": { "clean": "echo 'Nothing to clean...'", "start": "node in-process-node.js & node daemon-node.js", "serve": "npm run start", "test:example": "node tests/test.js" }, - "license": "MIT", - "devDependencies": { - "test-util-ipfs-example": "^1.0.2" - }, "dependencies": { "dag-jose": "^1.0.0", - "ipfs-daemon": "^0.7.2", - "ipfs-core": "^0.8.0", - "ipfs-http-client": "^50.1.2", + "ipfs-core": "^0.9.0", + "ipfs-daemon": "^0.8.0", + "ipfs-http-client": "^51.0.0", "multiformats": "^9.4.1", "uint8arrays": "^2.1.6" + }, + "devDependencies": { + "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/custom-libp2p/package.json b/examples/custom-libp2p/package.json index f85cd85f..c3ce933a 100644 --- a/examples/custom-libp2p/package.json +++ b/examples/custom-libp2p/package.json @@ -1,18 +1,18 @@ { "name": "example-custom-libp2p", - "description": "Customizing your libp2p node", "version": "1.0.0", - "main": "index.js", "private": true, + "description": "Customizing your libp2p node", + "license": "MIT", + "main": "index.js", "scripts": { "clean": "echo 'Nothing to clean...'", "start": "node index.js", "serve": "npm run start", "test:example": "node tests/test.js" }, - "license": "MIT", "dependencies": { - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "libp2p": "^0.32.0", "libp2p-bootstrap": "^0.12.3", "libp2p-kad-dht": "^0.23.1", diff --git a/examples/http-client-browser-pubsub/package.json b/examples/http-client-browser-pubsub/package.json index 6a390674..25a1ab16 100644 --- a/examples/http-client-browser-pubsub/package.json +++ b/examples/http-client-browser-pubsub/package.json @@ -1,18 +1,11 @@ { "name": "example-http-client-browser-pubsub-example", - "description": "An example demonstrating pubsub in the browser", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "An example demonstrating pubsub in the browser", + "license": "MIT", + "author": "Alan Shaw", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,18 +13,18 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "Alan Shaw", - "license": "MIT", + "browserslist": "last 1 Chrome version", "dependencies": { - "ipfs-http-client": "^50.1.2" + "ipfs-http-client": "^51.0.0" }, "devDependencies": { + "@babel/core": "^7.14.8", + "@playwright/test": "^1.12.3", "go-ipfs": "0.8.0", - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "parcel": "latest", - "rimraf": "^3.0.2", - "@playwright/test": "^1.12.3", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/http-client-bundle-webpack/package.json b/examples/http-client-bundle-webpack/package.json index a59924b4..aacf51a6 100644 --- a/examples/http-client-bundle-webpack/package.json +++ b/examples/http-client-bundle-webpack/package.json @@ -1,8 +1,11 @@ { "name": "example-http-client-bundle-webpack", "version": "1.0.0", - "description": "Bundle js-ipfs-http-client with Webpack", "private": true, + "description": "Bundle js-ipfs-http-client with Webpack", + "keywords": [], + "license": "MIT", + "author": "Victor Bjelkholm ", "scripts": { "clean": "rimraf ./dist", "build": "webpack --env production", @@ -10,11 +13,11 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "Victor Bjelkholm ", - "license": "MIT", - "keywords": [], + "browserslist": [ + "last 1 Chrome version" + ], "dependencies": { - "ipfs-http-client": "^50.1.2", + "ipfs-http-client": "^51.0.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, @@ -25,18 +28,15 @@ "babel-loader": "^8.2.2", "copy-webpack-plugin": "^8.1.0", "css-loader": "^6.2.0", + "html-webpack-plugin": "^5.3.1", + "ipfs": "^0.56.0", "node-polyfill-webpack-plugin": "^1.0.3", - "ipfs": "^0.55.4", "react-hot-loader": "^4.12.21", "rimraf": "^3.0.2", "style-loader": "^3.1.0", + "test-util-ipfs-example": "^1.0.2", "webpack": "^5.28.0", "webpack-cli": "^4.5.0", - "html-webpack-plugin": "^5.3.1", - "webpack-merge": "^5.8.0", - "test-util-ipfs-example": "^1.0.2" - }, - "browserslist": [ - "last 1 Chrome version" - ] + "webpack-merge": "^5.8.0" + } } diff --git a/examples/http-client-name-api/package.json b/examples/http-client-name-api/package.json index 50039f6a..bc1f73c2 100644 --- a/examples/http-client-name-api/package.json +++ b/examples/http-client-name-api/package.json @@ -1,18 +1,11 @@ { "name": "example-http-client-name-api", - "description": "", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "", + "license": "MIT", + "author": "Tara Vancil ", + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,18 +13,18 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "Tara Vancil ", - "license": "MIT", + "browserslist": "last 1 Chrome version", "dependencies": { - "ipfs-http-client": "^50.1.2" + "ipfs-http-client": "^51.0.0" }, "devDependencies": { + "@babel/core": "^7.14.8", + "@playwright/test": "^1.12.3", "go-ipfs": "0.8.0", - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "parcel": "latest", - "rimraf": "^3.0.2", - "@playwright/test": "^1.12.3", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/http-client-upload-file/package.json b/examples/http-client-upload-file/package.json index 33b0631d..3936386e 100644 --- a/examples/http-client-upload-file/package.json +++ b/examples/http-client-upload-file/package.json @@ -1,18 +1,14 @@ { "name": "example-http-client-upload-file", - "description": "Upload file to IPFS via browser using js-ipfs-http-client", "version": "1.0.0", - "main": "dist/index.html", "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, + "description": "Upload file to IPFS via browser using js-ipfs-http-client", + "license": "MIT", + "author": "Harlan T Wood ", + "contributors": [ + "Victor Bjelkholm " + ], + "main": "dist/index.html", "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,22 +16,19 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, - "author": "Harlan T Wood ", - "contributors": [ - "Victor Bjelkholm " - ], - "license": "MIT", + "browserslist": "last 1 Chrome version", "dependencies": { - "ipfs-http-client": "^50.1.2", + "ipfs-http-client": "^51.0.0", "react": "^17.0.2", "react-dom": "^17.0.2" }, "devDependencies": { + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", - "playwright": "^1.12.3", + "ipfs": "^0.56.0", "parcel": "latest", + "playwright": "^1.12.3", "rimraf": "^3.0.2", - "ipfs": "^0.55.4", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/ipfs-101/package.json b/examples/ipfs-101/package.json index 81f6c79d..f23af356 100644 --- a/examples/ipfs-101/package.json +++ b/examples/ipfs-101/package.json @@ -1,19 +1,19 @@ { "name": "example-ipfs-101", - "description": "this package.json needs to exist because of new npm config https://github.com/ipfs/js-ipfs/issues/977#issuecomment-326741092", "version": "1.0.0", - "main": "1.js", "private": true, + "description": "this package.json needs to exist because of new npm config https://github.com/ipfs/js-ipfs/issues/977#issuecomment-326741092", + "license": "MIT", + "author": "David Dias ", + "main": "1.js", "scripts": { "clean": "echo 'Nothing to clean...'", "start": "node index.js", "serve": "npm run start", "test:example": "node tests/test.js" }, - "author": "David Dias ", - "license": "MIT", "dependencies": { - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "it-all": "^1.0.4", "uint8arrays": "^2.1.6" }, diff --git a/examples/ipfs-client-add-files/package.json b/examples/ipfs-client-add-files/package.json index da844141..4b401dbf 100644 --- a/examples/ipfs-client-add-files/package.json +++ b/examples/ipfs-client-add-files/package.json @@ -1,18 +1,9 @@ { "name": "example-ipfs-client-add-files", "version": "1.0.0", + "private": true, "description": "", "main": "dist/index.html", - "private": true, - "targets": { - "main": { - "engines": { - "browsers": [ - "last 1 Chrome version" - ] - } - } - }, "scripts": { "clean": "rimraf ./dist ./.cache ./.parcel-cache", "build": "parcel build index.html --no-scope-hoist", @@ -20,15 +11,17 @@ "start": "npm run serve", "test:example": "npm run build && playwright test tests" }, + "browserslist": "last 1 Chrome version", "dependencies": { - "ipfs-client": "^0.4.3" + "ipfs-client": "^0.5.0" }, "devDependencies": { - "ipfs": "^0.55.4", - "parcel": "latest", - "rimraf": "^3.0.2", + "@babel/core": "^7.14.8", "@playwright/test": "^1.12.3", + "ipfs": "^0.56.0", + "parcel": "latest", "playwright": "^1.12.3", + "rimraf": "^3.0.2", "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/run-in-electron/package.json b/examples/run-in-electron/package.json index f54f19f4..988b8c04 100644 --- a/examples/run-in-electron/package.json +++ b/examples/run-in-electron/package.json @@ -1,26 +1,26 @@ { "name": "example-js-ipfs-in-electron", - "description": "A minimal Electron application with js-ipfs", "version": "1.0.0", - "main": "main.js", "private": true, - "scripts": { - "clean": "echo 'Nothing to clean...'", - "start": "electron .", - "serve": "npm run start", - "test:example": "node tests/test.js" - }, + "description": "A minimal Electron application with js-ipfs", "keywords": [ "Electron", "IPFS", "Example" ], - "author": "David Dias ", "license": "MIT", + "author": "David Dias ", + "main": "main.js", + "scripts": { + "clean": "echo 'Nothing to clean...'", + "start": "electron .", + "serve": "npm run start", + "test:example": "node tests/test.js" + }, "devDependencies": { "electron": "^12.0.2", "electron-rebuild": "^2.3.4", - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "test-util-ipfs-example": "^1.0.2" }, "greenkeeper": { diff --git a/examples/running-multiple-nodes/package.json b/examples/running-multiple-nodes/package.json index 7bdbcb95..fea3a581 100644 --- a/examples/running-multiple-nodes/package.json +++ b/examples/running-multiple-nodes/package.json @@ -1,22 +1,22 @@ { "name": "example-running-multiple-nodes", - "description": "How to run multiple IPFS nodes at the same time", "version": "2.0.1", - "main": "index.js", "private": true, + "description": "How to run multiple IPFS nodes at the same time", + "keywords": [], + "license": "MIT", + "main": "index.js", "scripts": { "clean": "echo 'Nothing to clean...'", "start": "npm run test:example", "serve": "npm run start", "test:example": "node tests/test.js" }, - "keywords": [], - "license": "MIT", + "dependencies": { + "ipfs": "^0.56.0" + }, "devDependencies": { "nanoid": "^3.1.23", "test-util-ipfs-example": "^1.0.2" - }, - "dependencies": { - "ipfs": "^0.55.4" } } diff --git a/examples/traverse-ipld-graphs/package.json b/examples/traverse-ipld-graphs/package.json index 34adf965..0d8cbc95 100644 --- a/examples/traverse-ipld-graphs/package.json +++ b/examples/traverse-ipld-graphs/package.json @@ -1,25 +1,25 @@ { "name": "example-traverse-ipld-graphs", - "description": "How to traverse IPLD graphs", "version": "2.0.1", - "main": "index.js", "private": true, + "description": "How to traverse IPLD graphs", + "keywords": [], + "license": "MIT", + "main": "index.js", "scripts": { "clean": "echo 'Nothing to clean...'", "start": "npm run test:example", "serve": "npm run start", "test:example": "node tests/test.js" }, - "keywords": [], - "license": "MIT", - "devDependencies": { - "test-util-ipfs-example": "^1.0.2" - }, "dependencies": { "@ipld/dag-pb": "^2.1.3", - "ipfs": "^0.55.4", - "ipld-git": "^0.6.1", + "ipfs": "^0.56.0", "ipld-ethereum": "^6.0.0", + "ipld-git": "^0.6.1", "multiformats": "^9.4.1" + }, + "devDependencies": { + "test-util-ipfs-example": "^1.0.2" } } diff --git a/examples/types-use-ipfs-from-ts/package.json b/examples/types-use-ipfs-from-ts/package.json index f48ae7bc..2db81f84 100644 --- a/examples/types-use-ipfs-from-ts/package.json +++ b/examples/types-use-ipfs-from-ts/package.json @@ -1,17 +1,17 @@ { "name": "example-types-use-ipfs-from-ts", - "description": "Template for using js-ipfs in typescript project", "version": "1.0.0", "private": true, + "description": "Template for using js-ipfs in typescript project", + "scripts": { + "clean": "echo 'Nothing to clean...'", + "test": "tsc --noEmit" + }, "dependencies": { - "ipfs": "^0.55.4", + "ipfs": "^0.56.0", "multiformats": "^9.4.1" }, "devDependencies": { "typescript": "4.2.x" - }, - "scripts": { - "clean": "echo 'Nothing to clean...'", - "test": "tsc --noEmit" } } diff --git a/examples/types-use-ipfs-from-typed-js/package.json b/examples/types-use-ipfs-from-typed-js/package.json index ce9a161c..2692d967 100644 --- a/examples/types-use-ipfs-from-typed-js/package.json +++ b/examples/types-use-ipfs-from-typed-js/package.json @@ -1,17 +1,17 @@ { "name": "example-types-use-ipfs-from-typed-js", - "description": "Template for setting up a project with JSDoc", "version": "1.0.0", "private": true, - "dependencies": { - "ipfs": "^0.55.4" - }, - "devDependencies": { - "typescript": "4.2.x", - "multiformats": "^9.4.1" - }, + "description": "Template for setting up a project with JSDoc", "scripts": { "clean": "echo 'Nothing to clean...'", "test": "tsc --noEmit" + }, + "dependencies": { + "ipfs": "^0.56.0" + }, + "devDependencies": { + "multiformats": "^9.4.1", + "typescript": "4.2.x" } } diff --git a/lib/test-util-ipfs-example/package.json b/lib/test-util-ipfs-example/package.json index 497fce7a..e4f8d563 100644 --- a/lib/test-util-ipfs-example/package.json +++ b/lib/test-util-ipfs-example/package.json @@ -2,16 +2,25 @@ "name": "test-util-ipfs-example", "version": "1.0.2", "description": "Utilities to test ipfs examples", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "node server.js" - }, "keywords": [ "test", "examples", "ipfs" ], + "bugs": { + "url": "https://github.com/ipfs-examples/js-ipfs-examples/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/ipfs-examples/js-ipfs-examples.git" + }, + "license": "MIT", + "author": "Oliverio Sousa", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "node server.js" + }, "dependencies": { "execa": "^5.1.1", "fs-extra": "^9.1.0", @@ -21,14 +30,5 @@ "stoppable": "^1.1.0", "uint8arrays": "^2.1.7", "which": "^2.0.2" - }, - "author": "Oliverio Sousa", - "license": "MIT", - "repository": { - "type": "git", - "url": "git+https://github.com/ipfs-examples/js-ipfs-examples.git" - }, - "bugs": { - "url": "https://github.com/ipfs-examples/js-ipfs-examples/issues" } } diff --git a/package.json b/package.json index 661c7552..2c2aa140 100644 --- a/package.json +++ b/package.json @@ -1,33 +1,33 @@ { "name": "js-ipfs-examples", - "description": "Collection of opinionated and real-world examples of how you can use js-ipfs to build things", "version": "1.0.0", "private": "true", - "scripts": { - "init": "yarn install", - "clean": "yarn workspaces run clean && npm run clean:yarn && npm run clean:build && npm run clean:npm", - "clean:npm": "rimraf ./**/package-lock.json ./**/node_modules", - "clean:yarn": "rimraf ./**/yarn.lock", - "clean:build": "rimraf ./**/.parcel-cache", - "test:examples": "yarn workspaces run test:example" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/ipfs-examples/js-ipfs-examples.git" - }, + "description": "Collection of opinionated and real-world examples of how you can use js-ipfs to build things", "keywords": [ "examples", "js-ipfs" ], - "license": "MIT", + "homepage": "https://github.com/ipfs-examples/js-ipfs-examples#readme", "bugs": { "url": "https://github.com/ipfs-examples/js-ipfs-examples/issues" }, - "homepage": "https://github.com/ipfs-examples/js-ipfs-examples#readme", - "devDependencies": { - "rimraf": "^3.0.2" + "repository": { + "type": "git", + "url": "git+https://github.com/ipfs-examples/js-ipfs-examples.git" }, + "license": "MIT", "workspaces": [ "./examples/*" - ] + ], + "scripts": { + "init": "yarn install", + "clean": "yarn workspaces run clean && npm run clean:yarn && npm run clean:build && npm run clean:npm", + "clean:npm": "rimraf ./**/package-lock.json ./**/node_modules", + "clean:yarn": "rimraf ./**/yarn.lock", + "clean:build": "rimraf ./**/.parcel-cache", + "test:examples": "yarn workspaces run test:example" + }, + "devDependencies": { + "rimraf": "^3.0.2" + } }