|
36 | 36 | "export"
|
37 | 37 | ],
|
38 | 38 | "scripts": {
|
39 |
| - "build": "rimraf lib && babel src -d lib", |
| 39 | + "build": "rimraf lib && babel src -s -d lib", |
40 | 40 | "lint": "yarn build && eslint . --cache",
|
41 | 41 | "prepare": "patch-package && yarn-deduplicate -s fewer",
|
| 42 | + "test": "jest", |
42 | 43 | "update:eslint-docs": "yarn build && eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --rule-list-split meta.docs.category --ignore-config stage-0 --config-emoji recommended,☑️"
|
43 | 44 | },
|
44 | 45 | "peerDependencies": {
|
45 | 46 | "eslint": "^7.2.0 || ^8"
|
46 | 47 | },
|
47 | 48 | "dependencies": {
|
48 | 49 | "debug": "^4.3.4",
|
| 50 | + "doctrine": "^3.0.0", |
49 | 51 | "enhanced-resolve": "^5.15.0",
|
50 | 52 | "get-tsconfig": "^4.7.2",
|
51 | 53 | "is-glob": "^4.0.3",
|
52 |
| - "minimatch": "^3.1.2", |
53 |
| - "semver": "^7.5.4" |
| 54 | + "minimatch": "^3.1.2" |
54 | 55 | },
|
55 | 56 | "devDependencies": {
|
56 | 57 | "@1stg/babel-preset": "^4.0.0",
|
57 | 58 | "@1stg/prettier-config": "^4.0.1",
|
| 59 | + "@angular-eslint/template-parser": "^17.2.0", |
58 | 60 | "@babel/cli": "^7.23.4",
|
59 | 61 | "@babel/core": "^7.23.7",
|
60 | 62 | "@babel/eslint-parser": "^7.23.3",
|
61 | 63 | "@babel/plugin-proposal-export-default-from": "^7.23.3",
|
| 64 | + "@babel/preset-flow": "^7.23.3", |
62 | 65 | "@babel/preset-react": "^7.23.3",
|
| 66 | + "@eslint/import-test-order-redirect-scoped": "link:./test/fixtures/order-redirect-scoped", |
| 67 | + "@test-scope/some-module": "link:./test/fixtures/symlinked-module", |
63 | 68 | "@types/eslint": "^8.56.2",
|
64 | 69 | "@types/eslint7": "npm:@types/eslint@7",
|
65 | 70 | "@types/jest": "^29.5.11",
|
| 71 | + "@typescript-eslint/parser": "^6.19.0", |
66 | 72 | "eslint": "^8.56.0",
|
67 | 73 | "eslint-config-prettier": "^9.1.0",
|
68 | 74 | "eslint-module-utils": "link:utils",
|
|
76 | 82 | "patch-package": "^8.0.0",
|
77 | 83 | "prettier": "^3.2.4",
|
78 | 84 | "rimraf": "^5.0.5",
|
| 85 | + "semver": "^7.5.4", |
| 86 | + "typescript": "^5.3.3", |
79 | 87 | "yarn-deduplicate": "^6.0.2"
|
| 88 | + }, |
| 89 | + "jest": { |
| 90 | + "collectCoverage": true, |
| 91 | + "modulePathIgnorePatterns": [ |
| 92 | + "<rootDir>/test/fixtures/with-syntax-error" |
| 93 | + ], |
| 94 | + "moduleNameMapper": { |
| 95 | + "^core/(.+)$": "<rootDir>/src/core/$1", |
| 96 | + "^rules/(.+)$": "<rootDir>/src/rules/$1" |
| 97 | + }, |
| 98 | + "testMatch": [ |
| 99 | + "<rootDir>/test/src/**/*.spec.js" |
| 100 | + ] |
80 | 101 | }
|
81 | 102 | }
|
0 commit comments