|
2 | 2 | "name": "eslint-plugin-tsc", |
3 | 3 | "version": "1.2.0", |
4 | 4 | "license": "MIT", |
5 | | - "description": "eslint-plugin-tsc", |
6 | | - "main": "dist/index.js", |
7 | | - "typings": "src/index.ts", |
| 5 | + "description": "Wraps a TypeScript compiler checks", |
| 6 | + "main": "index.js", |
| 7 | + "keywords": [ |
| 8 | + "eslint", |
| 9 | + "eslint-plugin", |
| 10 | + "eslintplugin", |
| 11 | + "eslint-rules", |
| 12 | + "typescript", |
| 13 | + "typescript-service" |
| 14 | + ], |
8 | 15 | "scripts": { |
9 | 16 | "test": "npm run eslint && npm run tscheck && npm run test:r", |
10 | | - "test:r": "npm run mocha -- src/*.spec.ts", |
11 | | - "mocha": "node -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha --timeout 5000", |
12 | | - "test:w": "npm run mocha -- --watch-extensions ts --watch src/**/*.spec.ts", |
13 | | - "test:d": "node --inspect-brk -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha --no-timeouts src/**/*.spec.ts", |
| 17 | + "test:r": "mocha -r ts-node/register/transpile-only --no-timeouts src/**/*.spec.ts", |
| 18 | + "test:w": "mocha -r ts-node/register/transpile-only --watch-files src/**/*.ts --watch src/**/*.spec.ts", |
| 19 | + "test:d": "node --inspect-brk -r ts-node/register/transpile-only node_modules/mocha/bin/_mocha --no-timeouts --watch-files src/**/*.ts --watch src/**/*.spec.ts", |
14 | 20 | "tscheck": "echo tscheck... && tsc --noEmit", |
15 | 21 | "tscheck:w": "npm run tscheck -- --watch", |
16 | 22 | "tsclint": "tsc --noEmit --pretty false --strictNullChecks --forceConsistentCasingInFileNames --noImplicitReturns --noImplicitThis --noUnusedLocals --noUnusedParameters", |
17 | 23 | "tsclint:w": "npm run tsclint -- --watch", |
18 | | - "eslint": "eslint src --ext ts", |
19 | | - "eslint:fix": "eslint src --ext \"ts\" --fix", |
20 | | - "eslint:w": "chokidar \"src/**/*.ts\" --initial -c \"npm run eslint\"", |
21 | | - "semantic-release": "semantic-release", |
22 | | - "prepublishOnly": "npm run build && sed -i -e 's/devDependencies/_devDependencies/g' package.json", |
23 | | - "build": "tsc", |
24 | | - "prebuild": "npm run clean", |
25 | | - "clean": "rimraf dist", |
26 | | - "commit": "git-cz" |
| 24 | + "eslint": "node node_modules/eslint/bin/eslint \"src/**/*.{ts,tsx}\"", |
| 25 | + "eslint:w": "watchexec -w src \"npm run eslint\"", |
| 26 | + "eslint:fix": "npm run eslint -- --fix", |
| 27 | + "build": "sh Taskfile build", |
| 28 | + "prettier:format": "npx prettier src --write" |
27 | 29 | }, |
28 | 30 | "dependencies": { |
29 | 31 | "typescript-service": "^2.0.3" |
|
34 | 36 | "@semantic-release/npm": "^7.0.6", |
35 | 37 | "@types/eslint": "^7.2.2", |
36 | 38 | "@types/mocha": "^8.0.3", |
37 | | - "@types/node": "^14.10.1", |
38 | | - "chokidar-cli": "^2.1.0", |
39 | | - "conventional-changelog-eslint": "^3.0.8", |
40 | | - "cz-adapter-eslint": "^0.3.0", |
| 39 | + "@types/node": "^14.10.2", |
| 40 | + "@typescript-eslint/parser": "^4.1.1", |
41 | 41 | "eslint": "^7.9.0", |
42 | | - "eslint-plugin-import": "^2.22.0", |
43 | | - "eslint-plugin-typescript": "^0.14.0", |
44 | 42 | "eslint-plugin-unicorn": "^21.0.0", |
45 | 43 | "mocha": "^8.1.3", |
46 | | - "rimraf": "^3.0.2", |
| 44 | + "prettier": "^2.1.1", |
47 | 45 | "semantic-release": "^17.1.1", |
48 | 46 | "ts-node": "^9.0.0", |
49 | | - "typescript": "4.0.2", |
50 | | - "@typescript-eslint/parser": "^4.1.1" |
| 47 | + "typescript": "^4.0.2", |
| 48 | + "typescript-service": "^2.0.3", |
| 49 | + "watchexec-bin": "^1.0.0" |
51 | 50 | }, |
52 | 51 | "engines": { |
53 | 52 | "node": ">=12", |
54 | 53 | "npm": ">=6" |
55 | 54 | }, |
56 | 55 | "repository": { |
57 | 56 | "type": "git", |
58 | | - "url": "https://github.com/unlight/eslint-plugin-tsc.git" |
| 57 | + "url": "git+https://github.com/unlight/eslint-plugin-tsc.git" |
59 | 58 | }, |
60 | | - "keywords": [], |
61 | | - "release": { |
62 | | - "generateNotes": { |
63 | | - "preset": "eslint" |
64 | | - }, |
65 | | - "analyzeCommits": { |
66 | | - "preset": "eslint" |
67 | | - }, |
68 | | - "verifyConditions": [ |
69 | | - "@semantic-release/changelog", |
70 | | - "@semantic-release/github", |
71 | | - "@semantic-release/npm", |
72 | | - "@semantic-release/git" |
73 | | - ], |
74 | | - "prepare": [ |
75 | | - "@semantic-release/changelog", |
76 | | - "@semantic-release/npm", |
77 | | - "@semantic-release/git" |
78 | | - ], |
79 | | - "publish": [ |
80 | | - "@semantic-release/npm", |
81 | | - "@semantic-release/github" |
82 | | - ], |
83 | | - "success": [ |
84 | | - "@semantic-release/github" |
85 | | - ], |
86 | | - "fail": [ |
87 | | - "@semantic-release/github" |
88 | | - ] |
| 59 | + "bugs": { |
| 60 | + "url": "https://github.com/unlight/eslint-plugin-tsc/issues" |
89 | 61 | }, |
90 | | - "config": { |
91 | | - "commitizen": { |
92 | | - "path": "./node_modules/cz-adapter-eslint" |
93 | | - } |
94 | | - } |
| 62 | + "homepage": "https://github.com/unlight/eslint-plugin-tsc#readme" |
95 | 63 | } |
0 commit comments