Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8c2019b

Browse files
committed
[meta] addsafe-publish-latest; useprepublishOnly script for npm 7+
1 parent8e758b9 commit8c2019b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎package.json‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"./package.json":"./package.json"
99
},
1010
"scripts": {
11+
"prepublishOnly":"safe-publish-latest",
12+
"prepublish":"not-in-publish || npm run prepublishOnly",
1113
"lint":"eslint --ext=.js,.mjs .",
1214
"pretest":"npm run lint",
1315
"tests-only":"nyc tape 'test/**/*.js'",
@@ -44,6 +46,7 @@
4446
"auto-changelog":"^2.2.1",
4547
"eslint":"^7.20.0",
4648
"nyc":"^10.3.2",
49+
"safe-publish-latest":"^1.1.4",
4750
"semver":"^6.3.0",
4851
"tape":"^5.1.1"
4952
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp