{"_id":"@cars4ever/auth-provider","name":"@cars4ever/auth-provider","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.9":{"name":"@cars4ever/auth-provider","version":"1.0.9","description":"Authorization utils","author":{"name":"olehrb"},"license":"MIT","module":"dist/index.js","jsnext:main":"dist/index.js","types":"dist/","publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://bitbucket.org/interdan/adminparts.git"},"engines":{"node":">=24"},"type":"module","scripts":{"start":"yarn clean && NODE_ENV=development rollup -c -w","build":"yarn clean && NODE_ENV=production rollup -c","lint":"eslint src","clean":"rimraf dist css .rpt2_cache","release:patch":"yarn build && yarn publish --new-version patch","release:minor":"yarn build && yarn publish --new-version minor","release:major":"yarn build && yarn publish --new-version major"},"devDependencies":{"@eslint/js":"^9.27.0","@rollup/plugin-alias":"^5.1.1","@rollup/plugin-commonjs":"^28.0.2","@rollup/plugin-node-resolve":"^16.0.0","@rollup/plugin-typescript":"^12.1.2","@types/auth0-js":"^9.21.0","@types/react":"^19.1.3","@types/react-dom":"^19.1.3","@typescript-eslint/eslint-plugin":"^8.32.1","@typescript-eslint/parser":"^8.32.1","eslint":"^9.27.0","eslint-plugin-react":"^7.37.5","globals":"^17.5.0","react":"^19.1.0","react-dom":"^19.1.0","rimraf":"^6.0.1","rollup":"^4.41.0","rollup-plugin-peer-deps-external":"^2.2.4","tslib":"^2.8.1","typescript":"^5.8.3"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0"},"dependencies":{"auth0-js":"^9.28.1"},"_id":"@cars4ever/auth-provider@1.0.9","bugs":{"url":"https://bitbucket.org/interdan/adminparts/issues"},"homepage":"https://bitbucket.org/interdan/adminparts#readme","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-AwliEGot+xjHDxkqwcjbfYC/odjJ724JO/MqK2Bgczriu8NZz3pPBjXceu0mXvyCz6FqnBflBlgLdhu+2ZMKbQ==","shasum":"627840691ea97985bc34ed6c05de9871a486a882","tarball":"https://registry.npmjs.org/@cars4ever/auth-provider/-/auth-provider-1.0.9.tgz","fileCount":21,"unpackedSize":194004,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDNKTIJBCGXaEh6bh0SYPaEtlC51hWecA2s4lLO47/crwIhAJL+CMHaO889iHYTTTnaiInWRn3XT/fD6EvJ4v0E+miU"}]},"_npmUser":{"name":"wismogroup_developer","email":"digital@wismogroup.com"},"directories":{},"maintainers":[{"name":"wismogroup_developer","email":"digital@wismogroup.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/auth-provider_1.0.9_1777637621164_0.7639929701536088"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-01T12:13:41.104Z","1.0.9":"2026-05-01T12:13:41.327Z","modified":"2026-05-01T12:13:41.492Z"},"maintainers":[{"name":"wismogroup_developer","email":"digital@wismogroup.com"}],"description":"Authorization utils","homepage":"https://bitbucket.org/interdan/adminparts#readme","repository":{"type":"git","url":"git+https://bitbucket.org/interdan/adminparts.git"},"author":{"name":"olehrb"},"bugs":{"url":"https://bitbucket.org/interdan/adminparts/issues"},"license":"MIT","readme":"# React Package Boilerlplate\n\nBasic package boilerlplate for modular react npm-packages\n\n## Steps to create a library:\n\n1. Create modular app structure in *src*\n1. All your components should have *.tsx* extension\n1. Write some tests\n1. Rename your library in **package.json** of your library\n1. Update *repository* field in **package.json**\n1. Add **package.json** files for parts of the app, which could be used separately to *parts* folder\n1. For better experience, you should add root *index.ts* file, which will export all the parts\n1. Update *README* to describe your package\n1. Create some examples to show how your package can be used, to add library as a dependency for the example:\n  1. Add `\"library-name\": \"link:$relative-path-to-library\"` to the dependencies of your example\n  1. Run `yarn`\n\n## Using library\nYou can import either whole library: `import lib from 'library-name;`, or a separated part of the library: `import FeatureName from 'library-name/parts/FeatureName';`\n\n## Using scss:\nYou can use *scss* preprocessor for your components out of the box:\n\n1. Use `import './style.scss';` in the components, which need to be styled\n1. All styles will be bundeled to *css/main.css*\n1. Include the library styles on client(for example if you use webpack for your client app):\n  1. Add `@import(~package-name/css/index.css);` in main css file if you want to import all styles from the library\n  1. Add `@import(~package-name/css/FeatureName/index.css);` in main css file if you want to import styles only for specific part of the library\n\n## Adding envs to example:\nBecause *example* is based 0n *create-react-app* it is possible to use custom envs as suggested [here](https://facebook.github.io/create-react-app/docs/adding-custom-environment-variables)\n\n## Building:\nRun `yarn build` to prepare your library to be deployed\n\n## Releasing:\nRun `yarn release:$type` to release your app (where **$type** can be: patch, minor or major)\n\n## Development\nRun `yarn start` to start your application\n\n## Running test\nRun `yarn test` to run tests once\nRun `yarn test:watch` to rerun tests each time any file changes","readmeFilename":"README.md","_rev":"1-76eb38a16abde044bf18a9df0f350e69"}