|
18 | 18 | "bin": { |
19 | 19 | "ember-no-implicit-this-codemod": "./bin/cli.js" |
20 | 20 | }, |
| 21 | + "files": [ |
| 22 | + "/bin", |
| 23 | + "/helpers/**/*.js", |
| 24 | + "/transforms/no-implicit-this/index.js", |
| 25 | + "/transforms/no-implicit-this/helpers/**/*.js" |
| 26 | + ], |
21 | 27 | "scripts": { |
22 | 28 | "build": "tsc", |
23 | 29 | "clean": "tsc --build --clean", |
|
27 | 33 | "debug:codemod:not-working": "node --inspect-brk ./bin/cli", |
28 | 34 | "debug:telemetry": "node --inspect-brk ./bin/telemetry.js", |
29 | 35 | "lint:js": "eslint .", |
30 | | - "test": "jest", |
31 | 36 | "lint:ts": "tsc --noEmit", |
32 | | - "postpublish": "yarn clean", |
33 | 37 | "prepublishOnly": "yarn build", |
| 38 | + "release": "release-it", |
| 39 | + "test": "jest", |
| 40 | + "pretest:integration": "yarn build", |
34 | 41 | "test:integration": "ts-node ./test/run-test.ts", |
35 | 42 | "update-docs": "codemod-cli update-docs" |
36 | 43 | }, |
37 | 44 | "jest": { |
| 45 | + "preset": "ts-jest", |
38 | 46 | "testEnvironment": "node", |
39 | 47 | "testMatch": [ |
40 | | - "<rootDir>/transforms/**/test.js" |
| 48 | + "<rootDir>/transforms/**/test.{js,ts}" |
41 | 49 | ] |
42 | 50 | }, |
43 | 51 | "dependencies": { |
44 | | - "codemod-cli": "^2.1.0", |
| 52 | + "@babel/core": "^7.21.8", |
| 53 | + "@babel/preset-env": "^7.21.5", |
| 54 | + "codemod-cli": "^3.2.0", |
45 | 55 | "debug": "^4.1.1", |
46 | 56 | "ember-codemods-telemetry-helpers": "^3.0.0", |
47 | | - "ember-template-recast": "^3.3.2" |
| 57 | + "ember-template-recast": "^6.1.4" |
48 | 58 | }, |
49 | 59 | "devDependencies": { |
50 | 60 | "@tsconfig/node16": "^1.0.4", |
51 | 61 | "@tsconfig/strictest": "^2.0.1", |
52 | 62 | "@types/chalk": "^2.2.0", |
53 | 63 | "@types/common-tags": "^1.8.0", |
| 64 | + "@types/debug": "^4.1.8", |
| 65 | + "@types/jscodeshift": "^0.11.6", |
54 | 66 | "@types/node": "^20.11.5", |
55 | 67 | "@typescript-eslint/eslint-plugin": "^5.59.7", |
56 | 68 | "@typescript-eslint/parser": "^5.59.7", |
|
62 | 74 | "eslint-config-prettier": "^6.15.0", |
63 | 75 | "eslint-plugin-prettier": "^3.4.0", |
64 | 76 | "execa": "^3.4.0", |
65 | | - "jest": "^26.6.3", |
| 77 | + "jest": "^29.1.0", |
66 | 78 | "prettier": "^1.19.1", |
67 | 79 | "release-plan": "^0.6.0", |
| 80 | + "ts-jest": "^29.1.0", |
68 | 81 | "ts-node": "^10.9.1", |
69 | 82 | "typescript": "~5.0.4" |
70 | 83 | }, |
|
0 commit comments