build(root): build memory optimization
MODIFY
.travis.yml
.travis.yml
@@ -19,7 +19,6 @@ install:
- yarn
script:
- - yarn test:coverage
- codecov
branches:

MODIFY
package.json
package.json
"version": "1.0.0-rc.2",
"description": "Reactive Node APIs made easy",
"scripts": {
- "postinstall": "yarn build && yarn test",
+ "postinstall": "yarn build && sleep 5s && yarn test",
"build": "lerna run build",
"benchmark": "make -C benchmarks",
"watch": "lerna run --parallel --stream watch",
"lint": "tslint --config tslint.json",
- "test": "jest --expand",
- "test:coverage": "SCOPE=unit jest --expand --coverage",
+ "test": "SCOPE=unit jest --expand --coverage",
"test:watch": "jest --expand --onlyChanged --watch",
"clean": "lerna run clean",
"prepublishOnly": "yarn clean && yarn build && yarn test",

MODIFY
packages/core/package.json
packages/core/package.json
"start": "yarn watch",
"watch": "webpack -w",
"build": "webpack",
- "prepare": "yarn build",
"clean": "rimraf dist",
- "prepack": "cp ../../README.md ./ && yarn build"
+ "test": "jest --config ../../jest.config.js",
+ "prepack": "cp ../../README.md ./"
},
"files": [
"dist/"

MODIFY
packages/middleware-body/package.json
packages/middleware-body/package.json
"start": "yarn watch",
"watch": "webpack -w",
"build": "webpack",
- "clean": "rimraf dist",
- "prepack": "yarn build",
- "prepare": "yarn build"
+ "test": "jest --config ../../jest.config.js",
+ "clean": "rimraf dist"
},
"files": [
"dist/"

MODIFY
packages/middleware-joi/package.json
packages/middleware-joi/package.json
"watch": "webpack -w",
"build": "webpack",
"test": "jest --config ../../jest.config.js",
- "clean": "rimraf dist",
- "prepack": "yarn build",
- "prepare": "yarn build"
+ "clean": "rimraf dist"
},
"files": [
"dist/"

MODIFY
packages/middleware-logger/package.json
packages/middleware-logger/package.json
"watch": "webpack -w",
"build": "webpack",
"clean": "rimraf dist",
- "prepack": "yarn build",
- "prepare": "yarn build"
+ "test": "jest --config ../../jest.config.js"
},
"files": [
"dist/"

build(root): build memory optimization