UNPKG

1.42 kBJSONView Raw
1{
2 "name": "safe-publish-latest",
3 "version": "1.1.2",
4 "author": "Jordan Harband",
5 "contributors": [
6 {
7 "name": "Jordan Harband",
8 "email": "ljharb@gmail.com",
9 "url": "http://ljharb.codes"
10 }
11 ],
12 "description": "Ensure that when you `npm publish`, the \"latest\" tag is only set for the truly latest version.",
13 "license": "MIT",
14 "bin": "bin/safe-publish-latest",
15 "main": "getLatestError.js",
16 "scripts": {
17 "pretest": "npm run --silent lint",
18 "prepublish": "bin/safe-publish-latest",
19 "test": "npm run --silent tests-only",
20 "posttest": "npm run --silent security",
21 "tests-only": "tape 'test/*'",
22 "prelint": "editorconfig-tools check * bin/* test/*",
23 "lint": "npm run --silent eslint",
24 "eslint": "eslint *.js test/*.js",
25 "security": "nsp check"
26 },
27 "repository": {
28 "type": "git",
29 "url": "git://github.com/ljharb/safe-publish-latest.git"
30 },
31 "bugs": {
32 "url": "https://github.com/ljharb/safe-publish-latest/issues"
33 },
34 "keywords": [
35 "publish",
36 "latest",
37 "npm",
38 "dist-tag",
39 "tag",
40 "safe",
41 "prepublish"
42 ],
43 "dependencies": {
44 "in-publish": "^2.0.0",
45 "semver": "^5.5.0",
46 "yargs": "^7.1.0"
47 },
48 "devDependencies": {
49 "@ljharb/eslint-config": "^13.0.0",
50 "editorconfig-tools": "^0.1.1",
51 "eslint": "^5.3.0",
52 "mock-env": "^0.2.0",
53 "nsp": "^3.2.1",
54 "tape": "^4.9.1"
55 },
56 "engines": {
57 "node": ">= 0.10"
58 },
59 "greenkeeper": {
60 "ignore": [
61 "yargs"
62 ]
63 }
64}