[chore] update README.md

@types
neeboo 6 years ago
parent 2ab5f5af5c
commit 983d1bffab
  1. 10
      README.md
  2. 2
      package.json

@ -12,6 +12,16 @@ It's a mono-repo library, not yet published to npm.
4. [harmony-utils](https://github.com/FireStack-Lab/Harmony-sdk-core/tree/master/packages/harmony-utils)
# Usage
1. git clone and make sure you have `node.js` and `yarn` installed
2. cleanup and build
```bash
yarn install && yarn bootstrap && yarn dist
```
3. open folder `examples` and `node testNode.js`
# Example
** This package is not published to npm **

@ -10,7 +10,7 @@
"packages:browser": "yarn packages:cleanBrowser && rollup --c scripts/rollup/bundleBrowser.js",
"packages:bundler": "yarn packages:cleanServer && yarn build:ts && ts-node -P scripts/tsconfig.json scripts/bundle.ts",
"dist": "yarn packages:bundler && rm -rf dist && cross-env NODE_ENV=production webpack --config webpack.config.js",
"bootstrap": "lerna bootstrap && yarn build",
"bootstrap": "lerna bootstrap",
"build": "yarn build:proto && yarn build:ts",
"build:ts": "tsc -b tsconfig.json",
"bundle": "ts-node -P scripts/tsconfig.json scripts/bundle.ts umd,esm",

Loading…
Cancel
Save