|
1 | 1 | {
|
2 | 2 | "name": "vue-form-json",
|
3 |
| - "version": "0.1.3", |
| 3 | + "version": "0.0.0-development", |
4 | 4 | "description": "Generate a vue form with validation and bulma style, from json",
|
5 | 5 | "author": "14nrv",
|
6 | 6 | "license": "MIT",
|
7 | 7 | "scripts": {
|
8 | 8 | "serve": "vue-cli-service serve --open",
|
9 |
| - "build": "vue-cli-service build", |
10 |
| - "prepare": "vue-cli-service build --target lib --name vue-form-json ./src/components/Form/Form.vue", |
| 9 | + "prepare": "yarn build", |
| 10 | + "build": "vue-cli-service build --target lib --name vue-form-json ./src/components/Form/Form.vue", |
11 | 11 | "lint": "vue-cli-service lint",
|
12 | 12 | "test": "NODE_ENV=test vue-cli-service test:unit --coverage",
|
13 | 13 | "test:tdd": "NODE_ENV=test vue-cli-service test:unit --coverage --watchAll",
|
14 |
| - "release:major": "npm version major && git push --follow-tags && npm publish", |
15 |
| - "release:minor": "npm version minor && git push --follow-tags && npm publish", |
16 |
| - "release:patch": "npm version patch && git push --follow-tags && npm publish" |
| 14 | + "travis-deploy-once": "travis-deploy-once", |
| 15 | + "semantic-release": "semantic-release" |
17 | 16 | },
|
18 | 17 | "husky": {
|
19 | 18 | "hooks": {
|
20 |
| - "pre-commit": "lint-staged && yarn test" |
| 19 | + "pre-commit": "lint-staged && yarn test", |
| 20 | + "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" |
21 | 21 | }
|
22 | 22 | },
|
| 23 | + "commitlint": { |
| 24 | + "extends": [ |
| 25 | + "@commitlint/config-conventional" |
| 26 | + ] |
| 27 | + }, |
23 | 28 | "lint-staged": {
|
24 | 29 | "linters": {
|
25 | 30 | "*.{js,vue}": "vue-cli-service lint"
|
|
46 | 51 | ],
|
47 | 52 | "repository": {
|
48 | 53 | "type": "git",
|
49 |
| - "url": "git+https://github.com/14nrv/vue-form-json.git" |
| 54 | + "url": "https://github.com/14nrv/vue-form-json.git" |
50 | 55 | },
|
51 | 56 | "bugs": {
|
52 | 57 | "url": "https://github.com/14nrv/vue-form-json/issues"
|
|
63 | 68 | "vue": "^2.5.17"
|
64 | 69 | },
|
65 | 70 | "devDependencies": {
|
| 71 | + "@commitlint/cli": "^7.1.2", |
| 72 | + "@commitlint/config-conventional": "^7.1.2", |
| 73 | + "@semantic-release/changelog": "^3.0.0", |
| 74 | + "@semantic-release/git": "^7.0.4", |
| 75 | + "@semantic-release/github": "^5.0.5", |
| 76 | + "@semantic-release/npm": "^5.0.4", |
66 | 77 | "@vue/cli-plugin-babel": "^3.0.1",
|
67 | 78 | "@vue/cli-plugin-eslint": "^3.0.1",
|
68 | 79 | "@vue/cli-plugin-unit-jest": "^3.0.1",
|
|
78 | 89 | "lint-staged": "^7.2.2",
|
79 | 90 | "mwangaben-vthelpers": "^1.2.3",
|
80 | 91 | "pug-plain-loader": "^1.0.0",
|
| 92 | + "semantic-release": "^15.9.16", |
81 | 93 | "stylus-loader": "^3.0.2",
|
| 94 | + "travis-deploy-once": "^5.0.9", |
82 | 95 | "vue-template-compiler": "^2.5.17"
|
83 | 96 | },
|
84 | 97 | "jest-junit": {
|
|
0 commit comments