|
20 | 20 | "license": "MIT", |
21 | 21 | "main": "index", |
22 | 22 | "scripts": { |
23 | | - "prepublish": "safe-publish-latest", |
24 | | - "pretest": "npm run --silent lint && evalmd README.md", |
| 23 | + "prepublishOnly": "safe-publish-latest", |
| 24 | + "prepublish": "not-in-publish || npm run prepublishOnly", |
| 25 | + "pretest": "npm run lint", |
25 | 26 | "test": "npm run tests-only", |
26 | 27 | "posttest": "aud --production", |
27 | 28 | "tests-only": "nyc tape 'test/**/*.js'", |
28 | | - "lint": "eslint .", |
| 29 | + "prelint": "evalmd README.md", |
| 30 | + "lint": "eslint --ext=js,mjs .", |
29 | 31 | "postlint": "es-shim-api --bound" |
30 | 32 | }, |
31 | 33 | "repository": { |
|
49 | 51 | "es-abstract": "^1.19.0" |
50 | 52 | }, |
51 | 53 | "devDependencies": { |
52 | | - "@es-shims/api": "^2.2.1", |
53 | | - "@ljharb/eslint-config": "^18.0.0", |
| 54 | + "@es-shims/api": "^2.2.3", |
| 55 | + "@ljharb/eslint-config": "^20.1.0", |
54 | 56 | "aud": "^1.1.5", |
55 | 57 | "covert": "^1.1.1", |
56 | | - "eslint": "^7.32.0", |
57 | | - "evalmd": "0.0.19", |
| 58 | + "eslint": "^8.4.1", |
| 59 | + "evalmd": "^0.0.19", |
58 | 60 | "foreach": "^2.0.5", |
59 | 61 | "has-strict-mode": "^1.0.1", |
60 | 62 | "nyc": "^10.3.2", |
61 | | - "object-inspect": "^1.11.0", |
62 | | - "safe-publish-latest": "^1.1.4", |
63 | | - "tape": "^5.3.1" |
| 63 | + "object-inspect": "^1.11.1", |
| 64 | + "safe-publish-latest": "^2.0.0", |
| 65 | + "tape": "^5.3.2" |
64 | 66 | }, |
65 | 67 | "testling": { |
66 | 68 | "files": [ |
|
0 commit comments