qrcode.react
Advanced tools
Comparing version 4.1.0 to 4.2.0
{ | ||
"name": "qrcode.react", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "React component to generate QR codes", | ||
@@ -26,2 +26,15 @@ "keywords": [ | ||
}, | ||
"scripts": { | ||
"build": "pnpm run build:code && pnpm run build:examples", | ||
"build:code": "tsup src/index.tsx -d lib --format esm,cjs --dts --legacy-output --target=es2017 --platform=browser", | ||
"build:examples": "tsup examples/demo.tsx -d examples --format iife --env.NODE_ENV production --minify --target=es2017 --legacy-output", | ||
"build:examples:dev": "tsup examples/demo.tsx -d examples --format iife --env.NODE_ENV development --target=es2017 --legacy-output", | ||
"lint": "eslint .", | ||
"pretty": "prettier --write '{*,.*}.{mjs,js,json}' '**/*.{js,json}'", | ||
"prepack": "make clean && make all && pnpm run typecheck", | ||
"prepublish-docs": "make clean && make all", | ||
"publish-docs": "gh-pages --dist=examples --src='{index.html,iife/demo.js}'", | ||
"test": "jest", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"author": "Paul O’Shannessy <paul@oshannessy.com>", | ||
@@ -37,3 +50,3 @@ "repository": { | ||
"peerDependencies": { | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0" | ||
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" | ||
}, | ||
@@ -44,6 +57,6 @@ "devDependencies": { | ||
"@testing-library/jest-dom": "^6.4.8", | ||
"@testing-library/react": "^16.0.0", | ||
"@testing-library/react": "^16.1.0", | ||
"@types/node": "^20.4.10", | ||
"@types/react": "^18.0.8", | ||
"@types/react-dom": "^18.0.3", | ||
"@types/react": "^19.0.1", | ||
"@types/react-dom": "^19.0.2", | ||
"@typescript-eslint/eslint-plugin": "^6.3.0", | ||
@@ -61,4 +74,4 @@ "@typescript-eslint/parser": "^6.3.0", | ||
"prettier": "^3.0.1", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"ts-jest": "^29.1.0", | ||
@@ -68,14 +81,3 @@ "tsup": "^8.0.2", | ||
}, | ||
"scripts": { | ||
"build": "pnpm run build:code && pnpm run build:examples", | ||
"build:code": "tsup src/index.tsx -d lib --format esm,cjs --dts --legacy-output --target=es2017 --platform=browser", | ||
"build:examples": "tsup examples/demo.tsx -d examples --format iife --env.NODE_ENV production --minify --target=es2017 --legacy-output", | ||
"build:examples:dev": "tsup examples/demo.tsx -d examples --format iife --env.NODE_ENV development --target=es2017 --legacy-output", | ||
"lint": "eslint .", | ||
"pretty": "prettier --write '{*,.*}.{mjs,js,json}' '**/*.{js,json}'", | ||
"prepublish-docs": "make clean && make all", | ||
"publish-docs": "gh-pages --dist=examples --src='{index.html,iife/demo.js}'", | ||
"test": "jest", | ||
"typecheck": "tsc --noEmit" | ||
} | ||
} | ||
"packageManager": "pnpm@9.8.0+sha512.8e4c3550fb500e808dbc30bb0ce4dd1eb614e30b1c55245f211591ec2cdf9c611cabd34e1364b42f564bd54b3945ed0f49d61d1bbf2ec9bd74b866fcdc723276" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114980