Skip to content

Commit

Permalink
feat: add update notification
Browse files Browse the repository at this point in the history
  • Loading branch information
likun7981 committed May 24, 2022
1 parent c731aa2 commit 535237e
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 88 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hlink",
"version": "0.7.5",
"version": "0.7.3",
"description": "hlink",
"license": "MIT",
"repository": "likun7981/hlink",
Expand All @@ -17,13 +17,12 @@
},
"scripts": {
"test": "xo && ava",
"dev": "tsc -w",
"dev": "npm run clean && tsc && npm run env && tsc -w",
"clean": "rm -rf lib",
"cp": "cp src/hlink.config.tpl lib/hlink.config.tpl",
"build": "npm run clean && tsc && npm run cp",
"prepublishOnly": "npm run build",
"rm": "rm /usr/local/bin/hlink ",
"env": "ln -s $PWD/lib/cli-dev.js /usr/local/bin/hlink && chmod +x ./lib/cli-dev.js",
"env": "rm /usr/local/bin/hlink && ln -s $PWD/lib/cli-dev.js /usr/local/bin/hlink && chmod +x ./lib/cli-dev.js",
"np": "np --no-cleanup --no-tests --no-yarn",
"np:beta": "np --tag=beta --any-branch --no-cleanup --no-tests --no-yarn",
"np:next": "np --tag=next --any-branch --no-cleanup --no-tests --no-yarn"
Expand All @@ -39,13 +38,15 @@
],
"dependencies": {
"@inquirer/confirm": "0.0.19-alpha.0",
"@types/update-notifier": "^5.1.0",
"ansi-escapes": "^5.0.0",
"chalk": "^5",
"chokidar": "^3.5.3",
"execa": "^6",
"fs-extra": "^10",
"meow": "^10.1.2",
"progress": "^2.0.3",
"update-notifier": "^5.1.0",
"wrap-ansi": "^8.0.1"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 535237e

Please sign in to comment.