{"_id":"@ahmadkajjan/gentech-wallet","_rev":"7-8f27659ccd97c9107486885899453468","name":"@ahmadkajjan/gentech-wallet","dist-tags":{"latest":"4.0.0"},"versions":{"0.1.0":{"version":"0.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"gitHead":"51c325014cccd4b4cf267de1dd3ecf9b36ca19f4","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_id":"@ahmadkajjan/gentech-wallet@0.1.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-WQms849gkdQfEIJrbxBJkRR+UVQYyn0wNcb9OZcxkzDEX9bSIHwfwD8zzyQ8cgLODo4rn6N5bjtXS1YSDWD3XQ==","shasum":"7c1f564704af9e5a61a14fd5286e401400e09679","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-0.1.0.tgz","fileCount":12,"unpackedSize":10787,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjPK+RIsTT9IuLyJdCLAraJI648iYWIME37GMsPB2X9QIhAOvq7dRMN3PRIctzgEdw3SCDzN8cgybGev53v2Orjff/"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_0.1.0_1689160274270_0.6146771806864764"},"_hasShrinkwrap":false},"1.0.0":{"version":"1.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"@reduxjs/toolkit":"^1.9.5","react-redux":"^8.1.1","redux-logger":"^3.0.6","uuid":"^9.0.0"},"gitHead":"d775f1a4de369a691943138c94694ad3f3318bd0","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_id":"@ahmadkajjan/gentech-wallet@1.0.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-5H8YrAoaNQFrKfBaxmkJ4/YhtPDVoYJ/yPsQ76NxI12xZrbspN4dHd7CnVRnGMqdzEh4ftqmwczKZ/3fDw6pLg==","shasum":"b4e9bea88264562c621428440c9b387660846f6a","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-1.0.0.tgz","fileCount":26,"unpackedSize":124831,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3Caev1ML8bGOatGAixsbSwtTh4fxohcINpK7aTx2TQQIhAPGAP896fm7RBj7Jw5Lm7muE2iWC81hlJAVOn6fsCbz5"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_1.0.0_1689632928912_0.8686018150378083"},"_hasShrinkwrap":false},"1.0.1":{"version":"1.0.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"@reduxjs/toolkit":"^1.9.5","react-redux":"^8.1.1","redux-logger":"^3.0.6","uuid":"^9.0.0"},"gitHead":"f0941eb082c208fe60e703787faa0bf18c10af3d","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_id":"@ahmadkajjan/gentech-wallet@1.0.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-n3trBZMnoETA+xGsHDUyV2YZLma8ElD/OSACZW0+tw3mxZCfNkUHdsHr9CMEiZ0gfMqrppEvO2HR7KuaO0EObA==","shasum":"845b5dfae975871e9654583bb28ed1763e5947ab","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-1.0.1.tgz","fileCount":26,"unpackedSize":125718,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCT1pg5BbACYUG8bOlKfcdtwvURLViDA2YyEcETo+5d8QIhAO0r6FIOak3Mv+tEdHrJfn2fZ+dcvhqj6P8rlJbRzKPc"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_1.0.1_1689693230697_0.6766535820438435"},"_hasShrinkwrap":false},"1.1.0":{"version":"1.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"@reduxjs/toolkit":"^1.9.5","react-redux":"^8.1.1","redux-logger":"^3.0.6","uuid":"^9.0.0"},"gitHead":"f4e912f0596bc5fae9c5b1f6a85e802e6b48a797","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_id":"@ahmadkajjan/gentech-wallet@1.1.0","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-JJVyRlRcpePtlHFwy0FHPIS+yiCzjLW9unyErN+1gvTNdjZCwxBKgz2BsKBDjoTIdV0y9Ethx2eopDwJPRcyVQ==","shasum":"f720d8d985c273571598ce42e71b72a815a08b32","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-1.1.0.tgz","fileCount":26,"unpackedSize":126596,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChtGBx0ghE7sm5FmMcLkZ17E+XSGLW+JjwsMjQ2ZWj2QIgUlmL5Iw7crX1R6szHEw/bY6X195kKYHXArqt4sCucJE="}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_1.1.0_1695130257572_0.5926662866078087"},"_hasShrinkwrap":false},"1.1.1":{"version":"1.1.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"@reduxjs/toolkit":"^1.9.5","react-redux":"^8.1.1","redux-logger":"^3.0.6","uuid":"^9.0.0"},"gitHead":"16eed23fa47057962e08e6a8657232c4a851c717","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_id":"@ahmadkajjan/gentech-wallet@1.1.1","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-8oUSk3F5qLKSKkYEfFBH1BKNPaXomxt+ph/ZlKGe+P0P+Fn7aJFJ0V1gQF5dVuaIvGhhfGKXrV8YXA6a8op/vQ==","shasum":"51c2df5fcdb8f89508c29ac9b0c6cd2fcdab3295","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-1.1.1.tgz","fileCount":26,"unpackedSize":131142,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPxiw5E214TyIaKIAGdiaSv/AzkorehdEWjughbAd2QAIhALRiRi+pbjGH6SR3G5lfEvwJmA2cGQ1j1/zrj3ys+fXi"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_1.1.1_1695805744749_0.26544050850431544"},"_hasShrinkwrap":false},"2.1.0":{"version":"2.1.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"uuid":"^9.0.0"},"_id":"@ahmadkajjan/gentech-wallet@2.1.0","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-NKwiTqhxakMYvnBgu7esg4LXNoK5bjAmLzks0d4wSS5c3BmLdcCKbrwMA2o1ce7XFj97ITtH8WZTUe1pyve0pw==","shasum":"830b5dff984b45f671dffcc7fa54db8f6ab8709d","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-2.1.0.tgz","fileCount":24,"unpackedSize":136612,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvvXyfIxqD/9JE8ETevaQwND7eXlqhvyBxyjz10KulkgIhANQkcWd1GeaOcARycsOqgoGW3G5Hk+QiH7bJr1uocUQl"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_2.1.0_1702202586384_0.031959882879203816"},"_hasShrinkwrap":false},"3.0.0":{"version":"3.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"uuid":"^9.0.0"},"_id":"@ahmadkajjan/gentech-wallet@3.0.0","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-vKT7gBBR3tBDAqGpJCfM8YV56V6Az8b8CqSTsYF9kqock5BS1qxAzIovAXJSCG1Ehd+5bb13NtBV3uG7TI2t7A==","shasum":"0c7680c77d941a84b6dee1db12764d900cd7ead1","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-3.0.0.tgz","fileCount":24,"unpackedSize":154756,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf2jQabbwb5+yxE0t5FbVVuAV0dVUeCR2v1LoYXhWbvgIhAMpLNBcCaK2iHb9mHIFeOv4xi7MVzl5sJ3H8uY4WQOvE"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_3.0.0_1706016379117_0.2172694294485502"},"_hasShrinkwrap":false},"4.0.0":{"version":"4.0.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"scripts":{"start":"tsdx watch","build":"tsdx build","test":"tsdx test --passWithNoTests","lint":"tsdx lint","prepare":"tsdx build","size":"size-limit","analyze":"size-limit --why"},"peerDependencies":{"react":">=16"},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"@ahmadkajjan/gentech-wallet","author":{"name":"AhmadKajjan-QU"},"module":"dist/gentech-wallet.esm.js","size-limit":[{"path":"dist/gentech-wallet.cjs.production.min.js","limit":"10 KB"},{"path":"dist/gentech-wallet.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^8.2.6","@types/react":"^18.2.14","@types/react-dom":"^18.2.6","@types/redux-logger":"^3.0.9","@types/uuid":"^9.0.2","husky":"^8.0.3","react":"^18.2.0","react-dom":"^18.2.0","size-limit":"^8.2.6","tsdx":"^0.14.1","tslib":"^2.6.0","typescript":"^5.1.6"},"dependencies":{"uuid":"^9.0.0"},"_id":"@ahmadkajjan/gentech-wallet@4.0.0","description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-wuHubqwd7c4RbTQruhsK0MBkebvZCl2DeSgOGPUwN2/e8fExb3ld9rmhWCTRG+cJnvkkGTKG5uAEESnpNKp7lg==","shasum":"6c8f4bb14e0d0234309c48a41154d5a7df607fe6","tarball":"https://registry.npmjs.org/@ahmadkajjan/gentech-wallet/-/gentech-wallet-4.0.0.tgz","fileCount":20,"unpackedSize":128226,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDixFv1ZUHTzvySrrcAMOPqhOTqYlir7LF3TBFVBv4MbAIhAMqOS8ifubp0uj9h5a3rgUBb5FjP7b2M4KpVoQ/ZITda"}]},"_npmUser":{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"},"directories":{},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gentech-wallet_4.0.0_1706184487537_0.15241046589506246"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-12T11:11:14.196Z","0.1.0":"2023-07-12T11:11:14.445Z","modified":"2024-01-25T12:08:07.949Z","1.0.0":"2023-07-17T22:28:49.103Z","1.0.1":"2023-07-18T15:13:50.868Z","1.1.0":"2023-09-19T13:30:57.715Z","1.1.1":"2023-09-27T09:09:04.966Z","2.1.0":"2023-12-10T10:03:06.570Z","3.0.0":"2024-01-23T13:26:19.257Z","4.0.0":"2024-01-25T12:08:07.777Z"},"maintainers":[{"name":"ahmadkajjan","email":"KajjanAhmad73@gmail.com"}],"description":"Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.","author":{"name":"AhmadKajjan-QU"},"license":"MIT","readme":"# TSDX React User Guide\n\nCongrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.\n\n> This TSDX setup is meant for developing React component libraries (not apps!) that can be published to NPM. If you’re looking to build a React-based app, you should use `create-react-app`, `razzle`, `nextjs`, `gatsby`, or `react-static`.\n\n> If you’re new to TypeScript and React, checkout [this handy cheatsheet](https://github.com/sw-yx/react-typescript-cheatsheet/)\n\n## Commands\n\nTSDX scaffolds your new library inside `/src`, and also sets up a [Parcel-based](https://parceljs.org) playground for it inside `/example`.\n\nThe recommended workflow is to run TSDX in one terminal:\n\n```bash\nnpm start # or yarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nThen run the example inside another:\n\n```bash\ncd example\nnpm i # or yarn to install dependencies\nnpm start # or yarn start\n```\n\nThe default example imports and live reloads whatever is in `/dist`, so if you are seeing an out of date component, make sure TSDX is running in watch mode like we recommend above. **No symlinking required**, we use [Parcel's aliasing](https://parceljs.org/module_resolution.html#aliases).\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n## Configuration\n\nCode quality is set up for you with `prettier`, `husky`, and `lint-staged`. Adjust the respective fields in `package.json` accordingly.\n\n### Jest\n\nJest tests are set up to run with `npm test` or `yarn test`.\n\n### Bundle analysis\n\nCalculates the real cost of your library using [size-limit](https://github.com/ai/size-limit) with `npm run size` and visulize it with `npm run analyze`.\n\n#### Setup Files\n\nThis is the folder structure we set up for you:\n\n```txt\n/example\n  index.html\n  index.tsx       # test your component here in a demo app\n  package.json\n  tsconfig.json\n/src\n  index.tsx       # EDIT THIS\n/test\n  blah.test.tsx   # EDIT THIS\n.gitignore\npackage.json\nREADME.md         # EDIT THIS\ntsconfig.json\n```\n\n#### React Testing Library\n\nWe do not set up `react-testing-library` for you yet, we welcome contributions and documentation on this.\n\n### Rollup\n\nTSDX uses [Rollup](https://rollupjs.org) as a bundler and generates multiple rollup configs for various module formats and build settings. See [Optimizations](#optimizations) for details.\n\n### TypeScript\n\n`tsconfig.json` is set up to interpret `dom` and `esnext` types, as well as `react` for `jsx`. Adjust according to your needs.\n\n## Continuous Integration\n\n### GitHub Actions\n\nTwo actions are added by default:\n\n- `main` which installs deps w/ cache, lints, tests, and builds on all pushes against a Node and OS matrix\n- `size` which comments cost comparison of your library on every pull request using [`size-limit`](https://github.com/ai/size-limit)\n\n## Optimizations\n\nPlease see the main `tsdx` [optimizations docs](https://github.com/palmerhq/tsdx#optimizations). In particular, know that you can take advantage of development-only optimizations:\n\n```js\n// ./types/index.d.ts\ndeclare var __DEV__: boolean;\n\n// inside your code...\nif (__DEV__) {\n  console.log('foo');\n}\n```\n\nYou can also choose to install and use [invariant](https://github.com/palmerhq/tsdx#invariant) and [warning](https://github.com/palmerhq/tsdx#warning) functions.\n\n## Module Formats\n\nCJS, ESModules, and UMD module formats are supported.\n\nThe appropriate paths are configured in `package.json` and `dist/index.js` accordingly. Please report if any issues are found.\n\n## Deploying the Example Playground\n\nThe Playground is just a simple [Parcel](https://parceljs.org) app, you can deploy it anywhere you would normally deploy that. Here are some guidelines for **manually** deploying with the Netlify CLI (`npm i -g netlify-cli`):\n\n```bash\ncd example # if not already in the example folder\nnpm run build # builds to dist\nnetlify deploy # deploy the dist folder\n```\n\nAlternatively, if you already have a git repo connected, you can set up continuous deployment with Netlify:\n\n```bash\nnetlify init\n# build command: yarn build && cd example && yarn && yarn build\n# directory to deploy: example/dist\n# pick yes for netlify.toml\n```\n\n## Named Exports\n\nPer Palmer Group guidelines, [always use named exports.](https://github.com/palmerhq/typescript#exports) Code split inside your React app instead of your React library.\n\n## Including Styles\n\nThere are many ways to ship styles, including with CSS-in-JS. TSDX has no opinion on this, configure how you like.\n\nFor vanilla CSS, you can include it at the root directory and add it to the `files` section in your `package.json`, so that it can be imported separately by your users and run through their bundler's loader.\n\n## Publishing to NPM\n\nWe recommend using [np](https://github.com/sindresorhus/np).\n\n## Usage with Lerna\n\nWhen creating a new package with TSDX within a project set up with Lerna, you might encounter a `Cannot resolve dependency` error when trying to run the `example` project. To fix that you will need to make changes to the `package.json` file _inside the `example` directory_.\n\nThe problem is that due to the nature of how dependencies are installed in Lerna projects, the aliases in the example project's `package.json` might not point to the right place, as those dependencies might have been installed in the root of your Lerna project.\n\nChange the `alias` to point to where those packages are actually installed. This depends on the directory structure of your Lerna project, so the actual path might be different from the diff below.\n\n```diff\n   \"alias\": {\n-    \"react\": \"../node_modules/react\",\n-    \"react-dom\": \"../node_modules/react-dom\"\n+    \"react\": \"../../../node_modules/react\",\n+    \"react-dom\": \"../../../node_modules/react-dom\"\n   },\n```\n\nAn alternative to fixing this problem would be to remove aliases altogether and define the dependencies referenced as aliases as dev dependencies instead. [However, that might cause other problems.](https://github.com/palmerhq/tsdx/issues/64)\n","readmeFilename":"README.md"}