提交 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", "name": "gitbook-plugin-theme-default",
"description": "Default theme for GitBook > 3.0.0", "description": "Default theme for GitBook > 3.0.0",
"main": "./index.js", "main": "./index.js",
"version": "1.0.0-pre.5", "version": "1.0.0-pre.5",
"engines": { "engines": {
"gitbook": ">=3.0.0" "gitbook": ">=3.0.0"
}, },
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {
"less": "2.6.0", "browserify": "13.0.0",
"less-plugin-clean-css": "1.5.1", "eslint": "2.7.0",
"browserify": "13.0.0", "font-awesome": "4.5.0",
"uglify-js": "2.6.1", "gitbook-logos": "git+https://github.com/GitbookIO/logos.git#2.0.2",
"lodash": "3.10.1", "gitbook-markdown-css": "1.0.1",
"jquery": "2.1.4", "jquery": "2.1.4",
"mousetrap": "1.5.3", "less": "2.6.0",
"font-awesome": "4.5.0", "less-plugin-clean-css": "1.5.1",
"gitbook-markdown-css": "1.0.1", "lodash": "3.10.1",
"gitbook-logos": "git+https://github.com/GitbookIO/logos.git#2.0.2" "mousetrap": "1.5.3",
}, "uglify-js": "2.6.1"
"scripts": { },
"prepublish": "./src/build.sh" "scripts": {
}, "prepublish": "./src/build.sh"
"repository": { },
"type": "git", "repository": {
"url": "https://github.com/GitbookIO/theme-default.git" "type": "git",
}, "url": "https://github.com/GitbookIO/theme-default.git"
"author": "FriendCode Inc. <contact@gitbook.com>", },
"license": "Apache-2.0", "author": "FriendCode Inc. <contact@gitbook.com>",
"bugs": { "license": "Apache-2.0",
"url": "https://github.com/GitbookIO/theme-default/issues" "bugs": {
}, "url": "https://github.com/GitbookIO/theme-default/issues"
"contributors": [ },
{ "contributors": [
"name": "Samy Pessé", {
"email": "samy@gitbook.com" "name": "Samy Pessé",
} "email": "samy@gitbook.com"
], }
"gitbook": { ],
"gitbook": {
"properties": {
"styles": {
"type": "object",
"title": "Custom Stylesheets",
"properties": { "properties": {
"styles": { "website": {
"type": "object", "title": "Stylesheet for website output",
"title": "Custom Stylesheets", "default": "styles/website.css"
"properties": { },
"website": { "pdf": {
"title": "Stylesheet for website output", "title": "Stylesheet for PDF output",
"default": "styles/website.css" "default": "styles/pdf.css"
}, },
"pdf": { "epub": {
"title": "Stylesheet for PDF output", "title": "Stylesheet for ePub output",
"default": "styles/pdf.css" "default": "styles/epub.css"
}, },
"epub": { "mobi": {
"title": "Stylesheet for ePub output", "title": "Stylesheet for Mobi output",
"default": "styles/epub.css" "default": "styles/mobi.css"
}, },
"mobi": { "ebook": {
"title": "Stylesheet for Mobi output", "title": "Stylesheet for ebook outputs (PDF, ePub, Mobi)",
"default": "styles/mobi.css" "default": "styles/ebook.css"
}, },
"ebook": { "print": {
"title": "Stylesheet for ebook outputs (PDF, ePub, Mobi)", "title": "Stylesheet to replace default ebook css",
"default": "styles/ebook.css" "default": "styles/print.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.
先完成此消息的编辑!
想要评论请 注册