diff --git a/packages/react-zorm/package.json b/packages/react-zorm/package.json index 51f254d..2b168cd 100644 --- a/packages/react-zorm/package.json +++ b/packages/react-zorm/package.json @@ -1,87 +1,87 @@ { - "name": "react-zorm", - "version": "0.5.1", - "description": "", - "author": "Esa-Matti Suuronen", - "license": "ISC", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./esm/react-zorm.mjs", - "require": "./dist/index.js" - }, - "./package.json": "./package.json" + "name": "react-zorm", + "version": "0.6.0", + "description": "", + "author": "Esa-Matti Suuronen", + "license": "ISC", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./esm/react-zorm.mjs", + "require": "./dist/index.js" }, - "sideEffects": false, - "main": "dist/index.js", - "typings": "dist/index.d.ts", - "repository": { - "url": "https://github.com/esamattis/react-zorm/" - }, - "scripts": { - "esbuild": "rm -rf out && esbuild --bundle src/index.tsx --outdir=out --target=es2021 '--external:./node_modules/*' --platform=node --minify && gzip out/index.js && ls -lh out/index.js.gz", - "build": "run-p 'build:*'", - "build:tsc": "tsc -p tsconfig.build.json", - "build:vite": "vite build", - "publish-build": "cp ../../README.md . && pnpm run build", - "watch": "tsc -w -p tsconfig.build.json", - "eslint": "eslint --max-warnings 0 \"src/**/*.ts\" \"src/**/*.tsx\" \"e2e/**/*.tsx\" \"e2e/**/*.ts\" \"__tests__/**/*.tsx\" \"__tests__/**/*.ts\"", - "dev:vite": "vite", - "playwright-test": "playwright test", - "jest": "jest", - "tsc": "tsc", - "test": "tsc && jest && pnpm run eslint", - "size-limit": "size-limit" - }, - "peerDependencies": { - "react": ">=17.0.0", - "react-dom": ">=17.0.0", - "zod": ">=3.0.0" - }, - "files": [ - "src", - "esm", - "dist" - ], - "devDependencies": { - "@babel/core": "^7.19.3", - "@babel/preset-env": "^7.19.4", - "@babel/preset-react": "^7.18.6", - "@babel/preset-typescript": "^7.18.6", - "@playwright/test": "^1.27.1", - "@size-limit/preset-small-lib": "^8.1.0", - "@testing-library/dom": "^8.19.0", - "@testing-library/jest-dom": "^5.16.5", - "@testing-library/react": "^13.4.0", - "@testing-library/user-event": "^14.4.3", - "@types/jest": "^29.1.2", - "@types/node": "^18.11.0", - "@types/react": "18.0.21", - "@types/react-dom": "18.0.6", - "@types/testing-library__jest-dom": "^5.14.5", - "@typescript-eslint/eslint-plugin": "5.40.0", - "@typescript-eslint/parser": "5.40.0", - "@valu/assert": "^1.3.1", - "babel-jest": "^29.2.0", - "esbuild": "^0.15.11", - "eslint": "8.25.0", - "eslint-plugin-react-hooks": "4.6.0", - "jest": "^29.2.0", - "jest-environment-jsdom": "^29.2.0", - "msw": "^0.47.4", - "npm-run-all": "^4.1.5", - "prettier": "2.7.1", - "react": "18.2.0", - "react-dom": "18.2.0", - "size-limit": "^8.1.0", - "typescript": "4.8.4", - "vite": "^3.1.8", - "zod": "3.19.1" - }, - "size-limit": [ - { - "path": "esm/react-zorm.mjs", - "limit": "2.5 KB" - } - ] + "./package.json": "./package.json" + }, + "sideEffects": false, + "main": "dist/index.js", + "typings": "dist/index.d.ts", + "repository": { + "url": "https://github.com/esamattis/react-zorm/" + }, + "scripts": { + "esbuild": "rm -rf out && esbuild --bundle src/index.tsx --outdir=out --target=es2021 '--external:./node_modules/*' --platform=node --minify && gzip out/index.js && ls -lh out/index.js.gz", + "build": "run-p 'build:*'", + "build:tsc": "tsc -p tsconfig.build.json", + "build:vite": "vite build", + "publish-build": "cp ../../README.md . && pnpm run build", + "watch": "tsc -w -p tsconfig.build.json", + "eslint": "eslint --max-warnings 0 \"src/**/*.ts\" \"src/**/*.tsx\" \"e2e/**/*.tsx\" \"e2e/**/*.ts\" \"__tests__/**/*.tsx\" \"__tests__/**/*.ts\"", + "dev:vite": "vite", + "playwright-test": "playwright test", + "jest": "jest", + "tsc": "tsc", + "test": "tsc && jest && pnpm run eslint", + "size-limit": "size-limit" + }, + "peerDependencies": { + "react": ">=17.0.0", + "react-dom": ">=17.0.0", + "zod": ">=3.0.0" + }, + "files": [ + "src", + "esm", + "dist" + ], + "devDependencies": { + "@babel/core": "^7.19.3", + "@babel/preset-env": "^7.19.4", + "@babel/preset-react": "^7.18.6", + "@babel/preset-typescript": "^7.18.6", + "@playwright/test": "^1.27.1", + "@size-limit/preset-small-lib": "^8.1.0", + "@testing-library/dom": "^8.19.0", + "@testing-library/jest-dom": "^5.16.5", + "@testing-library/react": "^13.4.0", + "@testing-library/user-event": "^14.4.3", + "@types/jest": "^29.1.2", + "@types/node": "^18.11.0", + "@types/react": "18.0.21", + "@types/react-dom": "18.0.6", + "@types/testing-library__jest-dom": "^5.14.5", + "@typescript-eslint/eslint-plugin": "5.40.0", + "@typescript-eslint/parser": "5.40.0", + "@valu/assert": "^1.3.1", + "babel-jest": "^29.2.0", + "esbuild": "^0.15.11", + "eslint": "8.25.0", + "eslint-plugin-react-hooks": "4.6.0", + "jest": "^29.2.0", + "jest-environment-jsdom": "^29.2.0", + "msw": "^0.47.4", + "npm-run-all": "^4.1.5", + "prettier": "2.7.1", + "react": "18.2.0", + "react-dom": "18.2.0", + "size-limit": "^8.1.0", + "typescript": "4.8.4", + "vite": "^3.1.8", + "zod": "3.19.1" + }, + "size-limit": [ + { + "path": "esm/react-zorm.mjs", + "limit": "2.5 KB" + } + ] }