|
1 | 1 | { |
2 | 2 | "name": "eslint-plugin-testing-library", |
3 | 3 | "version": "0.0.0-semantically-released", |
4 | | - "description": "ESLint rules for Testing Library", |
| 4 | + "description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with Testing Library", |
5 | 5 | "keywords": [ |
6 | 6 | "eslint", |
7 | 7 | "eslintplugin", |
|
21 | 21 | "license": "MIT", |
22 | 22 | "author": { |
23 | 23 | "name": "Mario Beltrán Alarcón", |
24 | | - "email": "belco90@gmail.com", |
| 24 | + "email": "me@mario.dev", |
25 | 25 | "url": "https://mario.dev/" |
26 | 26 | }, |
27 | 27 | "main": "index.js", |
28 | 28 | "scripts": { |
| 29 | + "prebuild": "del-cli dist", |
29 | 30 | "build": "tsc", |
30 | 31 | "postbuild": "cpy README.md ./dist && cpy package.json ./dist && cpy LICENSE ./dist", |
31 | | - "docs:gen": "run-p \"docs:gen:*\"", |
32 | | - "docs:gen:configs": "ts-node tools/generate-configs", |
33 | | - "docs:gen:rules-list": "npm run build && npm run rule-doc-generator && npm run format", |
| 32 | + "generate-all": "run-p \"generate:*\"", |
| 33 | + "generate:configs": "ts-node tools/generate-configs", |
| 34 | + "generate:rules-doc": "npm run build && npm run rule-doc-generator", |
34 | 35 | "format": "npm run prettier-base -- --write", |
35 | 36 | "format:check": "npm run prettier-base -- --check", |
36 | 37 | "lint": "eslint . --max-warnings 0 --ext .js,.ts", |
|
41 | 42 | "semantic-release": "semantic-release", |
42 | 43 | "test": "jest", |
43 | 44 | "test:ci": "jest --ci --coverage", |
44 | | - "test:update": "npm run test -- --u", |
45 | 45 | "test:watch": "npm run test -- --watch", |
46 | 46 | "type-check": "tsc --noEmit" |
47 | 47 | }, |
|
59 | 59 | "@typescript-eslint/eslint-plugin": "^5.43.0", |
60 | 60 | "@typescript-eslint/parser": "^5.43.0", |
61 | 61 | "cpy-cli": "^4.2.0", |
| 62 | + "del-cli": "^5.0.0", |
62 | 63 | "eslint": "^8.28.0", |
63 | 64 | "eslint-config-kentcdodds": "^20.4.0", |
64 | 65 | "eslint-config-prettier": "^8.5.0", |
|
0 commit comments