UNPKG

1.34 kBJSONView Raw
1{
2 "name": "hexo-offline",
3 "version": "0.1.3",
4 "description": "Out-of-the-box hexo offline experience",
5 "main": "lib/index.js",
6 "repository": "https://github.com/JLHwung/hexo-offline.git",
7 "author": "J Huang <i@jhuang.me>",
8 "license": "BSD-2-Clause",
9 "scripts": {
10 "clean": "rimraf lib",
11 "build:template": "babel src/lib/template.js --out-file lib/lib/template.js --presets=babili --no-babelrc --no-comments",
12 "build:lib": "babel src --out-dir lib",
13 "build": "npm run build:lib && npm run build:template",
14 "lint": "standard",
15 "test": "cross-env NODE_ENV=test nyc tap test/**/*.spec.js && npm run spellcheck",
16 "coverage": "nyc report",
17 "spellcheck": "yaspeller .",
18 "prepublishOnly": "npm run lint && npm run test && npm run clean && npm run build"
19 },
20 "dependencies": {
21 "sw-precache": "^4.3.0"
22 },
23 "devDependencies": {
24 "babel-cli": "^6.18.0",
25 "babel-plugin-istanbul": "^3.0.0",
26 "babel-preset-babili": "^0.0.9",
27 "babel-preset-env": "^1.1.4",
28 "cross-env": "^3.1.3",
29 "nyc": "^10.0.0",
30 "pre-commit": "^1.2.2",
31 "rimraf": "^2.5.4",
32 "standard": "^8.6.0",
33 "tap": "^9.0.1",
34 "yaspeller": "^3.0.0"
35 },
36 "peerDependencies": {
37 "hexo": "^3.2.2"
38 },
39 "pre-commit": "lint",
40 "standard": {
41 "ignore": [
42 "/src/lib/template.js"
43 ]
44 }
45}