-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
3,617 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import type { JestConfigWithTsJest } from "ts-jest"; | ||
|
||
const jestConfig: JestConfigWithTsJest = { | ||
preset: "ts-jest/presets/default-esm", | ||
testEnvironment: "node", | ||
transform: { | ||
"^.+\\.m?ts?$": ["ts-jest", { useESM: true }], | ||
}, | ||
extensionsToTreatAsEsm: [".ts"], | ||
moduleNameMapper: { | ||
"^(\\.{1,2}/.*)\\.js$": "$1", | ||
}, | ||
collectCoverage: true, | ||
coverageDirectory: 'spec/coverage' | ||
}; | ||
|
||
export default jestConfig; |
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,57 @@ | ||
{ | ||
"name": "@wtto00/android-tools", | ||
"version": "0.0.1", | ||
"description": "Node module for managing and controlling the Android Devices.", | ||
"type": "module", | ||
"main": "dist/lib/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/lib/index.js", | ||
"types": "./dist/index.d.ts" | ||
} | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"scripts": { | ||
"build": "rm -rf lib && rm -rf esm && rollup -c", | ||
"test": "jest --detectOpenHandles" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/wtto00/android-tools.git" | ||
}, | ||
"keywords": [ | ||
"android", | ||
"emulator", | ||
"control", | ||
"avd", | ||
"adb", | ||
"sdkmanager", | ||
"androidctrl" | ||
], | ||
"author": "wtto00 <[email protected]>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/wtto00/android-tools/issues" | ||
}, | ||
"homepage": "https://github.com/wtto00/android-tools#readme", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^25.0.4", | ||
"@rollup/plugin-node-resolve": "^15.2.1", | ||
"@rollup/plugin-typescript": "^11.1.3", | ||
"@types/jest": "^29.5.4", | ||
"@types/node": "^20.6.0", | ||
"@types/promise-retry": "^1.1.3", | ||
"jest": "^29.6.4", | ||
"promise-retry": "^2.0.1", | ||
"rollup": "^3.29.0", | ||
"rollup-plugin-dts": "^6.0.1", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"tslib": "^2.6.2", | ||
"typescript": "^5.2.2" | ||
} | ||
} |
Oops, something went wrong.