-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add lerna and move build deps to root
This adds the `lerna` package, and moves all build dependencies to the root package.json.
- Loading branch information
1 parent
438a32a
commit 1db6377
Showing
9 changed files
with
5,717 additions
and
4,663 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"lerna": "2.9.0", | ||
"packages": ["packages/*"], | ||
"version": "0.0.0", | ||
"npmClient": "yarn" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"private": true, | ||
"devDependencies": { | ||
"@types/jest": "^22.2.2", | ||
"@types/node": "^9.6.0", | ||
"babel-jest": "^22.4.3", | ||
"coveralls": "^2.13.1", | ||
"fetch-mock": "^5.12.1", | ||
"jest": "^22.4.3", | ||
"lerna": "^2.9.0", | ||
"prettier": "^1.11.1", | ||
"rimraf": "^2.6.2", | ||
"semantic-release": "^8.0.3", | ||
"ts-jest": "^22.4.2", | ||
"ts-node": "^3.3.0", | ||
"tslint": "^5.5.0", | ||
"tslint-config-airbnb": "^5.2.1", | ||
"tslint-config-prettier": "^1.10.0", | ||
"tslint-react": "^3.5.1", | ||
"typescript": "^2.4.2" | ||
}, | ||
"scripts": { | ||
"build": "rimraf packages/hn/lib && tsc", | ||
"test": "jest --coverage", | ||
"start": "yarn build -- --watch", | ||
"lint": | ||
"prettier 'packages/**/src/**/*.{js,ts,tsx}' -l && tslint 'packages/**/src/**/*.{js,ts,tsx}'", | ||
"lint:fix": | ||
"prettier 'packages/**/src/**/*.{js,ts,tsx}' --write -l && tslint 'packages/**/src/**/*.{js,ts,tsx}' --fix", | ||
"postinstall": "lerna bootstrap" | ||
}, | ||
"dependencies": {}, | ||
"jest": { | ||
"collectCoverageFrom": ["packages/*/src/**/*.{js,ts,tsx}"], | ||
"coverageReporters": ["lcov", "text"], | ||
"transform": { | ||
"^.+\\.(j|t)sx?$": "ts-jest" | ||
}, | ||
"testRegex": "src/.*(__tests__/.*|(\\.|/)(test|spec))\\.(j|t)sx?$", | ||
"moduleFileExtensions": ["ts", "tsx", "js", "json", "node"], | ||
"projects": ["<rootDir>/packages/hn"] | ||
}, | ||
"prettier": { | ||
"printWidth": 80, | ||
"singleQuote": true, | ||
"trailingComma": "all" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.