Skip to content

Commit 621ced5

Browse files
authored
Merge pull request #7 from seebees/update-meta-package
Updates to the monorepo
2 parents 6289982 + 2186737 commit 621ced5

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@
66
package-lock.json
77
/.nyc_output
88
/coverage
9+
modules/**/node_modules
10+
modules/**/build

package.json

+11-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"bootstrap": "lerna bootstrap",
99
"clean": "npm run clear-build-cache && lerna clean",
1010
"clear-build-cache": "rimraf ./modules/*/build/*",
11+
"lint": "standard modules/**/src/*.ts modules/**/test/**/*.ts",
1112
"build": "tsc -b",
12-
"pretest": "npm build",
1313
"test": "mocha --require ts-node/register modules/**/test/*test.ts"
1414
},
1515
"repository": {
@@ -19,15 +19,24 @@
1919
"author": "[email protected]",
2020
"license": "UNLICENSED",
2121
"dependencies": {
22+
"@typescript-eslint/eslint-plugin": "^1.4.2",
23+
"@typescript-eslint/parser": "^1.4.2",
2224
"chai": "^4.1.2",
2325
"lerna": "^2.11.0",
2426
"mocha": "^5.2.0",
2527
"rimraf": "^2.6.2",
28+
"standard": "^12.0.1",
2629
"ts-node": "^7.0.1",
2730
"tslib": "^1.9.3",
2831
"typescript": "^3.2.0"
2932
},
3033
"workspaces": [
3134
"modules/*"
32-
]
35+
],
36+
"standard": {
37+
"parser": "@typescript-eslint/parser",
38+
"plugins": [
39+
"@typescript-eslint"
40+
]
41+
}
3342
}

tsconfig.json

+13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
{
2+
"extends": "./modules/tsconfig.settings.json",
23
"files": [],
34
"references": [
45

6+
7+
8+
9+
10+
11+
12+
13+
14+
15+
16+
17+
518
]
619
}

wallaby.conf.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11

2-
const compilerOptions = Object.assign(
3-
{"esModuleInterop": true}
4-
)
2+
const compilerOptions = Object.assign({
3+
"esModuleInterop": true,
4+
"target": "esnext",
5+
"module": "commonjs",
6+
})
57

68
module.exports = function (wallaby) {
79
return {

0 commit comments

Comments
 (0)