|
5 | 5 | "main": "index.js",
|
6 | 6 | "sideEffects": false,
|
7 | 7 | "scripts": {
|
8 |
| - "version": "auto-changelog && git add CHANGELOG.md", |
9 |
| - "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"", |
| 8 | + "prepack": "npmignore --auto --commentLines=autogenerated", |
10 | 9 | "prepublishOnly": "safe-publish-latest",
|
11 | 10 | "prepublish": "not-in-publish || npm run prepublishOnly",
|
12 | 11 | "pretest": "npm run lint",
|
|
16 | 15 | "tests:shims": "nyc tape --require=es5-shim --require=es5-shim 'test/**/*.js'",
|
17 | 16 | "tests:corejs": "nyc tape --require=core-js 'test/**/*.js'",
|
18 | 17 | "test": "npm run tests-only && npm run tests:shims && npm run tests:corejs",
|
19 |
| - "posttest": "npx npm@\">= 10.2\" audit --production" |
| 18 | + "posttest": "npx npm@\">= 10.2\" audit --production", |
| 19 | + "version": "auto-changelog && git add CHANGELOG.md", |
| 20 | + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" |
20 | 21 | },
|
21 | 22 | "repository": {
|
22 | 23 | "type": "git",
|
|
54 | 55 | "eslint": "=8.8.0",
|
55 | 56 | "for-each": "^0.3.3",
|
56 | 57 | "in-publish": "^2.0.1",
|
| 58 | + "npmignore": "^0.3.1", |
57 | 59 | "nyc": "^10.3.2",
|
58 | 60 | "object-inspect": "^1.13.3",
|
59 | 61 | "safe-publish-latest": "^2.0.0",
|
60 | 62 | "safeset": "^1.0.1",
|
61 | 63 | "tape": "^5.9.0",
|
62 | 64 | "typescript": "next"
|
63 | 65 | },
|
| 66 | + "engines": { |
| 67 | + "node": ">= 0.4" |
| 68 | + }, |
64 | 69 | "auto-changelog": {
|
65 | 70 | "output": "CHANGELOG.md",
|
66 | 71 | "template": "keepachangelog",
|
|
69 | 74 | "backfillLimit": false,
|
70 | 75 | "hideCredit": true
|
71 | 76 | },
|
72 |
| - "engines": { |
73 |
| - "node": ">= 0.4" |
| 77 | + "publishConfig": { |
| 78 | + "ignore": [ |
| 79 | + ".github/workflows" |
| 80 | + ] |
| 81 | + }, |
| 82 | + "testling": { |
| 83 | + "files": "test/index.js" |
74 | 84 | }
|
75 | 85 | }
|
0 commit comments