Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCann authored and Mark McCann committed Oct 13, 2024
1 parent efdb875 commit 4a9a006
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 19 deletions.
5 changes: 2 additions & 3 deletions packages/imask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"description": "vanilla javascript input mask",
"main": "dist/imask.js",
"module": "esm/index.js",
"type": "module",
"repository": "https://github.com/uNmAnNeR/imaskjs",
"types": "index.d.ts",
"engines": {
Expand All @@ -18,7 +17,7 @@
".": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./dist/imask.cjs",
"require": "./dist/imask.js",
"default": "./dist/imask.js"
},
"./holder": {
Expand Down Expand Up @@ -64,7 +63,7 @@
}
},
"scripts": {
"test": "cross-env NODE_ENV=test c8 node --test-reporter=spec --loader tsx --test test/**/*",
"test": "cross-env NODE_ENV=test tsx --test test/**/*",
"watch": "rollup -c -w",
"lint": "eslint src",
"prebuild": "npm run lint -- --quiet && rimraf --glob \"{dist,esm}\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default [
output: {
name: 'IMask',
format: 'cjs',
file: 'dist/imask.cjs',
file: 'dist/imask.js',
sourcemap: true,
exports: 'named',
},
Expand Down
3 changes: 1 addition & 2 deletions packages/react-imask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
"description": "React input mask",
"main": "dist/react-imask.js",
"module": "esm/index.js",
"type": "module",
"types": "index.d.ts",
"repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/react-imask",
"exports": {
".": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./dist/react-imask.cjs",
"require": "./dist/react-imask.js",
"default": "./dist/react-imask.js"
},
"./esm": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default [
external: Object.keys(globals),
output: {
name: 'ReactIMask',
file: 'dist/react-imask.cjs',
file: 'dist/react-imask.js',
format: 'cjs',
globals,
sourcemap: true,
Expand Down
3 changes: 1 addition & 2 deletions packages/react-native-imask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
"description": "React Native Input Mask",
"main": "dist/react-native-imask.js",
"module": "esm/index.js",
"type": "module",
"repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/react-native-imask",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./dist/react-native-imask.cjs",
"require": "./dist/react-native-imask.js",
"default": "./dist/react-native-imask.js"
},
"./*": "./*"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default [
external: Object.keys(globals),
output: {
name: 'ReactNativeIMask',
file: 'dist/react-native-imask.cjs',
file: 'dist/react-native-imask.js',
globals,
format: 'cjs',
sourcemap: true,
Expand Down
3 changes: 1 addition & 2 deletions packages/solid-imask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
"main": "dist/solid-imask.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
"type": "module",
"repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/solid-imask",
"exports": {
".": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./dist/solid-imask.cjs",
"require": "./dist/solid-imask.js",
"default": "./dist/solid-imask.js"
},
"./esm": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default [
external: Object.keys(globals),
output: {
name: 'SolidIMask',
file: 'dist/solid-imask.cjs',
file: 'dist/solid-imask.js',
globals,
format: 'cjs',
sourcemap: true,
Expand Down
3 changes: 1 addition & 2 deletions packages/svelte-imask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"description": "Svelte input mask",
"main": "dist/svelte-imask.js",
"module": "esm/index.js",
"type": "module",
"types": "index.d.ts",
"repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/svelte-imask",
"scripts": {
Expand All @@ -18,7 +17,7 @@
".": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./dist/svelte-imask.cjs",
"require": "./dist/svelte-imask.js",
"default": "./dist/svelte-imask.js"
},
"./esm": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default [
external: Object.keys(globals),
output: {
name: 'SvelteIMask',
file: 'dist/svelte-imask.cjs',
file: 'dist/svelte-imask.js',
format: 'cjs',
sourcemap: true,
globals,
Expand Down
3 changes: 1 addition & 2 deletions packages/vue-imask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"description": "Vue input mask",
"main": "dist/vue-imask.js",
"module": "esm/index.js",
"type": "module",
"types": "index.d.ts",
"repository": "https://github.com/uNmAnNeR/imaskjs/tree/master/packages/vue-imask",
"contributors": [
Expand All @@ -18,7 +17,7 @@
".": {
"types": "./esm/index.d.ts",
"import": "./esm/index.js",
"require": "./dist/vue-imask.cjs",
"require": "./dist/vue-imask.js",
"default": "./dist/vue-imask.js"
},
"./esm": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default [
external: Object.keys(globals),
output: {
name: 'VueIMask',
file: 'dist/vue-imask.cjs',
file: 'dist/vue-imask.js',
format: 'cjs',
sourcemap: true,
globals,
Expand Down

0 comments on commit 4a9a006

Please sign in to comment.