mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-11-01 15:35:06 +01:00
b520d4e448
* More setup for ESLint * Initial linting * Fix: "Unexpected use of 'location': no-restricted-globals" * Fix: "Prop 'sidebarItems' should define at least its type" * Fix: "import/no-unresolved" * Fix: "import/no-extraneous-dependencies" * Fix: "Unexpected require() 'global-require'" * Fix: "vue/require-prop-types" * Line disable: "radix" * Line disable: "no-param-reassign" * Line disable: "no-shadow" This should usually be an actual problem but I don't think so in this case as the next prompt is basically just a one-action warning. * Add markdown linting support * Replace single quotes with double * Fix indentation for all files * Fix second level quotation marks * Change accordingly I'd still rather keep 4-tab for MD when applicable though, the alternative is a non-standard 3-space indent, which makes three different indentations to keep track of.
45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "tachiyomi-website",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"build": "npm run lint && vuepress build src",
|
|
"lint": "eslint --fix src/.vuepress/**/*.{js,vue} --no-ignore",
|
|
"serve": "vuepress dev src"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/tachiyomiorg/website.git"
|
|
},
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@vuepress/plugin-back-to-top": "^1.5.0",
|
|
"@vuepress/plugin-google-analytics": "^1.5.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-airbnb": "^18.1.0",
|
|
"eslint-config-airbnb-base": "^14.1.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-config-vuepress": "^2.2.0",
|
|
"eslint-plugin-import": "^2.20.2",
|
|
"eslint-plugin-markdown": "^1.0.2",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"eslint-plugin-vue": "^6.2.2",
|
|
"node-sass": "^4.14.1",
|
|
"prettier": "^2.0.5",
|
|
"sass-loader": "^8.0.2",
|
|
"vuepress": "^1.5.0",
|
|
"vuepress-plugin-clean-urls": "^1.1.1",
|
|
"vuepress-plugin-container": "^2.1.3"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^0.19.2",
|
|
"iso-639-1": "^2.1.3",
|
|
"lodash.groupby": "^4.6.0",
|
|
"lodash.sortby": "^4.7.0",
|
|
"material-design-icons": "^3.0.1",
|
|
"vue-agile": "^1.1.3",
|
|
"vue-material-design-icons": "^4.6.0",
|
|
"vue-sweetalert2": "^3.0.5",
|
|
"vuepress-plugin-sitemap": "^2.3.1"
|
|
}
|
|
}
|