Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #434 from probil/next-v2.0
Browse files Browse the repository at this point in the history
v2.0
  • Loading branch information
probil authored Jul 19, 2019
2 parents cbe3e55 + aaa9a4f commit b9f9b9f
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 130 deletions.
25 changes: 0 additions & 25 deletions .babelrc

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Vue2](https://img.shields.io/badge/Vue-2.x-brightgreen.svg)](https://vuejs.org/)
[![](https://data.jsdelivr.com/v1/package/npm/v-mask/badge?style=rounded)](https://www.jsdelivr.com/package/npm/v-mask)

> Super tiny input mask library for vue.js based on [PureMask.js](https://github.com/romulobrasil/PureMask.js) (~2kb) exposed as directive. No dependencies
> Tiny input mask library for vue.js based on [text-mask-core](https://github.com/romulobrasil/PureMask.js) (~4kb) exposed as directive. No dependencies
## :art: Playground on the Web

Expand Down
25 changes: 25 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
modules: false,
targets: {
browsers: [
'> 1%',
'last 2 versions',
'not ie <= 8',
],
},
},
],
],
comments: false,
env: {
test: {
presets: [
'@babel/preset-env',
],
},
},
};
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
roots: [
'<rootDir>/src',
],
transformIgnorePatterns: [
'node_modules/(?!(text-mask-core)/)',
],
};
58 changes: 22 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 2 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "v-mask",
"version": "1.3.4",
"description": "Super tiny input mask library for Vue.js based on PureMask.js (~2kb) exposed as directive. No dependencies",
"description": "Tiny input mask library for Vue.js based on text-mask-core (~4kb) exposed as directive. No dependencies",
"main": "dist/v-mask.js",
"module": "dist/v-mask.esm.js",
"scripts": {
Expand Down Expand Up @@ -44,13 +44,9 @@
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-terser": "5.1.1",
"text-mask-core": "5.1.2",
"vue": "2.6.10",
"vue-server-renderer": "2.6.10",
"vue-template-compiler": "2.6.10"
},
"jest": {
"roots": [
"<rootDir>/src"
]
}
}
Loading

0 comments on commit b9f9b9f

Please sign in to comment.