mirror of https://github.com/jkjoy/sunpeiwen.git
42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "hexo-offline",
|
|
"version": "2.0.1",
|
|
"description": "Out-of-the-box hexo offline experience",
|
|
"main": "lib/index.js",
|
|
"repository": "https://github.com/JLHwung/hexo-offline.git",
|
|
"author": "Huáng Jùnliàng <hexo-offline@jhuang.me>",
|
|
"license": "BSD-2-Clause",
|
|
"scripts": {
|
|
"clean": "rimraf lib && rimraf run-workbox-build.spec",
|
|
"build:template": "babel src/lib/template.js --out-file lib/lib/template.js && terser lib/lib/template.js -o lib/lib/template.js",
|
|
"build:lib": "babel src --out-dir lib",
|
|
"build": "npm run build:lib && npm run build:template",
|
|
"test": "jest",
|
|
"spellcheck": "yaspeller-ci README.md",
|
|
"prepublishOnly": "npm run test && npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"workbox-build": "^6.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.8.0",
|
|
"@babel/core": "^7.8.0",
|
|
"@babel/preset-env": "^7.8.0",
|
|
"husky": "^7.0.4",
|
|
"jest": "^27.4.7",
|
|
"lint-staged": "^12.1.5",
|
|
"prettier": "^2.5.1",
|
|
"rimraf": "^3.0.2",
|
|
"terser": "^5.10.0",
|
|
"yaspeller-ci": "^1.0.2"
|
|
},
|
|
"peerDependencies": {
|
|
"hexo": "^5.0.0 || ^6.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"files": [
|
|
"lib"
|
|
]
|
|
} |