Skip to content

Commit 7c0ee5b

Browse files
committed
Use prepack instead of prepublishOnly
See eslint-community/eslint-plugin-n#169 (comment)
1 parent a89d4df commit 7c0ee5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"clean:declarations-lib": "rm -rf $(find lib -type f -name '*.d.ts*' ! -name '*-types.d.ts')",
3939
"clean": "run-p clean:*",
4040
"prepare": "husky",
41-
"prepublishOnly": "run-s build",
41+
"prepack": "run-s build",
4242
"test:mocha": "c8 --reporter=lcov --reporter text mocha 'test/**/*.spec.js'",
4343
"test-ci": "run-s test:*",
4444
"test": "run-s check test:*"

0 commit comments

Comments
 (0)