diff --git a/package.json b/package.json index 983368d6..2edcb53e 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,7 @@ }, "files": [ "lib", - "build", - "!build/test", + "build/lib", "CHANGELOG.md", "LICENSE", "npm-shrinkwrap.json", @@ -96,7 +95,7 @@ "semantic-release": "^25.0.2", "sinon": "^21.0.0", "ts-node": "^10.9.1", - "typescript": "^5.4.2", + "typescript": "^6.0.2", "webdriverio": "^9.0.1" } } diff --git a/tsconfig.json b/tsconfig.json index ddf00b7f..3df58581 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,11 +2,16 @@ "$schema": "https://json.schemastore.org/tsconfig", "extends": "@appium/tsconfig/tsconfig.json", "compilerOptions": { - "strict": false, // TODO: make this flag true "outDir": "build", "types": ["node", "mocha"], "checkJs": true }, + "ts-node": { + "transpileOnly": true, + "compilerOptions": { + "rootDir": "." + } + }, "include": [ "lib", "test"