|
6 | 6 | "license": "MIT",
|
7 | 7 | "scripts": {
|
8 | 8 | "serve": "vue-cli-service serve --open",
|
9 |
| - "prepare": "yarn build", |
| 9 | + "prepublishOnly": "yarn build", |
10 | 10 | "build": "vue-cli-service build --formats commonjs,umd-min --target lib --name vue-form-json ./src/components/Form/Form.vue",
|
11 |
| - "lint": "vue-cli-service lint", |
| 11 | + "build:report": "yarn build --report", |
| 12 | + "lint": "NODE_ENV=production vue-cli-service lint --no-fix", |
| 13 | + "lint:fix": "NODE_ENV=production vue-cli-service lint", |
12 | 14 | "test": "NODE_ENV=test vue-cli-service test:unit --coverage",
|
13 | 15 | "test:tdd": "yarn test --watchAll",
|
14 | 16 | "semantic-release": "semantic-release"
|
|
32 | 34 | }
|
33 | 35 | },
|
34 | 36 | "lint-staged": {
|
35 |
| - "*.{js,vue}": "vue-cli-service lint" |
| 37 | + "*.{js,vue}": "yarn lint" |
36 | 38 | },
|
37 | 39 | "main": "./dist/vue-form-json.common.js",
|
| 40 | + "unpkg": "./dist/vue-form-json.umd.min.js", |
38 | 41 | "files": [
|
39 | 42 | "dist"
|
40 | 43 | ],
|
|
64 | 67 | "dependencies": {
|
65 | 68 | "humps": "^2.0.1",
|
66 | 69 | "ramda": "^0.27.0",
|
67 |
| - "slugify": "^1.4.4", |
68 |
| - "vee-validate": "^3.4.5", |
69 |
| - "vue": "^2.6.12" |
| 70 | + "slugify": "^1.4.7", |
| 71 | + "vee-validate": "^3.4.5" |
70 | 72 | },
|
71 | 73 | "devDependencies": {
|
72 | 74 | "@babel/core": "^7.10.5",
|
|
76 | 78 | "@semantic-release/git": "^9.0.0",
|
77 | 79 | "@semantic-release/github": "^7.0.7",
|
78 | 80 | "@semantic-release/npm": "^7.0.5",
|
79 |
| - "@vue/cli-plugin-babel": "~4.4.6", |
80 |
| - "@vue/cli-plugin-eslint": "~4.4.6", |
81 |
| - "@vue/cli-plugin-unit-jest": "^4.4.6", |
82 |
| - "@vue/cli-service": "~4.4.6", |
83 |
| - "@vue/eslint-config-standard": "^5.1.2", |
| 81 | + "@vue/babel-preset-app": "^4.5.11", |
| 82 | + "@vue/cli-plugin-babel": "^4.5.11", |
| 83 | + "@vue/cli-plugin-eslint": "^4.5.11", |
| 84 | + "@vue/cli-plugin-unit-jest": "^4.5.11", |
| 85 | + "@vue/cli-service": "^4.5.11", |
84 | 86 | "@vue/test-utils": "1.0.3",
|
85 | 87 | "babel-eslint": "^10.1.0",
|
86 | 88 | "babel-jest": "^26.1.0",
|
87 |
| - "eslint": "^7.5.0", |
| 89 | + "eslint": "^7.21.0", |
| 90 | + "eslint-config-standard": "^16.0.2", |
88 | 91 | "eslint-junit": "^1.0.1",
|
89 |
| - "eslint-plugin-import": "^2.22.0", |
90 |
| - "eslint-plugin-jest": "^23.18.0", |
| 92 | + "eslint-plugin-import": "^2.22.1", |
| 93 | + "eslint-plugin-jest": "^24.1.7", |
91 | 94 | "eslint-plugin-node": "^11.1.0",
|
92 |
| - "eslint-plugin-promise": "^4.2.1", |
93 |
| - "eslint-plugin-standard": "^4.0.1", |
94 |
| - "eslint-plugin-vue": "^6.2.2", |
| 95 | + "eslint-plugin-promise": "^4.3.1", |
| 96 | + "eslint-plugin-vue": "^7.7.0", |
95 | 97 | "husky": "^4.2.5",
|
96 | 98 | "jest-junit": "^11.0.1",
|
97 | 99 | "jest-vue-matcher": "^2.0.0",
|
98 | 100 | "lint-staged": "^10.2.11",
|
99 |
| - "pug": "^3.0.0", |
100 |
| - "pug-plain-loader": "^1.0.0", |
| 101 | + "pug": "^3.0.2", |
| 102 | + "pug-plain-loader": "^1.1.0", |
101 | 103 | "semantic-release": "^17.1.1",
|
102 | 104 | "stylus": "^0.54.8",
|
103 | 105 | "stylus-loader": "^3.0.2",
|
104 | 106 | "vue-template-compiler": "^2.6.11"
|
105 | 107 | },
|
| 108 | + "peerDependencies": { |
| 109 | + "vue": "^2.6.12" |
| 110 | + }, |
106 | 111 | "jest-junit": {
|
107 | 112 | "output": "coverage/junit/js-test-results.xml"
|
108 | 113 | },
|
|
0 commit comments