Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What does the custom field "hexo" in package.json do? #4601

Closed
2 of 5 tasks
fnick851 opened this issue Dec 25, 2020 · 1 comment
Closed
2 of 5 tasks

What does the custom field "hexo" in package.json do? #4601

fnick851 opened this issue Dec 25, 2020 · 1 comment

Comments

@fnick851
Copy link

fnick851 commented Dec 25, 2020

I have a probably easy question. What does the custom field hexo in package.json do? I couldn't find if it is documented somewhere.

 "hexo": {
    "version": "4.2.1"
  },

Thanks! My full package.json file can be found below.

Check List

Please check followings before submitting a new issue.

Question

Environment & Settings

Node.js & npm version

Your site _config.yml (Optional)

Your theme _config.yml (Optional)

Hexo and Plugin version(npm ls --depth 0)

Your package.json package.json

{
  "private": true,
  "version": "2.0.0",
  "scripts": {
    "hexo": "hexo",
    "new": "hexo new post",
    "serve": "hexo serve",
    "deploy": "hexo deploy -g",
    "clean": "hexo clean"
  },
  "dependencies": {
    "hexo": "^4.2.1",
    "hexo-browsersync": "^0.3.0",
    "hexo-cli": "^3.1.0",
    "hexo-deployer-git": "^2.1.0",
    "hexo-generator-archive": "^1.0.0",
    "hexo-generator-category": "^1.0.0",
    "hexo-generator-feed": "^2.2.0",
    "hexo-generator-index": "^1.0.0",
    "hexo-generator-sitemap": "^2.0.0",
    "hexo-generator-tag": "^1.0.0",
    "hexo-renderer-ejs": "^1.0.0",
    "hexo-renderer-jade": "^0.5.0",
    "hexo-renderer-marked": "^2.0.0",
    "hexo-renderer-stylus": "^1.1.0",
    "hexo-server": "^1.0.0"
  },
  "hexo": {
    "version": "4.2.1"
  },
  "volta": {
    "node": "15.5.0"
  }
}

Others

@stevenjoezhang
Copy link
Member

There is a discussion about it: hexojs/hexo-cli#249
I'm closing this issue. Please join the discussion there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants