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