|
| 1 | +{ |
| 2 | + "name": "vuepress-plugin-blog", |
| 3 | + "version": "0.0.0", |
| 4 | + "description": "Blog plugin for VuePress", |
| 5 | + "scripts": { |
| 6 | + "lint": "xo", |
| 7 | + "dev": "nodemon --exec ts-node src/index.ts", |
| 8 | + "build": "tsc", |
| 9 | + "build:w": "tsc --watch", |
| 10 | + "prepare": "npm run build", |
| 11 | + "prepublishOnly": "conventional-changelog -p angular -r 2 -i CHANGELOG.md -s" |
| 12 | + }, |
| 13 | + "main": "lib/index.js", |
| 14 | + "repository": { |
| 15 | + "url": "ulivz/vuepress-plugin-blog", |
| 16 | + "type": "git" |
| 17 | + }, |
| 18 | + "author": "ULIVZ <chl814@foxmail.com>", |
| 19 | + "license": "MIT", |
| 20 | + "devDependencies": { |
| 21 | + "xo": "^0.23.0", |
| 22 | + "prettier": "^1.15.2", |
| 23 | + "eslint-config-rem": "^4.0.0", |
| 24 | + "eslint-config-prettier": "^3.3.0", |
| 25 | + "eslint-plugin-prettier": "^3.0.0", |
| 26 | + "eslint-config-xo-typescript": "^0.3.0", |
| 27 | + "eslint-plugin-typescript": "^0.14.0", |
| 28 | + "typescript-eslint-parser": "^21.0.2", |
| 29 | + "husky": "^1.2.0", |
| 30 | + "lint-staged": "^8.1.0", |
| 31 | + "nodemon": "^1.18.7", |
| 32 | + "ts-node": "^7.0.1", |
| 33 | + "typescript": "^3.1.4", |
| 34 | + "conventional-changelog-cli": "^2.0.1" |
| 35 | + }, |
| 36 | + "xo": { |
| 37 | + "extends": [ |
| 38 | + "rem", |
| 39 | + "plugin:prettier/recommended", |
| 40 | + "xo-typescript" |
| 41 | + ], |
| 42 | + "extensions": [ |
| 43 | + "ts" |
| 44 | + ], |
| 45 | + "rules": { |
| 46 | + "unicorn/filename-case": "off", |
| 47 | + "new-cap": "off", |
| 48 | + "typescript/no-inferrable-types": "off", |
| 49 | + "import/no-unassigned-import": "off", |
| 50 | + "typescript/explicit-function-return-type": "off", |
| 51 | + "no-throw-literal": "off" |
| 52 | + } |
| 53 | + }, |
| 54 | + "husky": { |
| 55 | + "hooks": { |
| 56 | + "pre-commit": "lint-staged" |
| 57 | + } |
| 58 | + }, |
| 59 | + "lint-staged": { |
| 60 | + "linters": { |
| 61 | + "*.{ts,js}": [ |
| 62 | + "xo --fix", |
| 63 | + "git add" |
| 64 | + ], |
| 65 | + "*.{json,md}": [ |
| 66 | + "prettier --write", |
| 67 | + "git add" |
| 68 | + ] |
| 69 | + } |
| 70 | + }, |
| 71 | + "publishConfig": { |
| 72 | + "registry": "https://registry.npmjs.org/" |
| 73 | + } |
| 74 | +} |
0 commit comments