|
1 | 1 | { |
2 | 2 | "name": "@coders-tm/vue-number-format", |
3 | | - "version": "2.2.1", |
| 3 | + "version": "3.2.0", |
4 | 4 | "private": false, |
5 | 5 | "description": "Easy formatted numbers, currency and percentage with input/directive mask for Vue.js", |
6 | 6 | "author": "Dipak Sarkar <hello@dipaksarkar.in> (https://dipaksarkar.in/)", |
|
20 | 20 | }, |
21 | 21 | "sideeffects": false, |
22 | 22 | "scripts": { |
23 | | - "build": "tsc --emitDeclarationOnly --skipLibCheck --declaration --outDir .temp/types && rollup --c rollup.config.js", |
24 | | - "docs:build": "vuepress build docs", |
| 23 | + "prebuild": "rimraf dist .temp/types", |
| 24 | + "build": "tsc --emitDeclarationOnly --declaration --outDir .temp/types && rollup -c rollup.config.js", |
25 | 25 | "docs:dev": "vuepress dev docs", |
| 26 | + "docs:build": "vuepress build docs", |
26 | 27 | "test": "vitest", |
27 | 28 | "coverage": "vitest run --coverage", |
28 | | - "lint": "eslint 'src/**/*.{js,vue}'", |
| 29 | + "lint": "eslint --no-fix --max-warnings 0 {**/*,*}.{js,ts,vue}", |
29 | 30 | "push": "clear && git config core.ignorecase false && branch=\"$(git symbolic-ref -q HEAD)\" || \"dev\" && branch=${branch##refs/heads/} && branch=${branch:-HEAD} && echo Pushing to Branch \"$branch\" && echo Please type your commit message && read msg && clear && git add . && git commit -m \"$msg\" && git push origin \"$branch\"" |
30 | 31 | }, |
31 | | - "devDependencies": { |
32 | | - "@rollup/plugin-node-resolve": "^15.0.1", |
33 | | - "@rushstack/eslint-patch": "^1.2.0", |
34 | | - "@types/jest": "^29.4.0", |
35 | | - "@typescript-eslint/eslint-plugin": "^5.38.1", |
36 | | - "@typescript-eslint/parser": "^5.38.1", |
37 | | - "@vue/eslint-config-prettier": "^7.0.0", |
38 | | - "@vue/eslint-config-typescript": "^11.0.2", |
39 | | - "@vue/test-utils": "^1.3.0", |
40 | | - "eslint": "^8.34.0", |
41 | | - "eslint-config-prettier": "^8.5.0", |
42 | | - "eslint-plugin-vue": "^9.9.0", |
43 | | - "jsdom": "latest", |
44 | | - "lint-staged": "^13.1.2", |
45 | | - "prettier": "^2.7.1", |
46 | | - "rimraf": "^3.0.2", |
47 | | - "rollup": "^2.6.1", |
48 | | - "rollup-plugin-dts": "^4.2.2", |
49 | | - "rollup-plugin-filesize": "^9.1.2", |
50 | | - "rollup-plugin-typescript2": "^0.34.1", |
51 | | - "typescript": "^4.9.5", |
52 | | - "vite": "^4.1.1", |
53 | | - "vite-plugin-vue2": "^1.9.3", |
54 | | - "vitest": "^0.28.5", |
55 | | - "vue": "^2.6.0", |
56 | | - "vue-template-compiler": "^2.6.0" |
57 | | - }, |
58 | 32 | "bugs": { |
59 | 33 | "url": "https://github.com/coders-tm/vue-number-format/issues" |
60 | 34 | }, |
|
79 | 53 | "publishConfig": { |
80 | 54 | "@coders-tm:registry": "https://npm.pkg.github.com" |
81 | 55 | }, |
| 56 | + "peerDependencies": { |
| 57 | + "vue": "^2.7 || ^3.0.0" |
| 58 | + }, |
| 59 | + "devDependencies": { |
| 60 | + "@rushstack/eslint-patch": "^1.2.0", |
| 61 | + "@testing-library/dom": "^8.18.1", |
| 62 | + "@testing-library/user-event": "^13.5.0", |
| 63 | + "@types/jest": "^29.4.0", |
| 64 | + "@typescript-eslint/eslint-plugin": "^5.38.1", |
| 65 | + "@typescript-eslint/parser": "^5.38.1", |
| 66 | + "@vitejs/plugin-vue": "latest", |
| 67 | + "@vitest/coverage-c8": "^0.23.4", |
| 68 | + "@vue/eslint-config-prettier": "^7.0.0", |
| 69 | + "@vue/eslint-config-typescript": "^11.0.2", |
| 70 | + "@vue/test-utils": "^2.0.0", |
| 71 | + "@vuepress/plugin-google-analytics": "^2.0.0-beta.27", |
| 72 | + "@vuepress/plugin-medium-zoom": "^2.0.0-beta.27", |
| 73 | + "@vuepress/plugin-register-components": "2.0.0-beta.27", |
| 74 | + "@vuepress/plugin-search": "^2.0.0-beta.27", |
| 75 | + "eslint": "^8.24.0", |
| 76 | + "eslint-config-prettier": "^8.5.0", |
| 77 | + "eslint-plugin-vue": "^9.5.1", |
| 78 | + "jsdom": "latest", |
| 79 | + "lint-staged": "^13.0.3", |
| 80 | + "prettier": "^2.7.1", |
| 81 | + "rimraf": "^3.0.2", |
| 82 | + "rollup": "^2.79.1", |
| 83 | + "rollup-plugin-cleanup": "^3.2.1", |
| 84 | + "rollup-plugin-dts": "^4.2.2", |
| 85 | + "rollup-plugin-filesize": "^9.1.2", |
| 86 | + "rollup-plugin-typescript2": "^0.34.0", |
| 87 | + "simple-git-hooks": "^2.8.0", |
| 88 | + "typescript": "^4.8.4", |
| 89 | + "unplugin-vue-components": "^0.22.7", |
| 90 | + "vite": "^3.2.3", |
| 91 | + "vite-plugin-windicss": "^1.8.1", |
| 92 | + "vitest": "latest", |
| 93 | + "vue": "^3.0.0", |
| 94 | + "vuepress-vite": "^2.0.0-beta.27", |
| 95 | + "windicss": "^3.5.0" |
| 96 | + }, |
82 | 97 | "simple-git-hooks": { |
83 | 98 | "pre-commit": "npx lint-staged" |
84 | 99 | }, |
|
0 commit comments