Skip to content

Commit

Permalink
📦 chore: Modify package.json to include es6 imports (react-hook-form#…
Browse files Browse the repository at this point in the history
…7034)

* chore: Modify package.json to include es6 imports

* rename jest config to cjs

* update script
  • Loading branch information
karanaditya993 authored Nov 12, 2021
1 parent 66c9f21 commit 461c7db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "react-hook-form",
"description": "Performant, flexible and extensible forms library for React Hooks",
"version": "7.19.5",
"type": "module",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"umd:main": "dist/index.umd.js",
Expand Down Expand Up @@ -34,7 +35,7 @@
"lint:fix": "yarn lint -- --fix",
"type": "tsc --noEmit",
"coverage": "jest --coverage --coverageReporters=text-lcov",
"test": "jest --config ./scripts/jest/jest.config.js",
"test": "jest --config ./scripts/jest/jest.config.cjs",
"test:coverage": "yarn test -- --coverage",
"test:watch": "yarn test -- --onlyChanged --watch",
"test:web": "TEST_ENV=web yarn test",
Expand Down
File renamed without changes.

0 comments on commit 461c7db

Please sign in to comment.