|
23 | 23 | "lib/"
|
24 | 24 | ],
|
25 | 25 | "scripts": {
|
26 |
| - "build": "rm -rf lib/ && yarn build:types && babel src --out-dir lib --ignore '**/*.test.ts' --extensions '.ts'", |
27 |
| - "build:types": "tsc --emitDeclarationOnly --declaration --isolatedModules false --declarationDir lib", |
| 26 | + "build": "rm -rf lib/ && tsc --declaration", |
28 | 27 | "coverage": "jest --coverage",
|
29 | 28 | "lint": "eslint . --ext .js,.ts,.json --fix",
|
30 | 29 | "lint:ci": "eslint . --ext .js,.ts,.json",
|
|
41 | 40 | "prettier --write"
|
42 | 41 | ]
|
43 | 42 | },
|
44 |
| - "babel": { |
45 |
| - "extends": "@shelf/babel-config/backend" |
46 |
| - }, |
47 | 43 | "prettier": "@shelf/prettier-config",
|
48 | 44 | "jest": {
|
49 |
| - "preset": "./jest-preset.js" |
| 45 | + "preset": "./jest-preset.js", |
| 46 | + "transform": { |
| 47 | + "^.+\\.tsx?$": "ts-jest" |
| 48 | + } |
50 | 49 | },
|
51 | 50 | "dependencies": {
|
52 | 51 | "@shelf/elasticsearch-local": "3.2.0",
|
53 | 52 | "cwd": "0.10.0"
|
54 | 53 | },
|
55 | 54 | "devDependencies": {
|
56 |
| - "@babel/cli": "7.22.10", |
57 |
| - "@babel/core": "7.22.11", |
58 | 55 | "@elastic/elasticsearch": "8.4.0",
|
59 |
| - "@shelf/babel-config": "1.2.0", |
60 | 56 | "@shelf/eslint-config": "2.29.0",
|
61 | 57 | "@shelf/prettier-config": "0.0.7",
|
62 | 58 | "@shelf/tsconfig": "0.0.8",
|
|
68 | 64 | "jest": "28.1.3",
|
69 | 65 | "lint-staged": "13.3.0",
|
70 | 66 | "prettier": "2.8.8",
|
| 67 | + "ts-jest": "28.0.8", |
71 | 68 | "typescript": "5.1.6"
|
72 | 69 | },
|
73 | 70 | "engines": {
|
|
0 commit comments