|
2 | 2 | "name": "@vuepress/plugin-blog",
|
3 | 3 | "version": "1.5.2",
|
4 | 4 | "description": "Offical blog plugin for VuePress",
|
| 5 | + "repository": { |
| 6 | + "type": "git", |
| 7 | + "url": "ulivz/vuepress-plugin-blog" |
| 8 | + }, |
| 9 | + "license": "MIT", |
| 10 | + "author": "ULIVZ <[email protected]>", |
| 11 | + "files": [ |
| 12 | + "lib", |
| 13 | + "types" |
| 14 | + ], |
| 15 | + "main": "lib/node/index.js", |
5 | 16 | "scripts": {
|
6 |
| - "lint": "eslint src --ext .ts,.vue", |
7 |
| - "dev": "concurrently \"rimraf lib\" \"npm:dev:client\" \"npm:dev:node\" \"nodemon\"", |
8 | 17 | "build": "concurrently \"rimraf lib\" \"npm:build:client\" \"npm:build:node\" \"npm:build:components\"",
|
9 |
| - "dev:client": "tsc -p tsconfig.client.json --watch", |
10 |
| - "dev:node": "tsc -p tsconfig.node.json --watch", |
11 | 18 | "build:client": "tsc -p tsconfig.client.json",
|
12 |
| - "build:node": "tsc -p tsconfig.node.json", |
13 | 19 | "build:components": "cpx \"src/client/components/**/*\" lib/client/components",
|
14 |
| - "dev:docs": "vuepress dev docs --temp docs/.temp", |
15 | 20 | "build:docs": "vuepress build docs --temp docs/.temp",
|
16 |
| - "dev:example": "node examples/launch.js dev", |
17 | 21 | "build:example": "node examples/launch.js build",
|
| 22 | + "build:node": "tsc -p tsconfig.node.json", |
| 23 | + "dev": "concurrently \"rimraf lib\" \"npm:dev:client\" \"npm:dev:node\" \"nodemon\"", |
| 24 | + "dev:client": "tsc -p tsconfig.client.json --watch", |
| 25 | + "dev:docs": "vuepress dev docs --temp docs/.temp", |
| 26 | + "dev:example": "node examples/launch.js dev", |
| 27 | + "dev:node": "tsc -p tsconfig.node.json --watch", |
| 28 | + "lint": "eslint src --ext .ts,.vue", |
18 | 29 | "prepublishOnly": "npm run build && conventional-changelog -p angular -r 2 -i CHANGELOG.md -s"
|
19 | 30 | },
|
20 |
| - "main": "lib/node/index.js", |
21 |
| - "files": [ |
22 |
| - "lib", |
23 |
| - "types" |
24 |
| - ], |
25 |
| - "repository": { |
26 |
| - "url": "ulivz/vuepress-plugin-blog", |
27 |
| - "type": "git" |
28 |
| - }, |
29 |
| - "author": "ULIVZ <[email protected]>", |
30 |
| - "license": "MIT", |
31 | 31 | "husky": {
|
32 | 32 | "hooks": {
|
33 | 33 | "pre-commit": "lint-staged"
|
|
37 | 37 | "*.{js,ts,vue}": [
|
38 | 38 | "eslint --fix",
|
39 | 39 | "git add"
|
| 40 | + ], |
| 41 | + "package.json": [ |
| 42 | + "sort-package-json", |
| 43 | + "git add" |
| 44 | + ] |
| 45 | + }, |
| 46 | + "nodemonConfig": { |
| 47 | + "exec": "yarn build:components", |
| 48 | + "ext": "vue", |
| 49 | + "watch": [ |
| 50 | + "src/client/components/" |
40 | 51 | ]
|
41 | 52 | },
|
42 | 53 | "dependencies": {
|
|
63 | 74 | "nodemon": "^1.18.7",
|
64 | 75 | "prettier": "^1.19.1",
|
65 | 76 | "rimraf": "^3.0.0",
|
| 77 | + "sort-package-json": "^1.31.0", |
66 | 78 | "ts-node": "^7.0.1",
|
67 | 79 | "typescript": "3.1.4",
|
68 | 80 | "vuepress": "^1.0.0"
|
69 | 81 | },
|
70 |
| - "nodemonConfig": { |
71 |
| - "exec": "yarn build:components", |
72 |
| - "ext": "vue", |
73 |
| - "watch": [ |
74 |
| - "src/client/components/" |
75 |
| - ] |
76 |
| - }, |
77 | 82 | "publishConfig": {
|
78 | 83 | "registry": "https://registry.npmjs.org/"
|
79 | 84 | }
|
|
0 commit comments