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.
146 lines
6.1 KiB
146 lines
6.1 KiB
{
|
|
"description": "Root repository for the harmony-sdk-core",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap && yarn build",
|
|
"watch": "yarn build:ts -w",
|
|
"build": "yarn packages:clean && lerna clean -y && 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",
|
|
"bundle:webpack": "rm -rf dist && cross-env NODE_ENV=production ts-node -P scripts/tsconfig.json scripts/webpack.ts",
|
|
"clean": "lerna clean --yes && lerna run clean && rimraf includes && yarn packages:clean",
|
|
"dist": "yarn packages:bundler && yarn bundle:webpack",
|
|
"packages:cleanUnexpected": "gulp cleanUnexpected",
|
|
"packages:clean": "gulp cleanServer && yarn packages: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",
|
|
"docs:vue": "ts-node -P scripts/tsconfig.json scripts/docs.ts vuepress",
|
|
"docs:gitbook": "ts-node -P scripts/tsconfig.json scripts/docs.ts gitbook",
|
|
"docs:docusaurus": "ts-node -P scripts/tsconfig.json scripts/docs.ts docusaurus",
|
|
"docs:bitbucket": "ts-node -P scripts/tsconfig.json scripts/docs.ts bitbucket",
|
|
"docs:default": "ts-node -P scripts/tsconfig.json scripts/docs.ts default",
|
|
"docs:clean": "gulp cleanDocs",
|
|
"docs:bundler": "yarn packages:cleanDocs && yarn docs:build",
|
|
"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 && yarn packages:cleanUnexpected && 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",
|
|
"@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/text-encoding": "0.0.35",
|
|
"@types/uuid": "^3.4.4",
|
|
"@types/valid-url": "^1.0.2",
|
|
"@types/webpack": "^4.4.17",
|
|
"@types/websocket": "^0.0.40",
|
|
"arg": "^4.1.1",
|
|
"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",
|
|
"cross-spawn": "^6.0.5",
|
|
"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",
|
|
"gulp-typedoc": "^2.2.2",
|
|
"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",
|
|
"jsdoc": "^3.6.3",
|
|
"lerna": "^3.2.1",
|
|
"mitt": "^1.1.3",
|
|
"mkdirp": "^0.5.1",
|
|
"prettier": "^1.18.2",
|
|
"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-jsdoc": "^0.1.1",
|
|
"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",
|
|
"terser-webpack-plugin": "^2.1.2",
|
|
"ts-jest": "^23.1.3",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.15.0",
|
|
"typedoc": "^0.15.0",
|
|
"typedoc-plugin-markdown": "^2.1.0",
|
|
"typescript": "^3.2",
|
|
"typescript-json-schema": "^0.36.0",
|
|
"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",
|
|
"dependencies": {
|
|
"text-encoding": "^0.7.0"
|
|
}
|
|
}
|
|
|