|
1 | 1 | {
|
2 | 2 | "name": "hasown",
|
3 |
| - "version": "2.0.0", |
| 3 | + "version": "2.0.1", |
4 | 4 | "description": "A robust, ES3 compatible, \"has own property\" predicate.",
|
5 | 5 | "main": "index.js",
|
6 | 6 | "exports": {
|
7 | 7 | ".": "./index.js",
|
8 | 8 | "./package.json": "./package.json"
|
9 | 9 | },
|
| 10 | + "types": "index.d.ts", |
| 11 | + "sideEffects": false, |
10 | 12 | "scripts": {
|
11 |
| - "prepack": "npmignore --auto --commentLines=autogenerated && npm run emit-types", |
| 13 | + "prepack": "npmignore --auto --commentLines=autogenerated", |
12 | 14 | "prepublish": "not-in-publish || npm run prepublishOnly",
|
13 | 15 | "prepublishOnly": "safe-publish-latest",
|
14 | 16 | "prelint": "evalmd README.md",
|
15 | 17 | "lint": "eslint --ext=js,mjs .",
|
16 | 18 | "postlint": "npm run tsc",
|
17 |
| - "preemit-types": "rm -f *.ts *.ts.map test/*.ts test/*.ts.map", |
18 |
| - "emit-types": "npm run tsc -- --noEmit false --emitDeclarationOnly", |
19 | 19 | "pretest": "npm run lint",
|
20 | 20 | "tsc": "tsc -p .",
|
21 | 21 | "tests-only": "nyc tape 'test/**/*.js'",
|
|
51 | 51 | },
|
52 | 52 | "devDependencies": {
|
53 | 53 | "@ljharb/eslint-config": "^21.1.0",
|
54 |
| - "@types/function-bind": "^1.1.9", |
55 |
| - "@types/mock-property": "^1.0.1", |
56 |
| - "@types/tape": "^5.6.3", |
57 |
| - "aud": "^2.0.3", |
| 54 | + "@types/function-bind": "^1.1.10", |
| 55 | + "@types/mock-property": "^1.0.2", |
| 56 | + "@types/tape": "^5.6.4", |
| 57 | + "aud": "^2.0.4", |
58 | 58 | "auto-changelog": "^2.4.0",
|
59 | 59 | "eslint": "=8.8.0",
|
60 | 60 | "evalmd": "^0.0.19",
|
61 | 61 | "in-publish": "^2.0.1",
|
62 |
| - "mock-property": "^1.0.2", |
63 |
| - "npmignore": "^0.3.0", |
| 62 | + "mock-property": "^1.0.3", |
| 63 | + "npmignore": "^0.3.1", |
64 | 64 | "nyc": "^10.3.2",
|
65 | 65 | "safe-publish-latest": "^2.0.0",
|
66 |
| - "tape": "^5.7.1", |
67 |
| - "typescript": "^5.3.0-dev.20231019" |
| 66 | + "tape": "^5.7.4", |
| 67 | + "typescript": "next" |
68 | 68 | },
|
69 | 69 | "engines": {
|
70 | 70 | "node": ">= 0.4"
|
|
83 | 83 | "publishConfig": {
|
84 | 84 | "ignore": [
|
85 | 85 | ".github/workflows",
|
86 |
| - "test", |
87 |
| - "!*.d.ts", |
88 |
| - "!*.d.ts.map" |
| 86 | + "test" |
89 | 87 | ]
|
90 | 88 | }
|
91 | 89 | }
|
0 commit comments