diff --git a/package.json b/package.json index c3eedaa7..311a340b 100644 --- a/package.json +++ b/package.json @@ -2,12 +2,12 @@ "name": "@hookform/resolvers", "version": "0.0.3", "description": "React Hook Form validation resolvers: Yup, Joi, Superstruct and etc.", - "main": "dist/react-hook-form-resolvers.js", - "module": "dist/react-hook-form-resolvers.es.js", + "main": "dist/resolvers.js", + "module": "dist/resolvers.es.js", "types": "dist/index.d.ts", "repository": { "type": "git", - "url": "git+ssh://git@github.com/react-hook-form/react-hook-form-resolvers.git" + "url": "git+ssh://git@github.com/react-hook-form/resolvers.git" }, "publishConfig": { "access": "public" @@ -46,7 +46,7 @@ "react-hook-form": "6.0.0-beta.2" }, "bugs": { - "url": "https://github.com/react-hook-form/react-hook-form-resolvers/issues" + "url": "https://github.com/react-hook-form/resolvers/issues" }, - "homepage": "https://github.com/react-hook-form/react-hook-form-resolvers#readme" + "homepage": "https://github.com/react-hook-form/resolvers#readme" } diff --git a/rollup.config.js b/rollup.config.js index 8a69bd01..cd206bf3 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -4,12 +4,12 @@ export function getConfig({ tsconfig = './tsconfig.json', output = [ { - file: `dist/react-hook-form-resolvers.js`, + file: `dist/resolvers.js`, format: 'cjs', exports: 'named', }, { - file: `dist/react-hook-form-resolvers.es.js`, + file: `dist/resolvers.es.js`, format: 'esm', }, ],