|
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
5 | 5 | "description": "vue2vis monorepo", |
| 6 | + "workspaces": [ |
| 7 | + "packages/*" |
| 8 | + ], |
6 | 9 | "scripts": { |
7 | | - "graph2d": "lerna run serve --scope @vue2vis/graph2d", |
8 | | - "network": "lerna run serve --scope @vue2vis/network", |
9 | | - "timeline": "lerna run serve --scope @vue2vis/timeline", |
| 10 | + "graph2d": "lerna run serve --stream --scope @vue2vis/graph2d", |
| 11 | + "network": "lerna run serve --stream --scope @vue2vis/network", |
| 12 | + "timeline": "lerna run serve --stream --scope @vue2vis/timeline", |
| 13 | + "clean": "lerna exec -- rm -rf ./node_modules", |
| 14 | + "commit": "yarn git-cz", |
| 15 | + "build": "lerna run build", |
| 16 | + "prepare": "lerna run prepare", |
| 17 | + "lerna:publish": "lerna lerna publish --conventional-commits", |
| 18 | + "lerna:changed": "lerna lerna changed", |
10 | 19 | "test:unit": "vue-cli-service test:unit", |
11 | 20 | "lint": "vue-cli-service lint" |
12 | 21 | }, |
| 22 | + "config": { |
| 23 | + "commitizen": { |
| 24 | + "path": "./node_modules/cz-conventional-changelog" |
| 25 | + } |
| 26 | + }, |
| 27 | + "husky": { |
| 28 | + "hooks": { |
| 29 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", |
| 30 | + "pre-push": "yarn test:unit" |
| 31 | + } |
| 32 | + }, |
| 33 | + "publishConfig": { |
| 34 | + "access": "public" |
| 35 | + }, |
13 | 36 | "repository": { |
14 | 37 | "type": "git", |
15 | 38 | "url": "git://github.com/alexcode/vue2vis.git" |
|
28 | 51 | "vue": "^2.6.11" |
29 | 52 | }, |
30 | 53 | "devDependencies": { |
| 54 | + "@commitlint/cli": "^8.3.5", |
| 55 | + "@commitlint/config-conventional": "^8.3.4", |
31 | 56 | "@vue/cli-plugin-babel": "~4.2.0", |
32 | 57 | "@vue/cli-plugin-eslint": "~4.2.0", |
33 | 58 | "@vue/cli-plugin-unit-jest": "~4.2.0", |
34 | 59 | "@vue/cli-service": "~4.2.0", |
| 60 | + "@vue/component-compiler": "^4.2.0", |
35 | 61 | "@vue/eslint-config-prettier": "^6.0.0", |
36 | 62 | "@vue/test-utils": "1.0.0-beta.31", |
37 | 63 | "babel-eslint": "^10.0.3", |
| 64 | + "commitizen": "^4.0.3", |
38 | 65 | "eslint": "^6.7.2", |
39 | 66 | "eslint-plugin-prettier": "^3.1.1", |
40 | 67 | "eslint-plugin-vue": "^6.1.2", |
| 68 | + "husky": "^4.2.3", |
41 | 69 | "lerna": "^3.20.2", |
42 | 70 | "prettier": "^1.19.1", |
| 71 | + "rollup": "^2.0.6", |
| 72 | + "rollup-plugin-vue": "^5.1.6", |
43 | 73 | "vue": "^2.6.11", |
44 | | - "vue-template-compiler": "^2.6.11", |
45 | | - "vue2vis": "^0.0.16" |
| 74 | + "vue-template-compiler": "^2.6.11" |
46 | 75 | } |
47 | 76 | } |
0 commit comments