tachiyomi-website/website/package.json
Soitora 7d67ff8b73
Replace NPM with PNPM
Faster, easier
2023-08-08 20:39:38 +02:00

71 lines
2.3 KiB
JSON

{
"name": "tachiyomi-website",
"version": "3.0.0",
"description": "Official website for the Tachiyomi app.",
"license": "MPL-2.0",
"private": true,
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/tachiyomiorg/website.git"
},
"bugs": {
"url": "https://github.com/tachiyomiorg/website/issues"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"test": "pnpm lint && pnpm build && pnpm preview",
"dev": "vitepress dev src",
"build": "vitepress build src",
"preview": "vitepress preview src",
"lint": "pnpm lint:es && pnpm lint:prettier && pnpm lint:mdl && pnpm lint:style",
"lint:fix": "pnpm lint:es:fix && pnpm lint:prettier:fix && pnpm lint:style:fix",
"lint:es": "eslint . --ext .vue,.js,.ts,.cjs,.mjs,.jsx,.tsx",
"lint:es:fix": "eslint . --ext .vue,.js,.ts,.cjs,.mjs,.jsx,.tsx --fix",
"lint:prettier": "prettier --check \"src/**/*\"",
"lint:prettier:fix": "prettier --check --write \"src/**/*\"",
"lint:mdl": "markdownlint \"**/*.md\" \".github/**/*.md\" --enable sentences-per-line --disable MD025 MD033",
"lint:style": "stylelint \"**/*.{styl,vue}\" \"src/.vitepress/**/*.{styl,vue}\"",
"lint:style:fix": "stylelint --fix \"**/*.{styl,vue}\" \"src/.vitepress/**/*.{styl,vue}\""
},
"devDependencies": {
"@mdit/plugin-attrs": "^0.4.8",
"@mdit/plugin-figure": "^0.4.8",
"@mdit/plugin-img-lazyload": "^0.4.8",
"@mdit/plugin-img-mark": "^0.4.8",
"@mdit/plugin-img-size": "^0.4.8",
"@mdit/plugin-include": "^0.4.8",
"@mdit/plugin-tab": "^0.4.8",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"eslint": "^8.46.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-vue": "^9.16.1",
"feed": "^4.2.2",
"lint-staged": "^13.2.3",
"markdown-it-mdi": "^0.1.0",
"markdownlint": "^0.29.0",
"markdownlint-cli": "^0.35.0",
"prettier": "^3.0.1",
"sentences-per-line": "^0.2.1",
"stylelint": "^15.10.2",
"stylelint-stylus": "^0.18.0",
"stylus": "^0.59.0",
"vite-plugin-eslint": "^1.8.1",
"vitepress": "^1.0.0-rc.4",
"vue": "^3.3.4",
"vue-eslint-parser": "^9.3.1"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*.{styl,vue}": "stylelint --fix",
"*.{html,json}": "prettier --write"
},
"dependencies": {
"@mdi/js": "^7.2.96",
"vitepress-plugin-auto-sidebar": "^1.1.0"
}
}