diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d10c713657e..ce2ab286015 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,14 @@ jobs: - name: Get the output response run: echo "${{ steps.lint-git-repo.outputs.lint-git-repo-response }}" + check-package-json: + runs-on: ubuntu-20.04 + name: check-package-json + continue-on-error: false + steps: + - name: checks if the root package json and their child package json files are sorted + run: yarn run sort-json-check + build-node-14: runs-on: ubuntu-20.04 continue-on-error: false diff --git a/examples/cactus-example-carbon-accounting-backend/package.json b/examples/cactus-example-carbon-accounting-backend/package.json index f1dd2d4dcd4..0b991eadfb7 100644 --- a/examples/cactus-example-carbon-accounting-backend/package.json +++ b/examples/cactus-example-carbon-accounting-backend/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-example-carbon-accounting-backend", "version": "1.0.0-rc.2", "description": "An example application showing how to use Cactus when implementing a Carbon Accounting Application where two or more blockchains are sharing data with each other to achieve a certain business outcome beneficial to multiple parties (business organizations).", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-example-carbon-accounting-backend.node.umd.min.js", - "browser": "dist/cactus-example-carbon-accounting-backend.web.umd.js", - "browserMinified": "dist/cactus-example-carbon-accounting-backend.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "start": "CONFIG_FILE=./example-config.json node dist/lib/main/typescript/carbon-accounting-app-cli.js", - "solidity": "hardhat compile", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "solidity": { - "patterns": [ - "./src/main/solidity/" - ], - "extensions": "sol" - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,22 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-example-carbon-accounting-backend.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "solidity": "hardhat compile", + "start": "CONFIG_FILE=./example-config.json node dist/lib/main/typescript/carbon-accounting-app-cli.js", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-api-client": "1.0.0-rc.2", "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", diff --git a/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json b/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json index 1bd597caa9f..b6e052c2dd9 100644 --- a/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json +++ b/examples/cactus-example-carbon-accounting-business-logic-plugin/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-example-carbon-accounting-business-logic-plugin", "version": "1.0.0-rc.2", "description": "An example business logic plugin implementation for Cactus", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-example-carbon-accounting-business-logic-plugin.node.umd.min.js", - "browser": "dist/cactus-example-carbon-accounting-business-logic-plugin.web.umd.js", - "browserMinified": "dist/cactus-example-carbon-accounting-business-logic-plugin.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-example-carbon-accounting-business-logic-plugin.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-api-client": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -88,5 +72,21 @@ "@types/express": "4.17.13", "@types/ssh2": "0.5.47", "@types/uuid": "8.3.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-example-carbon-accounting-business-logic-plugin.web.umd.min.js", + "mainMinified": "dist/cactus-example-carbon-accounting-business-logic-plugin.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/examples/cactus-example-carbon-accounting-frontend/package.json b/examples/cactus-example-carbon-accounting-frontend/package.json index b4f578d5fb4..d1ad3cbf93f 100644 --- a/examples/cactus-example-carbon-accounting-frontend/package.json +++ b/examples/cactus-example-carbon-accounting-frontend/package.json @@ -2,18 +2,50 @@ "name": "@hyperledger/cactus-example-carbon-accounting-frontend", "version": "1.0.0-rc.2", "description": "The frontend component of an example project demonstrating how Cactus can be used for cross-chain dapp development.", + "keywords": [ + "Hyperledger", + "Cactus", + "Blockchain Integration", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cactus" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" + }, + { + "name": "Peter Somogyvari", + "email": "peter.somogyvari@accenture.com", + "url": "https://accenture.com" + } + ], "files": [ "www/*" ], "scripts": { - "ng": "ng", - "start": "ng serve", "build": "ng build", - "serve": "ng serve", - "serve:proxy": "ng serve -- --proxy-config proxy.conf.json", "build:dev:frontend": "ng build", "build:prod:frontend": "ng build", - "prepublishOnly": "ng build" + "ng": "ng", + "prepublishOnly": "ng build", + "serve": "ng serve", + "serve:proxy": "ng serve -- --proxy-config proxy.conf.json", + "start": "ng serve" }, "dependencies": { "@angular/common": "12.2.0", @@ -62,43 +94,11 @@ "tslint": "6.1.3", "typescript": "4.3.5" }, - "publishConfig": { - "access": "public" - }, "engines": { "node": ">=10", "npm": ">=6" }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, - "keywords": [ - "Hyperledger", - "Cactus", - "Blockchain Integration", - "Distributed Ledger Technology" - ], - "author": { - "name": "Hyperledger Cactus Contributors", - "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" - }, - "contributors": [ - { - "name": "Please add yourself to the list of contributors", - "email": "your.name@example.com", - "url": "https://example.com" - }, - { - "name": "Peter Somogyvari", - "email": "peter.somogyvari@accenture.com", - "url": "https://accenture.com" - } - ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" - }, - "homepage": "https://github.com/hyperledger/cactus#readme" + "publishConfig": { + "access": "public" + } } diff --git a/examples/cactus-example-supply-chain-backend/package.json b/examples/cactus-example-supply-chain-backend/package.json index d94d614bd1e..e9506188940 100644 --- a/examples/cactus-example-supply-chain-backend/package.json +++ b/examples/cactus-example-supply-chain-backend/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-example-supply-chain-backend", "version": "1.0.0-rc.2", "description": "An example application showing how to use Cactus when implementing a supply chain application where two or more blockchains are sharing data with each other to achieve a certain business outcome beneficial to multiple parties (business organizations).", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-example-supply-chain-backend.node.umd.min.js", - "browser": "dist/cactus-example-supply-chain-backend.web.umd.js", - "browserMinified": "dist/cactus-example-supply-chain-backend.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-example-supply-chain-backend.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-api-client": "1.0.0-rc.2", "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", @@ -88,4 +78,4 @@ "@types/express": "4.17.13", "@types/uuid": "8.3.1" } -} \ No newline at end of file +} diff --git a/examples/cactus-example-supply-chain-business-logic-plugin/package.json b/examples/cactus-example-supply-chain-business-logic-plugin/package.json index c81095e61ce..370b70e83ff 100644 --- a/examples/cactus-example-supply-chain-business-logic-plugin/package.json +++ b/examples/cactus-example-supply-chain-business-logic-plugin/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-example-supply-chain-business-logic-plugin", "version": "1.0.0-rc.2", "description": "An example business logic plugin implementation for Cactus", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-example-supply-chain-business-logic-plugin.node.umd.min.js", - "browser": "dist/cactus-example-supply-chain-business-logic-plugin.web.umd.js", - "browserMinified": "dist/cactus-example-supply-chain-business-logic-plugin.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-example-supply-chain-business-logic-plugin.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-api-client": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -89,5 +73,21 @@ "@types/express": "4.17.13", "@types/ssh2": "0.5.47", "@types/uuid": "8.3.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-example-supply-chain-business-logic-plugin.web.umd.min.js", + "mainMinified": "dist/cactus-example-supply-chain-business-logic-plugin.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/examples/cactus-example-supply-chain-frontend/package.json b/examples/cactus-example-supply-chain-frontend/package.json index 555b4fb5f71..5797b979049 100644 --- a/examples/cactus-example-supply-chain-frontend/package.json +++ b/examples/cactus-example-supply-chain-frontend/package.json @@ -2,18 +2,50 @@ "name": "@hyperledger/cactus-example-supply-chain-frontend", "version": "1.0.0-rc.2", "description": "The frontend component of an example project demonstrating how Cactus can be used for cross-chain dapp development.", + "keywords": [ + "Hyperledger", + "Cactus", + "Blockchain Integration", + "Distributed Ledger Technology" + ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", + "author": { + "name": "Hyperledger Cactus Contributors", + "email": "cactus@lists.hyperledger.org", + "url": "https://www.hyperledger.org/use/cactus" + }, + "contributors": [ + { + "name": "Please add yourself to the list of contributors", + "email": "your.name@example.com", + "url": "https://example.com" + }, + { + "name": "Peter Somogyvari", + "email": "peter.somogyvari@accenture.com", + "url": "https://accenture.com" + } + ], "files": [ "www/*" ], "scripts": { - "ng": "ng", - "start": "ng serve", "build": "ng build --verbose", - "serve": "ng serve", - "serve:proxy": "ng serve -- --proxy-config proxy.conf.json", "build:dev:frontend": "ng build", "build:prod:frontend": "ng build", - "prepublishOnly": "ng build" + "ng": "ng", + "prepublishOnly": "ng build", + "serve": "ng serve", + "serve:proxy": "ng serve -- --proxy-config proxy.conf.json", + "start": "ng serve" }, "dependencies": { "@angular/common": "12.2.0", @@ -61,43 +93,11 @@ "tslint": "6.1.3", "typescript": "4.3.5" }, - "publishConfig": { - "access": "public" - }, "engines": { "node": ">=10", "npm": ">=6" }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, - "keywords": [ - "Hyperledger", - "Cactus", - "Blockchain Integration", - "Distributed Ledger Technology" - ], - "author": { - "name": "Hyperledger Cactus Contributors", - "email": "cactus@lists.hyperledger.org", - "url": "https://www.hyperledger.org/use/cactus" - }, - "contributors": [ - { - "name": "Please add yourself to the list of contributors", - "email": "your.name@example.com", - "url": "https://example.com" - }, - { - "name": "Peter Somogyvari", - "email": "peter.somogyvari@accenture.com", - "url": "https://accenture.com" - } - ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" - }, - "homepage": "https://github.com/hyperledger/cactus#readme" + "publishConfig": { + "access": "public" + } } diff --git a/extensions/cactus-plugin-htlc-coordinator-besu/package.json b/extensions/cactus-plugin-htlc-coordinator-besu/package.json index 9f7bb8220f4..dd77bbe3428 100644 --- a/extensions/cactus-plugin-htlc-coordinator-besu/package.json +++ b/extensions/cactus-plugin-htlc-coordinator-besu/package.json @@ -2,46 +2,6 @@ "name": "@hyperledger/cactus-plugin-htlc-coordinator-besu", "version": "1.0.0-rc.2", "description": "HTLC Coordinator to exchange tokens between networks.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-htlc-coordinator-besu.node.umd.min.js", - "browser": "dist/cactus-plugin-htlc-coordinator-besu.web.umd.js", - "browserMinified": "dist/cactus-plugin-htlc-coordinator-besu.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/types/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "codegen:openapi": "run-p generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev webpack:prod", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", - "webpack:prod": "npm-run-all webpack:prod:node webpack:prod:web", - "webpack:prod:web": "webpack --env=prod --target=web --config ../../webpack.config.js", - "webpack:prod:node": "webpack --env=prod --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -49,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -66,11 +35,26 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-htlc-coordinator-besu.web.umd.js", + "types": "dist/types/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "run-p generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev webpack:prod", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", + "webpack:prod": "npm-run-all webpack:prod:node webpack:prod:web", + "webpack:prod:node": "webpack --env=prod --target=node --config ../../webpack.config.js", + "webpack:prod:web": "webpack --env=prod --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -92,5 +76,21 @@ "@hyperledger/cactus-test-tooling": "1.0.0-rc.2", "@types/express": "4.17.8", "socket.io": "4.1.3" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-htlc-coordinator-besu.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-htlc-coordinator-besu.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/extensions/cactus-plugin-object-store-ipfs/package.json b/extensions/cactus-plugin-object-store-ipfs/package.json index 98b53c8a569..279fbb80fbb 100644 --- a/extensions/cactus-plugin-object-store-ipfs/package.json +++ b/extensions/cactus-plugin-object-store-ipfs/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-object-store-ipfs", "version": "1.0.0-rc.2", "description": "IPFS backed objec store plugin implementation for Hyperledger Cactus", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-object-store-ipfs.node.umd.min.js", - "browser": "dist/cactus-plugin-object-store-ipfs.web.umd.js", - "browserMinified": "dist/cactus-plugin-object-store-ipfs.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-object-store-ipfs.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", diff --git a/package.json b/package.json index a0276e32292..05ac996b19d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@hyperledger/cactus", - "description": "Root project for Cactus which contains all core components and plugins developed by the project.", "private": true, + "description": "Root project for Cactus which contains all core components and plugins developed by the project.", "workspaces": { "packages": [ "packages/cactus-*", @@ -13,12 +13,14 @@ ] }, "scripts": { + "sort-json": "npx sort-package-json 'packages/*/package.json' 'package.json' 'examples/cactus-*/package.json' 'extensions/*/package.json' && yarn run sort-json-check", + "sort-json-check": "npx sort-package-json 'packages/*/package.json' 'package.json' 'examples/cactus-*/package.json' 'extensions/*/package.json' --check", "run-ci": "./tools/ci.sh", "reset:node-modules": "del-cli '**/node_modules'", "reset:git": "git clean -f -X", "reset:yarn-lock": "del-cli yarn.lock && yarn install --update-checksums --force", "reset": "run-s reset:git reset:node-modules reset:yarn-lock configure", - "configure": "yarn install --frozen-lockfile --non-interactive && yarn run build:dev:backend", + "configure": "yarn install --frozen-lockfile --non-interactive && yarn run build:dev:backend && yarn run sort-json", "install-yarn": "npm install --global yarn@1.18.0", "custom-checks": "TS_NODE_PROJECT=./tools/tsconfig.json node --trace-deprecation --experimental-modules --abort-on-uncaught-exception --loader ts-node/esm --experimental-specifier-resolution=node ./tools/custom-checks/run-custom-checks.ts", "tools:validate-bundle-names": "TS_NODE_PROJECT=./tools/tsconfig.json node --trace-deprecation --experimental-modules --abort-on-uncaught-exception --loader ts-node/esm --experimental-specifier-resolution=node ./tools/validate-bundle-names.js", @@ -56,11 +58,11 @@ "test:jest:all": "jest", "test:tap:all": "tap", "test:all": "yarn test:jest:all && yarn test:tap:all", + "posttest:all": "tap --no-check-coverage --coverage-report=lcov && codecov", "test:unit": "tap --ts --node-arg=--max-old-space-size=4096 --timeout=600 --no-check-coverage \"packages/cactus-*/src/test/typescript/unit/\"", "test:benchmark": "tap --ts --jobs=1 --no-timeout --no-check-coverage \"packages/cactus-*/src/test/typescript/benchmark/\"", "test:browser": "karma start karma.conf.js", "test:integration": "tap --ts --node-arg=--max-old-space-size=4096 --jobs=1 --timeout=3600 --no-check-coverage \"packages/cactus-*/src/test/typescript/integration/\"", - "posttest:all": "tap --no-check-coverage --coverage-report=lcov && codecov", "changelog": "conventional-changelog --infile CHANGELOG.md --outfile CHANGELOG.md && git add CHANGELOG.md", "commit": "git-cz --signoff", "prettier": "prettier --write --config .prettierrc.json \"./**/*.{ts,js}\"", diff --git a/packages/cactus-api-client/package.json b/packages/cactus-api-client/package.json index c2a85d68ba5..ac49c54a386 100644 --- a/packages/cactus-api-client/package.json +++ b/packages/cactus-api-client/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-api-client", "version": "1.0.0-rc.2", "description": "Universal library used by both front end and back end components of Cactus. Aims to be a developer swiss army knife.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-api-client.node.umd.min.js", - "browser": "dist/cactus-api-client.web.umd.js", - "browserMinified": "dist/cactus-api-client.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,15 +35,34 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-api-client.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", "@hyperledger/cactus-core-api": "1.0.0-rc.2", "@hyperledger/cactus-plugin-consortium-manual": "1.0.0-rc.2" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-api-client.web.umd.min.js", + "mainMinified": "dist/cactus-api-client.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-cmd-api-server/package.json b/packages/cactus-cmd-api-server/package.json index 0723dbb1b67..00e120289bd 100644 --- a/packages/cactus-cmd-api-server/package.json +++ b/packages/cactus-cmd-api-server/package.json @@ -2,46 +2,6 @@ "name": "@hyperledger/cactus-cmd-api-server", "version": "1.0.0-rc.2", "description": "API server that combines and exposes all the functionality of a Cactus deployment through a unified REST API interface.", - "files": [ - "dist/*" - ], - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-cmd-api-server.node.umd.min.js", - "browser": "dist/cactus-cmd-api-server.web.umd.js", - "browserMinified": "dist/cactus-cmd-api-server.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "proto:openapi": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --additional-properties=packageName=org.hyperledger.cactus.cmd_api_server -o ./src/main/proto/generated/openapi/ -t=./src/main/openapi-generator/templates/protobuf-schema/", - "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/ --proto_path ./src/main/proto/generated/openapi/ ./src/main/proto/generated/openapi/services/*.proto", - "codegen:proto": "run-s proto:openapi proto:protoc-gen-ts", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -49,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -66,11 +35,26 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-cmd-api-server.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "codegen:proto": "run-s proto:openapi proto:protoc-gen-ts", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "proto:openapi": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g protobuf-schema --model-name-suffix=PB --additional-properties=packageName=org.hyperledger.cactus.cmd_api_server -o ./src/main/proto/generated/openapi/ -t=./src/main/openapi-generator/templates/protobuf-schema/", + "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/ --proto_path ./src/main/proto/generated/openapi/ ./src/main/proto/generated/openapi/services/*.proto", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@grpc/grpc-js": "1.3.6", "@grpc/proto-loader": "0.6.4", @@ -126,5 +110,21 @@ "@types/xml2js": "0.4.9", "artillery": "1.7.2", "http-status-codes": "2.1.4" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-cmd-api-server.web.umd.min.js", + "mainMinified": "dist/cactus-cmd-api-server.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-common/package.json b/packages/cactus-common/package.json index 2a81223e744..1e35044f4ab 100644 --- a/packages/cactus-common/package.json +++ b/packages/cactus-common/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-common", "version": "1.0.0-rc.2", "description": "Universal library used by both front end and back end components of Cactus. Aims to be a developer swiss army knife.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-common.node.umd.min.js", - "browser": "dist/cactus-common.web.umd.js", - "browserMinified": "dist/cactus-common.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-common.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "json-stable-stringify": "1.0.1", "key-encoder": "2.0.3", @@ -72,5 +62,15 @@ "@types/secp256k1": "4.0.3", "@types/uuid": "8.3.1", "uuid": "8.3.2" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-common.web.umd.min.js", + "mainMinified": "dist/cactus-common.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-core-api/package.json b/packages/cactus-core-api/package.json index a000371275a..01ec363bbf4 100644 --- a/packages/cactus-core-api/package.json +++ b/packages/cactus-core-api/package.json @@ -2,46 +2,6 @@ "name": "@hyperledger/cactus-core-api", "version": "1.0.0-rc.2", "description": "Contains type definitions/interfaces for the kernel of the codebase. Kept separate from the implementation so that it is easier to use it as a dependency.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-core-api.node.umd.min.js", - "browser": "dist/cactus-core-api.web.umd.js", - "browserMinified": "dist/cactus-core-api.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "preproto:protoc-gen-ts": "make-dir ./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/", - "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/ --proto_path ./src/main/proto/weaver/common/protos/ ./src/main/proto/weaver/common/protos/common/*.proto ./src/main/proto/weaver/common/protos/corda/*.proto ./src/main/proto/weaver/common/protos/driver/*.proto ./src/main/proto/weaver/common/protos/networks/*.proto ./src/main/proto/weaver/common/protos/relay/*.proto", - "codegen:proto": "run-s proto:protoc-gen-ts", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -49,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -66,11 +35,30 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-core-api.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "codegen:proto": "run-s proto:protoc-gen-ts", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "preproto:protoc-gen-ts": "make-dir ./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/", + "proto:protoc-gen-ts": "yarn run grpc_tools_node_protoc --plugin=protoc-gen-ts=../../node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/ --proto_path ./src/main/proto/weaver/common/protos/ ./src/main/proto/weaver/common/protos/common/*.proto ./src/main/proto/weaver/common/protos/corda/*.proto ./src/main/proto/weaver/common/protos/driver/*.proto ./src/main/proto/weaver/common/protos/networks/*.proto ./src/main/proto/weaver/common/protos/relay/*.proto", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" + }, + "dependencies": { + "@hyperledger/cactus-common": "1.0.0-rc.2", + "axios": "0.21.4" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "devDependencies": { "@grpc/grpc-js": "1.3.6", "@grpc/proto-loader": "0.6.4", @@ -79,8 +67,20 @@ "socket.io": "4.1.3", "typescript-optional": "2.0.1" }, - "dependencies": { - "@hyperledger/cactus-common": "1.0.0-rc.2", - "axios": "0.21.4" + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-core-api.web.umd.min.js", + "mainMinified": "dist/cactus-core-api.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-core-api/src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/common/asset_transfer.ts b/packages/cactus-core-api/src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/common/asset_transfer.ts index 3f289071373..39265478cdd 100644 --- a/packages/cactus-core-api/src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/common/asset_transfer.ts +++ b/packages/cactus-core-api/src/main/typescript/generated/proto/protoc-gen-ts/weaver/common/protos/common/asset_transfer.ts @@ -243,6 +243,7 @@ export namespace common.asset_transfer { set expirationStatus(value: boolean) { pb_1.Message.setField(this, 7, value); } +<<<<<<< HEAD static fromObject(data: { assetDetails?: Uint8Array; localNetworkID?: string; @@ -276,6 +277,8 @@ export namespace common.asset_transfer { } return message; } +======= +>>>>>>> ci: ensure package json files are sorted toObject() { const data: { assetDetails?: Uint8Array; diff --git a/packages/cactus-core/package.json b/packages/cactus-core/package.json index 9977226c252..4d98945b830 100644 --- a/packages/cactus-core/package.json +++ b/packages/cactus-core/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-core", "version": "1.0.0-rc.2", "description": "Contains lower level abstractions/implementation that is to be shared by multiple other, higher level packages of the project.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-core.node.umd.min.js", - "browser": "dist/cactus-core.web.umd.js", - "browserMinified": "dist/cactus-core.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-core.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core-api": "1.0.0-rc.2", @@ -70,5 +60,15 @@ "devDependencies": { "@types/express": "4.17.13", "uuid": "8.3.2" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-core.web.umd.min.js", + "mainMinified": "dist/cactus-core.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-plugin-consortium-manual/package.json b/packages/cactus-plugin-consortium-manual/package.json index 867ad0cfb31..a4e9e923612 100644 --- a/packages/cactus-plugin-consortium-manual/package.json +++ b/packages/cactus-plugin-consortium-manual/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-consortium-manual", "version": "1.0.0-rc.2", "description": "A web service plugin that provides management capabilities on a Cactus consortium as a whole for administrative purposes.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-consortium-manual.node.umd.min.js", - "browser": "dist/cactus-plugin-consortium-manual.web.umd.js", - "browserMinified": "dist/cactus-plugin-consortium-manual.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-consortium-manual.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -85,5 +69,21 @@ "@types/express": "4.17.13", "@types/json-stable-stringify": "1.0.33", "@types/uuid": "8.3.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-consortium-manual.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-consortium-manual.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json index 56895de34e4..74e910b31a9 100644 --- a/packages/cactus-plugin-htlc-eth-besu-erc20/package.json +++ b/packages/cactus-plugin-htlc-eth-besu-erc20/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-htlc-eth-besu-erc20", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to interact with HTLC contracts with ERC-20 Tokens", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.node.umd.min.js", - "browser": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.js", - "browserMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -68,11 +40,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -86,5 +70,21 @@ }, "devDependencies": { "@types/express": "4.17.13" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-htlc-eth-besu-erc20.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-htlc-eth-besu/package.json b/packages/cactus-plugin-htlc-eth-besu/package.json index 343649e9759..bd590dc2273 100644 --- a/packages/cactus-plugin-htlc-eth-besu/package.json +++ b/packages/cactus-plugin-htlc-eth-besu/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-htlc-eth-besu", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to interact with HTLC ETH contracts", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-htlc-eth-besu.node.umd.min.js", - "browser": "dist/cactus-plugin-htlc-eth-besu.web.umd.js", - "browserMinified": "dist/cactus-plugin-htlc-eth-besu.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -68,11 +40,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-htlc-eth-besu.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -92,5 +76,21 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.2", "@hyperledger/cactus-test-tooling": "1.0.0-rc.2", "@types/express": "4.17.13" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-htlc-eth-besu.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-htlc-eth-besu.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-keychain-aws-sm/package.json b/packages/cactus-plugin-keychain-aws-sm/package.json index ab38166a2fe..1137cbc0157 100644 --- a/packages/cactus-plugin-keychain-aws-sm/package.json +++ b/packages/cactus-plugin-keychain-aws-sm/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-keychain-aws-sm", "version": "1.0.0-rc.2", "description": "A keychain implementation storing its entries in AWS Secret Manger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-keychain-aws-sm.node.umd.min.js", - "browser": "dist/cactus-plugin-keychain-aws-sm.web.umd.js", - "browserMinified": "dist/cactus-plugin-keychain-aws-sm.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-keychain-aws-sm.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -83,5 +67,21 @@ "@types/request": "2.48.7", "internal-ip": "6.2.0", "openapi-types": "9.1.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-keychain-aws-sm.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-keychain-aws-sm.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-keychain-azure-kv/package.json b/packages/cactus-plugin-keychain-azure-kv/package.json index aa6a82d40f7..7486a02722a 100644 --- a/packages/cactus-plugin-keychain-azure-kv/package.json +++ b/packages/cactus-plugin-keychain-azure-kv/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-keychain-azure-kv", "version": "1.0.0-rc.2", "description": "A keychain implementation storing its entries in Azure key vault.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-keychain-azure-kv.node.umd.min.js", - "browser": "dist/cactus-plugin-keychain-azure-kv.web.umd.js", - "browserMinified": "dist/cactus-plugin-keychain-azure-kv.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-keychain-azure-kv.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@azure/identity": "1.5.0", "@azure/keyvault-secrets": "4.3.0", @@ -85,5 +69,21 @@ "express": "4.17.1", "internal-ip": "6.2.0", "openapi-types": "9.1.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-keychain-azure-kv.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-keychain-azure-kv.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-keychain-google-sm/package.json b/packages/cactus-plugin-keychain-google-sm/package.json index b68811af07b..15b1b3a0bee 100644 --- a/packages/cactus-plugin-keychain-google-sm/package.json +++ b/packages/cactus-plugin-keychain-google-sm/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-keychain-google-sm", "version": "1.0.0-rc.2", "description": "A keychain implementation storing its entries in Azure key vault.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-keychain-google-sm.node.umd.min.js", - "browser": "dist/cactus-plugin-keychain-google-sm.web.umd.js", - "browserMinified": "dist/cactus-plugin-keychain-google-sm.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-keychain-google-sm.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@google-cloud/secret-manager": "3.9.0", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -84,5 +68,21 @@ "express": "4.17.1", "internal-ip": "6.2.0", "openapi-types": "9.1.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-keychain-google-sm.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-keychain-google-sm.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-keychain-memory-wasm/package.json b/packages/cactus-plugin-keychain-memory-wasm/package.json index d114717a660..4310fdc6278 100644 --- a/packages/cactus-plugin-keychain-memory-wasm/package.json +++ b/packages/cactus-plugin-keychain-memory-wasm/package.json @@ -2,48 +2,6 @@ "name": "@hyperledger/cactus-plugin-keychain-memory-wasm", "version": "1.0.0-rc.2", "description": "Dummy keychain implementation doing NO encryption and storing everything in-memory. Only suitable for development and testing. Same as the non-wasm version but this one has the backing implementation written in Rust and compiled down to WebAssembly.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-keychain-memory-wasm.node.umd.min.js", - "browser": "dist/cactus-plugin-keychain-memory-wasm.web.umd.js", - "browserMinified": "dist/cactus-plugin-keychain-memory-wasm.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "wasm-pack": "CARGO_TARGET_DIR=${PWD}/dist/target-rustc/ wasm-pack build src/main/rust/cactus-plugin-keychain-memory-wasm/ --release --scope=hyperledger --target=nodejs --out-dir=../../../../src/main/typescript/generated/wasm-pack/", - "postwasm-pack": "run-s del-wasm-pack-project-files copy-wasm-bg", - "del-wasm-pack-project-files": "del-cli src/main/typescript/generated/wasm-pack/{package.json,README.md,.gitignore}", - "copy-wasm-bg": "cpy './main/typescript/generated/wasm-pack/cactus_plugin_keychain_memory_wasm_bg*' '../dist/lib/' --cwd=src --parents", - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "generate-rust-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g rust-server -o ./src/main/rust/generated/openapi/rust-server", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -51,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -68,11 +35,28 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-keychain-memory-wasm.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "copy-wasm-bg": "cpy './main/typescript/generated/wasm-pack/cactus_plugin_keychain_memory_wasm_bg*' '../dist/lib/' --cwd=src --parents", + "del-wasm-pack-project-files": "del-cli src/main/typescript/generated/wasm-pack/{package.json,README.md,.gitignore}", + "generate-rust-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g rust-server -o ./src/main/rust/generated/openapi/rust-server", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "wasm-pack": "CARGO_TARGET_DIR=${PWD}/dist/target-rustc/ wasm-pack build src/main/rust/cactus-plugin-keychain-memory-wasm/ --release --scope=hyperledger --target=nodejs --out-dir=../../../../src/main/typescript/generated/wasm-pack/", + "postwasm-pack": "run-s del-wasm-pack-project-files copy-wasm-bg", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -86,5 +70,21 @@ "@types/express": "4.17.13", "cpy-cli": "3.1.1", "del-cli": "4.0.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-keychain-memory-wasm.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-keychain-memory-wasm.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-keychain-memory/package.json b/packages/cactus-plugin-keychain-memory/package.json index ed1133dee22..36c0968b7fc 100644 --- a/packages/cactus-plugin-keychain-memory/package.json +++ b/packages/cactus-plugin-keychain-memory/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-keychain-memory", "version": "1.0.0-rc.2", "description": "Dummy keychain implementation doing NO encryption and storing everything in-memory. Only suitable for development and testing.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-keychain-memory.node.umd.min.js", - "browser": "dist/cactus-plugin-keychain-memory.web.umd.js", - "browserMinified": "dist/cactus-plugin-keychain-memory.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-keychain-memory.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -79,5 +63,21 @@ }, "devDependencies": { "@types/express": "4.17.13" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-keychain-memory.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-keychain-memory.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-keychain-vault/package.json b/packages/cactus-plugin-keychain-vault/package.json index a6315ae2719..b610742a9b2 100644 --- a/packages/cactus-plugin-keychain-vault/package.json +++ b/packages/cactus-plugin-keychain-vault/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-keychain-vault", "version": "1.0.0-rc.2", "description": "A keychain implementation storing its entries in Hashicorp Vault. Actual logic is implemented in Rust.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-keychain-vault.node.umd.min.js", - "browser": "dist/cactus-plugin-keychain-vault.web.umd.js", - "browserMinified": "dist/cactus-plugin-keychain-vault.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "watch": "npm-watch", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-keychain-vault.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -88,5 +72,21 @@ "@types/uuid": "8.3.1", "internal-ip": "6.2.0", "openapi-types": "9.1.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-keychain-vault.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-keychain-vault.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-ledger-connector-besu/package.json b/packages/cactus-plugin-ledger-connector-besu/package.json index 96305e3312a..77cdd3e43e0 100644 --- a/packages/cactus-plugin-ledger-connector-besu/package.json +++ b/packages/cactus-plugin-ledger-connector-besu/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-ledger-connector-besu", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to connect to a Besu ledger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-besu.node.umd.min.js", - "browser": "dist/cactus-plugin-ledger-connector-besu.web.umd.js", - "browserMinified": "dist/cactus-plugin-ledger-connector-besu.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-besu.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -94,5 +78,21 @@ "socket.io": "4.1.3", "web3-core": "1.5.1", "web3-eth": "1.5.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-besu.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-besu.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-ledger-connector-corda/package.json b/packages/cactus-plugin-ledger-connector-corda/package.json index 449db76e699..40dcbbab519 100644 --- a/packages/cactus-plugin-ledger-connector-corda/package.json +++ b/packages/cactus-plugin-ledger-connector-corda/package.json @@ -2,44 +2,6 @@ "name": "@hyperledger/cactus-plugin-ledger-connector-corda", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to connect to a Corda ledger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-corda.node.umd.min.js", - "browser": "dist/cactus-plugin-ledger-connector-corda.web.umd.js", - "browserMinified": "dist/cactus-plugin-ledger-connector-corda.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", - "generate-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin-spring -o ./src/main-server/kotlin/gen/kotlin-spring/ -c ./src/main-server/openapi-generator-config.yaml", - "codegen:openapi": "run-p generate-sdk generate-server", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -47,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -64,11 +35,24 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-corda.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "run-p generate-sdk generate-server", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/", + "generate-server": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g kotlin-spring -o ./src/main-server/kotlin/gen/kotlin-spring/ -c ./src/main-server/openapi-generator-config.yaml", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -88,5 +72,21 @@ "@types/multer": "1.4.7", "@types/node-ssh": "7.0.1", "@types/temp": "0.9.1" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-corda.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-corda.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json b/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json index a85b4bf2a15..d9b899b8f77 100644 --- a/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json @@ -3,14 +3,14 @@ "version": "1.0.0-rc.2", "private": true, "scripts": { - "start": "cd ./dist && node common/core/bin/www.js", - "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run copy-utility-assets && npm run build-ts && npm run copy-static-assets", "build-ts": "tsc", - "tslint": "tslint -c tslint.json -p tsconfig.json", - "copy-utility-assets": "ts-node copyUtilityAssets.ts", "copy-static-assets": "ts-node copyStaticAssets.ts", - "init-fabric": "ln -s ../node_modules ./dist/node_modules" + "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-fabric": "ln -s ../node_modules ./dist/node_modules", + "start": "cd ./dist && node common/core/bin/www.js", + "tslint": "tslint -c tslint.json -p tsconfig.json" }, "dependencies": { "@types/node": "^14.14.5", diff --git a/packages/cactus-plugin-ledger-connector-fabric/package.json b/packages/cactus-plugin-ledger-connector-fabric/package.json index 9a3035b5683..2a76ae8b19d 100644 --- a/packages/cactus-plugin-ledger-connector-fabric/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-ledger-connector-fabric", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to connect to a Fabric ledger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-fabric.node.umd.min.js", - "browser": "dist/cactus-plugin-ledger-connector-fabric.web.umd.js", - "browserMinified": "dist/cactus-plugin-ledger-connector-fabric.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-fabric.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@fidm/x509": "1.2.1", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -108,5 +92,21 @@ "@types/uuid": "8.3.1", "fs-extra": "10.0.0", "ws-wallet": "1.1.5" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-fabric.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-fabric.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } \ No newline at end of file diff --git a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json index 30c7d3e8a0e..7def13750b0 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json @@ -3,14 +3,14 @@ "version": "1.0.0-rc.2", "private": true, "scripts": { - "start": "cd ./dist && node common/core/bin/www.js", - "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run copy-utility-assets && npm run build-ts && npm run copy-static-assets", "build-ts": "tsc", - "tslint": "tslint -c tslint.json -p tsconfig.json", - "copy-utility-assets": "ts-node copyUtilityAssets.ts", "copy-static-assets": "ts-node copyStaticAssets.ts", - "init-ethereum": "ln -s ../node_modules ./dist/node_modules" + "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-ethereum": "ln -s ../node_modules ./dist/node_modules", + "start": "cd ./dist && node common/core/bin/www.js", + "tslint": "tslint -c tslint.json -p tsconfig.json" }, "dependencies": { "@types/node": "^14.14.5", diff --git a/packages/cactus-plugin-ledger-connector-iroha/package.json b/packages/cactus-plugin-ledger-connector-iroha/package.json index d0bc71540d7..148a1fdc1f8 100644 --- a/packages/cactus-plugin-ledger-connector-iroha/package.json +++ b/packages/cactus-plugin-ledger-connector-iroha/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-ledger-connector-iroha", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to connect to an Iroha ledger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-iroha.node.umd.min.js", - "browser": "dist/cactus-plugin-ledger-connector-iroha.web.umd.js", - "browserMinified": "dist/cactus-plugin-ledger-connector-iroha.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/types/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -47,6 +10,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -64,11 +36,23 @@ "url": "https://github.com/hxlaf" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-iroha.web.umd.js", + "types": "dist/types/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -86,5 +70,21 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.2", "@hyperledger/cactus-test-tooling": "1.0.0-rc.2", "@types/express": "4.17.8" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-iroha.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-iroha.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-ledger-connector-quorum/package.json b/packages/cactus-plugin-ledger-connector-quorum/package.json index 9febde23dcc..8991bafef10 100644 --- a/packages/cactus-plugin-ledger-connector-quorum/package.json +++ b/packages/cactus-plugin-ledger-connector-quorum/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-ledger-connector-quorum", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to connect to a Quorum ledger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-quorum.node.umd.min.js", - "browser": "dist/cactus-plugin-ledger-connector-quorum.web.umd.js", - "browserMinified": "dist/cactus-plugin-ledger-connector-quorum.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-quorum.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -84,5 +68,21 @@ "@hyperledger/cactus-test-tooling": "1.0.0-rc.2", "@types/express": "4.17.13", "web3-eth": "1.5.2" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-quorum.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-quorum.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json index 1d77e91100a..3e3e9fc0821 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json @@ -3,14 +3,14 @@ "version": "1.0.0-rc.2", "private": true, "scripts": { - "start": "cd ./dist && node common/core/bin/www.js", - "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run copy-utility-assets && npm run build-ts && npm run copy-static-assets", "build-ts": "tsc", - "tslint": "tslint -c tslint.json -p tsconfig.json", - "copy-utility-assets": "ts-node copyUtilityAssets.ts", "copy-static-assets": "ts-node copyStaticAssets.ts", - "init-sawtooth": "ln -s ../node_modules ./dist/node_modules" + "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-sawtooth": "ln -s ../node_modules ./dist/node_modules", + "start": "cd ./dist && node common/core/bin/www.js", + "tslint": "tslint -c tslint.json -p tsconfig.json" }, "dependencies": { "@types/node": "^14.14.5", diff --git a/packages/cactus-plugin-ledger-connector-xdai/package.json b/packages/cactus-plugin-ledger-connector-xdai/package.json index 606a7ed50c2..2ea48a0aea2 100644 --- a/packages/cactus-plugin-ledger-connector-xdai/package.json +++ b/packages/cactus-plugin-ledger-connector-xdai/package.json @@ -2,43 +2,6 @@ "name": "@hyperledger/cactus-plugin-ledger-connector-xdai", "version": "1.0.0-rc.2", "description": "Allows Cactus nodes to connect to a Xdai ledger.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js", - "browser": "dist/cactus-plugin-ledger-connector-xdai.web.umd.js", - "browserMinified": "dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", - "codegen": "run-p 'codegen:*'", - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": { - "codegen:openapi": { - "patterns": [ - "./src/main/json/openapi.json" - ] - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -46,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -63,11 +35,23 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-plugin-ledger-connector-xdai.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "@hyperledger/cactus-core": "1.0.0-rc.2", @@ -85,5 +69,21 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.2", "@hyperledger/cactus-test-tooling": "1.0.0-rc.2", "@types/express": "4.17.13" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-ledger-connector-xdai.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-ledger-connector-xdai.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/packages/cactus-plugin-odap-hermes/package.json b/packages/cactus-plugin-odap-hermes/package.json index 34d8038f224..9c02edd73b0 100644 --- a/packages/cactus-plugin-odap-hermes/package.json +++ b/packages/cactus-plugin-odap-hermes/package.json @@ -2,6 +2,19 @@ "name": "@hyperledger/cactus-plugin-odap-hermes", "version": "1.0.0-rc.2", "description": "proof of concept of odap", + "keywords": [ + "Hyperledger", + "Cactus", + "Integration", + "Blockchain", + "Distributed Ledger Technology" + ], + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "ISC", + "author": "Tzu-Shen, Wang", "main": "dist/lib/main/typescript/index.js", "module": "dist/lib/main/typescript/index.js", "types": "dist/lib/main/typescript/index.d.ts", @@ -9,58 +22,13 @@ "dist/*" ], "scripts": { - "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", - "codegen:openapi": "npm run generate-sdk", "codegen": "run-p 'codegen:*'", + "codegen:openapi": "npm run generate-sdk", + "generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected", "pretsc": "npm run generate-sdk", "tsc": "tsc --project ./tsconfig.json", "watch": "npm-watch" }, - "watch": { - "tsc": { - "patterns": [ - "src/", - "src/*/json/**/openapi*" - ], - "ignore": [ - "src/**/generated/*" - ], - "extensions": [ - "ts", - "json" - ], - "quiet": true, - "verbose": false, - "runOnChangeOnly": true - } - }, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, - "keywords": [ - "Hyperledger", - "Cactus", - "Integration", - "Blockchain", - "Distributed Ledger Technology" - ], - "author": "Tzu-Shen, Wang", - "license": "ISC", - "devDependencies": { - "@types/crypto-js": "4.0.1", - "@types/express": "4.17.8", - "@types/tape": "4.13.0", - "crypto-js": "4.0.0", - "typescript": "4.3.2" - }, "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -87,5 +55,37 @@ "typescript-optional": "2.0.1", "web3": "1.2.7", "web3-utils": "1.2.7" + }, + "devDependencies": { + "@types/crypto-js": "4.0.1", + "@types/express": "4.17.8", + "@types/tape": "4.13.0", + "crypto-js": "4.0.0", + "typescript": "4.3.2" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "watch": { + "tsc": { + "patterns": [ + "src/", + "src/*/json/**/openapi*" + ], + "ignore": [ + "src/**/generated/*" + ], + "extensions": [ + "ts", + "json" + ], + "quiet": true, + "verbose": false, + "runOnChangeOnly": true + } } } diff --git a/packages/cactus-test-api-client/package.json b/packages/cactus-test-api-client/package.json index 3819731e240..235b6ae9508 100644 --- a/packages/cactus-test-api-client/package.json +++ b/packages/cactus-test-api-client/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-api-client", "version": "1.0.0-rc.2", "description": "Integration tests for the Cactus API Client package (formerly known as the Cactus SDK package that has been renamed for to purpose of being less ambiguous)", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-api-client.node.umd.min.js", - "browser": "dist/cactus-test-api-client.web.umd.js", - "browserMinified": "dist/cactus-test-api-client.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-api-client.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-api-client": "1.0.0-rc.2", "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", @@ -72,5 +62,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.2" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-api-client.web.umd.min.js", + "mainMinified": "dist/cactus-test-api-client.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-test-cmd-api-server/package.json b/packages/cactus-test-cmd-api-server/package.json index 406af841593..d0ac232f96a 100644 --- a/packages/cactus-test-cmd-api-server/package.json +++ b/packages/cactus-test-cmd-api-server/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-cmd-api-server", "version": "1.0.0-rc.2", "description": "Integration tests for the Cactus API Client package (formerly known as the Cactus SDK package that has been renamed for to purpose of being less ambiguous)", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-cmd-api-server.node.umd.min.js", - "browser": "dist/cactus-test-cmd-api-server.web.umd.js", - "browserMinified": "dist/cactus-test-cmd-api-server.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-cmd-api-server.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -70,5 +60,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.2" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-cmd-api-server.web.umd.min.js", + "mainMinified": "dist/cactus-test-cmd-api-server.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-test-plugin-consortium-manual/package.json b/packages/cactus-test-plugin-consortium-manual/package.json index bda09c63405..56f2ed797cb 100644 --- a/packages/cactus-test-plugin-consortium-manual/package.json +++ b/packages/cactus-test-plugin-consortium-manual/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-plugin-consortium-manual", "version": "1.0.0-rc.2", "description": "Integration tests for the Quorum ledger and the API server.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-plugin-consortium-manual.node.umd.min.js", - "browser": "dist/cactus-test-plugin-consortium-manual.web.umd.js", - "browserMinified": "dist/cactus-test-plugin-consortium-manual.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-plugin-consortium-manual.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", diff --git a/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json b/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json index 791f5086417..8dad5bc0deb 100644 --- a/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json +++ b/packages/cactus-test-plugin-htlc-eth-besu-erc20/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-plugin-htlc-eth-besu-erc20", "version": "1.0.0-rc.2", "description": "Integration tests for HTLC with ERC-20 tokens plugin.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-plugin-htlc-eth-besu-erc20.node.umd.min.js", - "browser": "dist/cactus-test-plugin-htlc-eth-besu-erc20.web.umd.js", - "browserMinified": "dist/cactus-test-plugin-htlc-eth-besu-erc20.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-plugin-htlc-eth-besu-erc20.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -73,5 +63,15 @@ }, "devDependencies": { "@types/express": "4.17.13" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-plugin-htlc-eth-besu-erc20.web.umd.min.js", + "mainMinified": "dist/cactus-test-plugin-htlc-eth-besu-erc20.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-test-plugin-htlc-eth-besu/package.json b/packages/cactus-test-plugin-htlc-eth-besu/package.json index eae4f70781b..197f6a21c9b 100644 --- a/packages/cactus-test-plugin-htlc-eth-besu/package.json +++ b/packages/cactus-test-plugin-htlc-eth-besu/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-plugin-htlc-eth-besu", "version": "1.0.0-rc.2", "description": "Integration tests for the Besu ledger and the API server.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-plugin-htlc-eth-besu.node.umd.min.js", - "browser": "dist/cactus-test-plugin-htlc-eth-besu.web.umd.js", - "browserMinified": "dist/cactus-test-plugin-htlc-eth-besu.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-plugin-htlc-eth-besu.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -75,5 +65,15 @@ }, "devDependencies": { "@types/express": "4.17.13" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-plugin-htlc-eth-besu.web.umd.min.js", + "mainMinified": "dist/cactus-test-plugin-htlc-eth-besu.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-test-plugin-ledger-connector-besu/package.json b/packages/cactus-test-plugin-ledger-connector-besu/package.json index d70b60c3dea..23d193401f3 100644 --- a/packages/cactus-test-plugin-ledger-connector-besu/package.json +++ b/packages/cactus-test-plugin-ledger-connector-besu/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-plugin-ledger-connector-besu", "version": "1.0.0-rc.2", "description": "Integration tests for the Besu ledger and the API server.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-plugin-ledger-connector-besu.node.umd.min.js", - "browser": "dist/cactus-test-plugin-ledger-connector-besu.web.umd.js", - "browserMinified": "dist/cactus-test-plugin-ledger-connector-besu.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-plugin-ledger-connector-besu.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -69,5 +59,15 @@ "key-encoder": "2.0.3", "web3": "1.5.2", "web3-eea": "0.11.0" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-plugin-ledger-connector-besu.web.umd.min.js", + "mainMinified": "dist/cactus-test-plugin-ledger-connector-besu.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-test-plugin-ledger-connector-quorum/package.json b/packages/cactus-test-plugin-ledger-connector-quorum/package.json index 44905fa0ee5..1e828c79159 100644 --- a/packages/cactus-test-plugin-ledger-connector-quorum/package.json +++ b/packages/cactus-test-plugin-ledger-connector-quorum/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-plugin-ledger-connector-quorum", "version": "1.0.0-rc.2", "description": "Integration tests for the Quorum ledger and the API server.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-plugin-ledger-connector-quorum.node.umd.min.js", - "browser": "dist/cactus-test-plugin-ledger-connector-quorum.web.umd.js", - "browserMinified": "dist/cactus-test-plugin-ledger-connector-quorum.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -54,11 +35,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-plugin-ledger-connector-quorum.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.2", "@hyperledger/cactus-common": "1.0.0-rc.2", @@ -70,5 +60,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.2" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-plugin-ledger-connector-quorum.web.umd.min.js", + "mainMinified": "dist/cactus-test-plugin-ledger-connector-quorum.node.umd.min.js", + "watch": {} } diff --git a/packages/cactus-test-tooling/package.json b/packages/cactus-test-tooling/package.json index 52f683930d1..32859e6017a 100644 --- a/packages/cactus-test-tooling/package.json +++ b/packages/cactus-test-tooling/package.json @@ -2,34 +2,6 @@ "name": "@hyperledger/cactus-test-tooling", "version": "1.0.0-rc.2", "description": "Swiss army knife for test development. Main goal is to make pulling up test/dummy ledgers on the fly for tests easy, especially for test cases that are about simulating clean ledger state or wiped ledger state, etc.", - "main": "dist/lib/main/typescript/index.js", - "mainMinified": "dist/cactus-test-tooling.node.umd.min.js", - "browser": "dist/cactus-test-tooling.web.umd.js", - "browserMinified": "dist/cactus-test-tooling.web.umd.min.js", - "module": "dist/lib/main/typescript/index.js", - "types": "dist/lib/main/typescript/index.d.ts", - "files": [ - "dist/*" - ], - "scripts": { - "watch": "npm-watch", - "webpack": "npm-run-all webpack:dev", - "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", - "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js", - "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js" - }, - "watch": {}, - "publishConfig": { - "access": "public" - }, - "engines": { - "node": ">=10", - "npm": ">=6" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/hyperledger/cactus.git" - }, "keywords": [ "Hyperledger", "Cactus", @@ -37,6 +9,15 @@ "Blockchain", "Distributed Ledger Technology" ], + "homepage": "https://github.com/hyperledger/cactus#readme", + "bugs": { + "url": "https://github.com/hyperledger/cactus/issues" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/hyperledger/cactus.git" + }, + "license": "Apache-2.0", "author": { "name": "Hyperledger Cactus Contributors", "email": "cactus@lists.hyperledger.org", @@ -64,11 +45,20 @@ "url": "https://accenture.com" } ], - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/hyperledger/cactus/issues" + "main": "dist/lib/main/typescript/index.js", + "module": "dist/lib/main/typescript/index.js", + "browser": "dist/cactus-test-tooling.web.umd.js", + "types": "dist/lib/main/typescript/index.d.ts", + "files": [ + "dist/*" + ], + "scripts": { + "watch": "npm-watch", + "webpack": "npm-run-all webpack:dev", + "webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web", + "webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js", + "webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "dependencies": { "@hyperledger/cactus-common": "1.0.0-rc.2", "axios": "0.21.4", @@ -96,9 +86,9 @@ }, "devDependencies": { "@types/dockerode": "3.2.7", - "@types/js-yaml": "4.0.3", "@types/esm": "3.2.0", "@types/fs-extra": "9.0.12", + "@types/js-yaml": "4.0.3", "@types/lodash": "4.14.172", "@types/node-ssh": "7.0.1", "@types/ssh2": "0.5.47", @@ -108,4 +98,4 @@ "esm": "3.2.25", "temp": "0.9.4" } -} \ No newline at end of file +}