You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
126 lines
5.2 KiB
126 lines
5.2 KiB
{
|
|
"description": "Root repository for the harmony-sdk-core",
|
|
"private": true,
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap && yarn build:ts",
|
|
"watch":"yarn build:ts -w",
|
|
"build": "yarn packages:clean && yarn build:ts",
|
|
"build:ts": "tsc -b tsconfig.json",
|
|
"build:test":"tsc -b tsconfig.test.json",
|
|
"build:e2e":"tsc -b tsconfig.e2e.json",
|
|
"bundle": "ts-node -P scripts/tsconfig.json scripts/bundle.ts umd,esm",
|
|
"clean": "lerna clean --yes && lerna run clean && rimraf includes && yarn packages:clean",
|
|
"dist": "yarn packages:bundler && rm -rf dist && cross-env NODE_ENV=production webpack --config webpack.config.js",
|
|
"packages:clean": "gulp cleanServer && gulp cleanUnexpected",
|
|
"packages:bundler": "yarn packages:clean && yarn build:ts && ts-node -P scripts/tsconfig.json scripts/bundle.ts",
|
|
"schema": "ts-node -P scripts/tsconfig.json scripts/typings/schema.ts core",
|
|
"test": "cross-env TEST_ENV=unit jest -c scripts/jest/jest.config.js --rootDir=.",
|
|
"test:src": "cross-env NODE_ENV=test jest --config ./scripts/jest/jest.src.config.js --verbose --runInBand --no-cache",
|
|
"test:build": "cross-env TEST_ENV=unit jest -c jest.build.config.js",
|
|
"test:integration": "cross-env TEST_ENV=integration jest -c jest.iconfig.js --runInBand --verbose --collectCoverage=false",
|
|
"test:e2e": "cross-env TEST_ENV=e2e jest -c ./scripts/jest/jest.e2e.config.js --runInBand --verbose --collectCoverage=false",
|
|
"release": "yarn bootstrap && yarn bundle && lerna publish --exact",
|
|
"format": "prettier --write '**/*.{ts,tsx,js}' --config .prettierrc",
|
|
"formatSol": "prettier --list-different **/*.sol",
|
|
"dev:publish": "yarn dist && lerna publish --dist-tag next --exact --no-verify-access --no-verify-registry"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.0.0-beta.56",
|
|
"@babel/core": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-class-properties": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-decorators": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-do-expressions": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-export-default-from": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-export-namespace-from": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-function-sent": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-json-strings": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-logical-assignment-operators": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-numeric-separator": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-optional-chaining": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-pipeline-operator": "7.0.0-beta.54",
|
|
"@babel/plugin-proposal-throw-expressions": "7.0.0-beta.54",
|
|
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.54",
|
|
"@babel/plugin-syntax-import-meta": "7.0.0-beta.54",
|
|
"@babel/plugin-transform-runtime": "^7.0.0-beta.56",
|
|
"@babel/polyfill": "7.0.0-beta.54",
|
|
"@babel/preset-env": "7.0.0-beta.54",
|
|
"@babel/preset-typescript": "^7.0.0-beta.56",
|
|
"@babel/runtime": "^7.0.0-beta.56",
|
|
"@trust/webcrypto": "^0.9.2",
|
|
"@types/base-x": "^3.0.0",
|
|
"@types/bip39": "^2.4.2",
|
|
"@types/bn.js": "^4.11.3",
|
|
"@types/camelcase": "^4.1.0",
|
|
"@types/fancy-log": "^1.3.0",
|
|
"@types/glob": "^7.1.1",
|
|
"@types/glob-parent": "^3.1.0",
|
|
"@types/hdkey": "^0.7.0",
|
|
"@types/jest": "^23.3.1",
|
|
"@types/jest-json-schema": "^1.2.0",
|
|
"@types/node": "^10.5.6",
|
|
"@types/pbkdf2": "^3.0.0",
|
|
"@types/uuid": "^3.4.4",
|
|
"@types/valid-url": "^1.0.2",
|
|
"@types/webpack": "^4.4.17",
|
|
"@types/websocket": "^0.0.40",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-jest": "^23.4.2",
|
|
"babel-loader": "^8.0.0-beta.0",
|
|
"babel-plugin-transform-remove-console": "^6.9.4",
|
|
"camelcase": "^5.0.0",
|
|
"cross-env": "^5.2.0",
|
|
"del": "^4.0.0",
|
|
"dotenv": "^6.0.0",
|
|
"fancy-log": "^1.3.2",
|
|
"fbjs-scripts": "^0.8.3",
|
|
"ganache-cli": "^6.4.3",
|
|
"glob": "^7.1.3",
|
|
"glob-parent": "^3.1.0",
|
|
"gulp": "^4.0.0",
|
|
"husky": "^1.1.2",
|
|
"jest": "^23.4.2",
|
|
"jest-fetch-mock": "^1.6.6",
|
|
"jest-json-schema": "^2.0.1",
|
|
"jest-watch-typeahead": "^0.2.0",
|
|
"lerna": "^3.2.1",
|
|
"mitt": "^1.1.3",
|
|
"mkdirp": "^0.5.1",
|
|
"prettier": "^1.14.3",
|
|
"prettier-plugin-solidity": "^1.0.0-alpha.22",
|
|
"pretty-quick": "^1.8.0",
|
|
"protobufjs": "^6.8.8",
|
|
"rimraf": "^2.6.2",
|
|
"rollup": "^0.66.6",
|
|
"rollup-plugin-alias": "^1.4.0",
|
|
"rollup-plugin-babel": "^4.3.2",
|
|
"rollup-plugin-commonjs": "^9.2.0",
|
|
"rollup-plugin-json": "^3.1.0",
|
|
"rollup-plugin-license": "^0.8.1",
|
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
"rollup-plugin-node-resolve": "^3.4.0",
|
|
"rollup-plugin-typescript2": "^0.17.1",
|
|
"solc": "^0.5.8",
|
|
"ts-jest": "^23.1.3",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.15.0",
|
|
"typescript": "^3.2",
|
|
"typescript-json-schema": "^0.36.0",
|
|
"uglifyjs-webpack-plugin": "^2.1.2",
|
|
"webpack": "^4.20.2",
|
|
"webpack-command": "^0.4.1",
|
|
"webpack-node-externals": "^1.7.2",
|
|
"websocket": "^1.0.28"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "pretty-quick --staged"
|
|
}
|
|
},
|
|
"name": "harmony-sdk-core"
|
|
}
|
|
|