diff --git a/index.js b/index.js index ae0cfa8..b057e1e 100644 --- a/index.js +++ b/index.js @@ -3,9 +3,9 @@ 'use strict'; const crypto = require('crypto'); -const fs = require('hexo-fs'); +const fs = require('fs'); const path = require('path'); -const log = require('hexo-log')({ 'debug': false, 'slient': false }); +const log = hexo.log; const defaultConfig = { 'abstract': 'Here\'s something encrypted, password is required to continue reading.', diff --git a/package.json b/package.json index c54c848..8648985 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,6 @@ "bugs": { "url": "https://github.com/D0n9X1n/hexo-blog-encrypt/issues" }, - "dependencies": { - "hexo-fs": "^1.0.2", - "hexo-log": "^0.2.0" - }, "description": "Yet, just another blog encrypt plugin for hexo.", "homepage": "https://github.com/D0n9X1n/hexo-blog-encrypt#readme", "keywords": [ @@ -25,7 +21,6 @@ } ], "name": "hexo-blog-encrypt", - "optionalDependencies": {}, "repository": { "type": "git", "url": "git+ssh://git@github.com/D0n9X1n/hexo-blog-encrypt.git"