|
1 | 1 | {
|
2 | 2 | "name": "function-bind",
|
3 |
| - "version": "1.1.1", |
| 3 | + "version": "1.1.2", |
4 | 4 | "description": "Implementation of Function.prototype.bind",
|
5 | 5 | "keywords": [
|
6 | 6 | "function",
|
|
9 | 9 | "es5"
|
10 | 10 | ],
|
11 | 11 | "author": "Raynos <raynos2@gmail.com>",
|
12 |
| - "repository": "git://github.com/Raynos/function-bind.git", |
| 12 | + "repository": { |
| 13 | + "type": "git", |
| 14 | + "url": "https://github.com/Raynos/function-bind.git" |
| 15 | + }, |
| 16 | + "funding": { |
| 17 | + "url": "https://github.com/sponsors/ljharb" |
| 18 | + }, |
13 | 19 | "main": "index",
|
14 | 20 | "homepage": "https://github.com/Raynos/function-bind",
|
15 | 21 | "contributors": [
|
|
25 | 31 | "url": "https://github.com/Raynos/function-bind/issues",
|
26 | 32 | "email": "raynos2@gmail.com"
|
27 | 33 | },
|
28 |
| - "dependencies": {}, |
29 | 34 | "devDependencies": {
|
30 |
| - "@ljharb/eslint-config": "^12.2.1", |
31 |
| - "covert": "^1.1.0", |
32 |
| - "eslint": "^4.5.0", |
33 |
| - "jscs": "^3.0.7", |
34 |
| - "tape": "^4.8.0" |
| 35 | + "@ljharb/eslint-config": "^21.1.0", |
| 36 | + "aud": "^2.0.3", |
| 37 | + "auto-changelog": "^2.4.0", |
| 38 | + "eslint": "=8.8.0", |
| 39 | + "in-publish": "^2.0.1", |
| 40 | + "npmignore": "^0.3.0", |
| 41 | + "nyc": "^10.3.2", |
| 42 | + "safe-publish-latest": "^2.0.0", |
| 43 | + "tape": "^5.7.1" |
35 | 44 | },
|
36 | 45 | "license": "MIT",
|
37 | 46 | "scripts": {
|
| 47 | + "prepublishOnly": "safe-publish-latest", |
| 48 | + "prepublish": "not-in-publish || npm run prepublishOnly", |
| 49 | + "prepack": "npmignore --auto --commentLines=autogenerated", |
38 | 50 | "pretest": "npm run lint",
|
39 | 51 | "test": "npm run tests-only",
|
40 |
| - "posttest": "npm run coverage -- --quiet", |
41 |
| - "tests-only": "node test", |
42 |
| - "coverage": "covert test/*.js", |
43 |
| - "lint": "npm run jscs && npm run eslint", |
44 |
| - "jscs": "jscs *.js */*.js", |
45 |
| - "eslint": "eslint *.js */*.js" |
| 52 | + "posttest": "aud --production", |
| 53 | + "tests-only": "nyc tape 'test/**/*.js'", |
| 54 | + "lint": "eslint --ext=js,mjs .", |
| 55 | + "version": "auto-changelog && git add CHANGELOG.md", |
| 56 | + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" |
46 | 57 | },
|
47 | 58 | "testling": {
|
48 | 59 | "files": "test/index.js",
|
|
59 | 70 | "iphone/6.0..latest",
|
60 | 71 | "android-browser/4.2..latest"
|
61 | 72 | ]
|
| 73 | + }, |
| 74 | + "auto-changelog": { |
| 75 | + "output": "CHANGELOG.md", |
| 76 | + "template": "keepachangelog", |
| 77 | + "unreleased": false, |
| 78 | + "commitLimit": false, |
| 79 | + "backfillLimit": false, |
| 80 | + "hideCredit": true |
| 81 | + }, |
| 82 | + "publishConfig": { |
| 83 | + "ignore": [ |
| 84 | + ".github/workflows" |
| 85 | + ] |
62 | 86 | }
|
63 | 87 | }
|
0 commit comments