Skip to content

Commit

Permalink
chore: update deprecated prepublish and repository in `package.js…
Browse files Browse the repository at this point in the history
…on` (#504)
  • Loading branch information
yoshinorin authored Apr 16, 2024
1 parent 1322213 commit ca317b2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"types": "./dist/hexo.d.ts",
"scripts": {
"prepublish ": "npm install && npm run clean && npm run build",
"prepublishOnly": "npm install && npm run clean && npm run build",
"build": "tsc -b",
"clean": "tsc -b --clean",
"eslint": "eslint .",
Expand All @@ -23,7 +23,10 @@
"test-cov": "nyc --reporter=lcovonly npm test",
"prepare": "git submodule init && git submodule update && git submodule foreach git pull origin master"
},
"repository": "hexojs/hexo-cli",
"repository": {
"type": "git",
"url": "git+https://github.com/hexojs/hexo-cli.git"
},
"homepage": "https://hexo.io/",
"keywords": [
"website",
Expand Down

0 comments on commit ca317b2

Please sign in to comment.