Skip to content

Commit e128642

Browse files
code fix
1 parent 808ad42 commit e128642

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

form-validation-lib-js-2.0.7.tgz

13.4 KB
Binary file not shown.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
{
22
"name": "form-validation-lib-js",
3-
"version": "2.0.6",
3+
"version": "2.0.7",
4+
"type": "module",
45
"description": "A comprehensive JavaScript form validation library",
6+
"main": "./dist/cjs/index.js",
7+
"module": "./dist/esm/index.js",
8+
"types": "./dist/types/index.d.ts",
59
"exports": {
610
".": {
711
"import": "./dist/esm/index.js",
812
"require": "./dist/cjs/index.js",
913
"types": "./dist/types/index.d.ts"
1014
}
1115
},
12-
"main": "./dist/cjs/index.js",
13-
"module": "./dist/esm/index.js",
14-
"types": "./dist/types/index.d.ts",
1516
"scripts": {
16-
"build": "npm run build:esm && npm run build:cjs",
17+
"build": "rimraf dist && npm run build:esm && npm run build:cjs",
1718
"build:esm": "tsc -p tsconfig.json",
1819
"build:cjs": "tsc -p tsconfig-cjs.json",
1920
"clean": "rimraf dist",
@@ -34,7 +35,6 @@
3435
"type": "git",
3536
"url": "https://github.com/anuragsingh6886/form-validatio-lib"
3637
},
37-
"type": "commonjs",
3838
"devDependencies": {
3939
"@types/jest": "^29.5.11",
4040
"@typescript-eslint/eslint-plugin": "^6.19.1",

0 commit comments

Comments
 (0)