-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
91 lines (91 loc) · 2.22 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "safe-publish-latest",
"version": "2.0.0",
"author": "Jordan Harband <ljharb@gmail.com>",
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"contributors": [
{
"name": "Jordan Harband",
"email": "ljharb@gmail.com",
"url": "http://ljharb.codes"
}
],
"description": "Ensure that when you `npm publish`, the \"latest\" tag is only set for the truly latest version.",
"license": "MIT",
"bin": "bin/safe-publish-latest",
"main": "./getLatestError.js",
"exports": {
".": "./getLatestError.js",
"./package.json": "./package.json"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
"pretest": "npm run --silent lint",
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "bin/safe-publish-latest",
"test": "npm run --silent tests-only",
"posttest": "aud --production",
"tests-only": "nyc tape 'test/*'",
"prelint": "eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\.git')",
"lint": "eslint --ext=js,mjs bin/* .",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
"repository": {
"type": "git",
"url": "git://github.com/ljharb/safe-publish-latest.git"
},
"bugs": {
"url": "https://github.com/ljharb/safe-publish-latest/issues"
},
"keywords": [
"publish",
"latest",
"npm",
"dist-tag",
"tag",
"safe",
"prepublish"
],
"dependencies": {
"in-publish": "^2.0.1",
"semver": "^7.3.8",
"yargs": "^17.6.0"
},
"devDependencies": {
"@ljharb/eslint-config": "^21.0.0",
"aud": "^2.0.1",
"auto-changelog": "^2.4.0",
"eclint": "^2.8.1",
"eslint": "=8.8.0",
"mock-env": "^0.2.0",
"npmignore": "^0.3.0",
"nyc": "^15.1.0",
"tape": "^5.6.1"
},
"engines": {
"node": ">= 12"
},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "keepachangelog",
"unreleased": false,
"commitLimit": false,
"backfillLimit": false,
"hideCredit": true,
"startingVersion": "v2.0.0"
},
"greenkeeper": {
"ignore": [
"semver",
"yargs"
]
},
"publishConfig": {
"ignore": [
".github/workflows"
]
}
}