mirror of
https://github.com/wangdoc/javascript-tutorial.git
synced 2025-12-28 18:00:24 +08:00
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"name": "javascript-tutorial",
|
|
"version": "0.0.1",
|
|
"description": "JavaScript 教程",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"doc": "docs"
|
|
},
|
|
"scripts": {
|
|
"build": "loppo --site \"JavaScript 教程\" --id javascript --theme wangdoc",
|
|
"build-and-commit": "npm run build && npm run commit",
|
|
"commit": "gh-pages --dist dist --dest dist/javascript --branch master --add --repo git@github.com:wangdoc/website.git",
|
|
"chapter": "loppo chapter",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-push": "npm update"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/wangdoc/javascript-tutorial.git"
|
|
},
|
|
"keywords": [
|
|
"WangDoc",
|
|
"Tutorial",
|
|
"Document"
|
|
],
|
|
"author": "Ruan Yifeng",
|
|
"license": "Creative Commons Attribution-ShareAlike License",
|
|
"bugs": {
|
|
"url": "https://github.com/wangdoc/javascript-tutorial/issues"
|
|
},
|
|
"homepage": "https://github.com/wangdoc/javascript-tutorial",
|
|
"dependencies": {
|
|
"gh-pages": "latest",
|
|
"husky": "^3.0.8",
|
|
"loppo": "latest",
|
|
"loppo-theme-wangdoc": "latest"
|
|
}
|
|
}
|