Skip to content

Commit

Permalink
codejedi365-fix-package-lock > change to prepare
Browse files Browse the repository at this point in the history
\### Rationale
As stated in npm install instructions, prepublish is deprecated as of
`NPM@v5` and should be changed to prepare for build instructions. The
browserify bundle is a build instruction rather than a prepublishOnly
feature so changed the run-script to prepare.
  • Loading branch information
codejedi365 authored and mroderick committed May 14, 2021
1 parent 869bbd2 commit ef8f01f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint": "eslint .",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
"prettier:write": "prettier --write '**/*.{js,css,md}'",
"prepublish": "npm run bundle",
"prepare": "npm run bundle",
"prepublishOnly": "mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
"test": "mocha lib/**/*.test.js",
"test:coverage": "nyc --reporter=lcov --reporter=text --all npm test -- --reporter dot",
Expand Down

0 comments on commit ef8f01f

Please sign in to comment.