|
18 | 18 | "nativescript-vue" |
19 | 19 | ], |
20 | 20 | "scripts": { |
| 21 | + "precommit": "lint-staged",{{#semanticRelease}} |
| 22 | + "cz": "git-cz", |
| 23 | + "commitmsg": "commitlint -e $GIT_PARAMS",{{/semanticRelease}} |
21 | 24 | "android": "tns run android --emulator", |
22 | 25 | "ios": "tns run ios --emulator", |
23 | 26 | "dev": "rollup -c -w --environment TARGET:development", |
|
28 | 31 | "dependencies": { |
29 | 32 | "nativescript-vue": "^0.7.8" |
30 | 33 | }, |
31 | | - "devDependencies": { |
| 34 | + "devDependencies": { {{#semanticRelease}} |
| 35 | + "@commitlint/cli": "^6.0.2", |
| 36 | + "@commitlint/config-conventional": "^5.2.3", |
| 37 | + "@semantic-release/changelog": "^1.0.0", |
| 38 | + "@semantic-release/git": "^2.0.1", |
| 39 | + "@semantic-release/github": "^3.0.1",{{/semanticRelease}} |
32 | 40 | "babel-core": "^6.26.0", |
33 | 41 | "babel-eslint": "^8.1.2", |
34 | 42 | "babel-plugin-module-resolver": "^3.0.0", |
35 | | - "babel-preset-vue-app": "^2.0.0", |
| 43 | + "babel-preset-vue-app": "^2.0.0",{{#semanticRelease}} |
| 44 | + "commitizen": "^2.9.6", |
| 45 | + "cz-conventional-changelog": "^2.1.0",{{/semanticRelease}} |
36 | 46 | "eslint": "^4.14.0", |
37 | 47 | "eslint-config-prettier": "^2.9.0", |
38 | 48 | "eslint-config-standard": "^11.0.0-beta.0", |
|
43 | 53 | "eslint-plugin-prettier": "2.4.0", |
44 | 54 | "eslint-plugin-promise": "^3.6.0", |
45 | 55 | "eslint-plugin-standard": "^3.0.1", |
46 | | - "eslint-plugin-vue": "^4.0.1", |
| 56 | + "eslint-plugin-vue": "^4.0.1",{{#semanticRelease}} |
| 57 | + "husky": "^0.14.3",{{/semanticRelease}} |
| 58 | + "lint-staged": "^6.0.0", |
47 | 59 | "prettier": "^1.9.2", |
48 | 60 | "rollup": "^0.54.1", |
49 | 61 | "rollup-plugin-babel": "^3.0.3", |
|
61 | 73 | "vue": "^2.5.13", |
62 | 74 | "vue-loader": "^13.6.2", |
63 | 75 | "vue-template-compiler": "^2.5.13" |
64 | | - } |
| 76 | + },{{#semanticRelease}} |
| 77 | + "config": { |
| 78 | + "commitizen": { |
| 79 | + "path": "cz-conventional-changelog" |
| 80 | + } |
| 81 | + },{{/semanticRelease}} |
| 82 | + "lint-staged": { |
| 83 | + "*.{js,vue}": [ |
| 84 | + "eslint --fix", |
| 85 | + "git add" |
| 86 | + ] |
| 87 | + }{{#semanticRelease}}, |
| 88 | + "release": { |
| 89 | + "verifyConditions": [ |
| 90 | + "@semantic-release/changelog", |
| 91 | + "@semantic-release/git", |
| 92 | + "@semantic-release/github" |
| 93 | + ], |
| 94 | + "getLastRelease": "@semantic-release/github", |
| 95 | + "publish": [ |
| 96 | + "@semantic-release/changelog", |
| 97 | + "@semantic-release/git", |
| 98 | + "@semantic-release/github" |
| 99 | + ] |
| 100 | + }{{/semanticRelease}} |
65 | 101 | } |
0 commit comments