Summary: Adds a new package with typescript set up, to be published to npm. Followed this as a guideline: https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c Reviewed By: passy Differential Revision: D18244495 fbshipit-source-id: c684f0bb33e61699f605c637186c7a81136a920f
8 lines
196 B
JSON
8 lines
196 B
JSON
{
|
|
"transform": {
|
|
"^.+\\.(t|j)sx?$": "ts-jest"
|
|
},
|
|
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
|
|
}
|