diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8dcdf0f8dfd..0a4e06f0d40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -237,3 +237,13 @@ jobs: - name: Print Disk Usage Reports run: df ; echo "" ; docker system df + + check-package-json: + name: check-package-json + runs-on: ubuntu-20.04 + steps: + - name: Checkout code + uses: actions/checkout@v2.3.4 + + - name: Check sorted package json + run: yarn run sort-json-check \ No newline at end of file diff --git a/examples/cactus-example-carbon-accounting-backend/package.json b/examples/cactus-example-carbon-accounting-backend/package.json index 7bb79f80d04..d72476ccee2 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.3", "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.3", "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.3", @@ -98,5 +81,22 @@ "hardhat": "2.6.0", "http-status-codes": "2.1.4", "jose": "4.1.0" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-example-carbon-accounting-backend.web.umd.min.js", + "mainMinified": "dist/cactus-example-carbon-accounting-backend.node.umd.min.js", + "watch": { + "solidity": { + "patterns": [ + "./src/main/solidity/" + ], + "extensions": "sol" + } } } 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 89cf866c903..9684e53fd83 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -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 d298cbd7680..c60f07bcb9e 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.3", "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 a51da949442..c8223f85823 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.3", "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.3", "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.3", @@ -87,5 +77,15 @@ "devDependencies": { "@types/express": "4.17.13", "@types/uuid": "8.3.1" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-example-supply-chain-backend.web.umd.min.js", + "mainMinified": "dist/cactus-example-supply-chain-backend.node.umd.min.js", + "watch": {} } 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 0682106d85d..e156d8871a4 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -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 bac1f897fe8..745dbca317a 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.3", "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 66c1de08e4c..d4f3c7bc927 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -92,5 +76,21 @@ "@hyperledger/cactus-test-tooling": "1.0.0-rc.3", "@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 9cc4e3924ce..919e9d1408a 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -84,5 +68,21 @@ "express": "4.17.1", "ipfs-core-types": "0.6.1", "multiformats": "9.4.9" + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-plugin-object-store-ipfs.web.umd.min.js", + "mainMinified": "dist/cactus-plugin-object-store-ipfs.node.umd.min.js", + "watch": { + "codegen:openapi": { + "patterns": [ + "./src/main/json/openapi.json" + ] + } } } diff --git a/package.json b/package.json index f05471baace..24ce1f3ccf4 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,6 +13,8 @@ ] }, "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", @@ -57,11 +59,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 a6ab296e814..5034e92318b 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.3", "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,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-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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -68,5 +58,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.3" - } + }, + "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 a1ab8f39d3b..50c4da5287c 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.3", "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 374d6d59e3f..a5ee3a28e1b 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.3", "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 c62162c2767..869fe9d0b9e 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.3", "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,22 +35,53 @@ "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.3", + "axios": "0.21.4" }, - "homepage": "https://github.com/hyperledger/cactus#readme", "devDependencies": { "@grpc/grpc-js": "1.3.6", "@grpc/proto-loader": "0.6.4", "@types/express": "4.17.13", "make-dir-cli": "3.0.0", + "rxjs": "7.3.0", "socket.io": "4.1.3", - "typescript-optional": "2.0.1", - "rxjs": "7.3.0" + "typescript-optional": "2.0.1" }, - "dependencies": { - "@hyperledger/cactus-common": "1.0.0-rc.3", - "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/package.json b/packages/cactus-core/package.json index bf91c82c69d..9b05110d45b 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.3", "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.3", "@hyperledger/cactus-core-api": "1.0.0-rc.3", @@ -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 2e0907d9fbc..7c8329d0ba8 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 ad6505a73b6..c80fb8ebd19 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 951b12c4dff..50fe2f777b0 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -92,5 +76,21 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.3", "@hyperledger/cactus-test-tooling": "1.0.0-rc.3", "@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 52b1d449c20..f724ac67e64 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 3fbd0ea0607..bc22eb1ec33 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.3", "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 4483dd7484e..8c4ebeac682 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.3", "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.3", @@ -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 93f64057c34..5132733e09d 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 7f643855833..3a897acb785 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 5d0659b1ee5..645ab417a4c 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 64bd261f18c..e6fdb1744d2 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -94,5 +78,21 @@ "socket.io": "4.1.3", "web3-core": "1.5.2", "web3-eth": "1.5.2" + }, + "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 3e1fce193b8..adcf4790dd1 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -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 76c48f3311d..53e9c36ef99 100644 --- a/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-fabric-socketio/package.json @@ -3,14 +3,12 @@ "version": "1.0.0-rc.3", "license": "Apache-2.0", "scripts": { - "start": "cd ./dist && node common/core/bin/www.js", - "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run codegen && npm run build-ts && npm run build:dev:backend:postbuild", - "codegen": "npm run copy-utility-assets && rm -fr ./dist/wallet", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run copy-static-assets", - "copy-utility-assets": "ts-node copyUtilityAssets.ts", - "copy-static-assets": "ts-node copyStaticAssets.ts" + "codegen": "npm run copy-utility-assets && rm -fr ./dist/wallet", + "copy-static-assets": "ts-node copyStaticAssets.ts", + "copy-utility-assets": "ts-node copyUtilityAssets.ts" }, "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 8e3a6f455de..4b85b28e21d 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.3", "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.3", @@ -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" + ] + } } } 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 743da539d57..37ef9a68e56 100644 --- a/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-go-ethereum-socketio/package.json @@ -3,15 +3,15 @@ "version": "1.0.0-rc.3", "license": "Apache-2.0", "scripts": { - "start": "cd ./dist && node common/core/bin/www.js", - "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run codegen && npm run build-ts && npm run build:dev:backend:postbuild", - "codegen": "npm run copy-utility-assets", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run copy-static-assets && npm run init-ethereum", - "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "codegen": "npm run copy-utility-assets", "copy-static-assets": "ts-node copyStaticAssets.ts", - "init-ethereum": "cp -af ../../yarn.lock ./dist/yarn.lock" + "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-ethereum": "cp -af ../../yarn.lock ./dist/yarn.lock", + "start": "cd ./dist && node common/core/bin/www.js" }, "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 56b248707f4..c1f6fc833a7 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -86,5 +70,21 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.3", "@hyperledger/cactus-test-tooling": "1.0.0-rc.3", "@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 c3fb39f760f..fbed6b8600e 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -84,5 +68,21 @@ "@hyperledger/cactus-test-tooling": "1.0.0-rc.3", "@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 a861153069d..58e6da0e406 100644 --- a/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json +++ b/packages/cactus-plugin-ledger-connector-sawtooth-socketio/package.json @@ -3,15 +3,15 @@ "version": "1.0.0-rc.3", "license": "Apache-2.0", "scripts": { - "start": "cd ./dist && node common/core/bin/www.js", - "debug": "nodemon --inspect ./dist/common/core/bin/www.js", "build": "npm run codegen && npm run build-ts && npm run build:dev:backend:postbuild", - "codegen": "npm run copy-utility-assets", "build-ts": "tsc", "build:dev:backend:postbuild": "npm run copy-static-assets && npm run init-sawtooth", - "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "codegen": "npm run copy-utility-assets", "copy-static-assets": "ts-node copyStaticAssets.ts", - "init-sawtooth": "cp -af ../../yarn.lock ./dist/yarn.lock" + "copy-utility-assets": "ts-node copyUtilityAssets.ts", + "debug": "nodemon --inspect ./dist/common/core/bin/www.js", + "init-sawtooth": "cp -af ../../yarn.lock ./dist/yarn.lock", + "start": "cd ./dist && node common/core/bin/www.js" }, "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 83a57e5d449..b5e875d0532 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.3", "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.3", "@hyperledger/cactus-core": "1.0.0-rc.3", @@ -85,5 +69,21 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.3", "@hyperledger/cactus-test-tooling": "1.0.0-rc.3", "@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 f5129252dfd..471287b7cca 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.3", "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": "Apache-2.0", + "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": "Apache-2.0", - "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -78,5 +46,37 @@ "typescript-optional": "2.0.1", "web3": "1.5.2", "web3-utils": "1.5.2" + }, + "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 1360b5897b2..d00780df8a6 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.3", "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.3", "@hyperledger/cactus-cmd-api-server": "1.0.0-rc.3", @@ -72,5 +62,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.3" - } + }, + "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 623fb4ff0d4..b376f5912e0 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -70,5 +60,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.3" - } + }, + "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 01ad975ab6d..8908991a8dd 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -68,5 +58,15 @@ "@hyperledger/cactus-plugin-keychain-memory": "1.0.0-rc.3", "axios": "0.21.4", "jose": "4.1.0" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-plugin-consortium-manual.web.umd.min.js", + "mainMinified": "dist/cactus-test-plugin-consortium-manual.node.umd.min.js", + "watch": {} } 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 4febc1e6159..64657cd6862 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -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 42ad4788e8f..dd691079c1c 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -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 ddfb0da7e49..d0cec297c5c 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -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 1745ac7d912..40c51c20a5c 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.3", "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.3", "@hyperledger/cactus-common": "1.0.0-rc.3", @@ -70,5 +60,15 @@ }, "devDependencies": { "@hyperledger/cactus-test-tooling": "1.0.0-rc.3" - } + }, + "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 18730feb22b..46bba3427ad 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.3", "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.3", "axios": "0.21.4", @@ -107,5 +97,15 @@ "@types/temp": "0.9.1", "esm": "3.2.25", "temp": "0.9.4" - } + }, + "engines": { + "node": ">=10", + "npm": ">=6" + }, + "publishConfig": { + "access": "public" + }, + "browserMinified": "dist/cactus-test-tooling.web.umd.min.js", + "mainMinified": "dist/cactus-test-tooling.node.umd.min.js", + "watch": {} }