提交 4ffd452b 编写于 作者: J Johan Preynat

Add eslint:2.7.0

上级 1aed3205
{
"rules": {
"indent": [ 2, 4 ],
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"no-unused-vars": [ 2, {
"vars": "all",
"args": "none"
} ],
"spaced-comment": [ 2, "always" ]
},
"env": {
"node": true,
"mocha": true,
"browser": true
},
"extends": "eslint:recommended"
}
\ No newline at end of file
{
"name": "gitbook-plugin-theme-default",
"description": "Default theme for GitBook > 3.0.0",
"main": "./index.js",
"version": "1.0.0-pre.5",
"engines": {
"gitbook": ">=3.0.0"
},
"dependencies": {},
"devDependencies": {
"less": "2.6.0",
"less-plugin-clean-css": "1.5.1",
"browserify": "13.0.0",
"uglify-js": "2.6.1",
"lodash": "3.10.1",
"jquery": "2.1.4",
"mousetrap": "1.5.3",
"font-awesome": "4.5.0",
"gitbook-markdown-css": "1.0.1",
"gitbook-logos": "git+https://github.com/GitbookIO/logos.git#2.0.2"
},
"scripts": {
"prepublish": "./src/build.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/GitbookIO/theme-default.git"
},
"author": "FriendCode Inc. <contact@gitbook.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/GitbookIO/theme-default/issues"
},
"contributors": [
{
"name": "Samy Pessé",
"email": "samy@gitbook.com"
}
],
"gitbook": {
"name": "gitbook-plugin-theme-default",
"description": "Default theme for GitBook > 3.0.0",
"main": "./index.js",
"version": "1.0.0-pre.5",
"engines": {
"gitbook": ">=3.0.0"
},
"dependencies": {},
"devDependencies": {
"browserify": "13.0.0",
"eslint": "2.7.0",
"font-awesome": "4.5.0",
"gitbook-logos": "git+https://github.com/GitbookIO/logos.git#2.0.2",
"gitbook-markdown-css": "1.0.1",
"jquery": "2.1.4",
"less": "2.6.0",
"less-plugin-clean-css": "1.5.1",
"lodash": "3.10.1",
"mousetrap": "1.5.3",
"uglify-js": "2.6.1"
},
"scripts": {
"prepublish": "./src/build.sh"
},
"repository": {
"type": "git",
"url": "https://github.com/GitbookIO/theme-default.git"
},
"author": "FriendCode Inc. <contact@gitbook.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/GitbookIO/theme-default/issues"
},
"contributors": [
{
"name": "Samy Pessé",
"email": "samy@gitbook.com"
}
],
"gitbook": {
"properties": {
"styles": {
"type": "object",
"title": "Custom Stylesheets",
"properties": {
"styles": {
"type": "object",
"title": "Custom Stylesheets",
"properties": {
"website": {
"title": "Stylesheet for website output",
"default": "styles/website.css"
},
"pdf": {
"title": "Stylesheet for PDF output",
"default": "styles/pdf.css"
},
"epub": {
"title": "Stylesheet for ePub output",
"default": "styles/epub.css"
},
"mobi": {
"title": "Stylesheet for Mobi output",
"default": "styles/mobi.css"
},
"ebook": {
"title": "Stylesheet for ebook outputs (PDF, ePub, Mobi)",
"default": "styles/ebook.css"
},
"print": {
"title": "Stylesheet to replace default ebook css",
"default": "styles/print.css"
}
}
}
"website": {
"title": "Stylesheet for website output",
"default": "styles/website.css"
},
"pdf": {
"title": "Stylesheet for PDF output",
"default": "styles/pdf.css"
},
"epub": {
"title": "Stylesheet for ePub output",
"default": "styles/epub.css"
},
"mobi": {
"title": "Stylesheet for Mobi output",
"default": "styles/mobi.css"
},
"ebook": {
"title": "Stylesheet for ebook outputs (PDF, ePub, Mobi)",
"default": "styles/ebook.css"
},
"print": {
"title": "Stylesheet to replace default ebook css",
"default": "styles/print.css"
}
}
}
}
}
\ No newline at end of file
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册