{"_rev":"3-c9809290df186a1698e63f37c7bb715d","time":{"created":"2025-02-11T12:00:34.722Z","modified":"2025-02-11T12:00:35.442Z","0.0.1":"2025-02-11T11:56:04.187Z","0.0.2":"2025-02-11T12:00:35.067Z"},"_id":"@99minds-io/loyalty-widget-sdk","name":"@99minds-io/loyalty-widget-sdk","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.2":{"name":"@99minds-io/loyalty-widget-sdk","version":"0.0.2","description":"Loyalty widget sdk to call 99minds apis","scripts":{"start":"env-cmd -f .env webpack-dev-server --config-name common-config --hot --progress --watch","build":"env-cmd -f .env webpack --progress","prepublishOnly":"npm run build:package:publish","build:package:publish":"PUBLISH=1 env-cmd -f .env.production webpack --config webpack.config.js","build:package:local":"PUBLISH=1 env-cmd -f .env webpack --config webpack.config.js","build:library":"env-cmd -f .env webpack --config webpack.config.js --progress","build:staging":"env-cmd -f .env.staging webpack --config webpack.config.js --progress","build:prod":"env-cmd -f .env.production webpack --config webpack.config.js --progress","build:enterprise1":"env-cmd -f .env.enterprise1 webpack --config webpack.config.js --progress","build:dev":"env-cmd -f .env.dev webpack --config webpack.config.js --progress","build:qa":"env-cmd -f .env.qa webpack --config webpack.config.js --progress","deploy:staging":"DEPLOY=1 env-cmd -f .env.staging webpack --config webpack.config.js --progress","deploy:production":"DEPLOY=1 env-cmd -f .env.production webpack --config webpack.config.js --progress","deploy:enterprise1":"DEPLOY=1 env-cmd -f .env.enterprise1 webpack --config webpack.config.js --progress","deploy:dev":"DEPLOY=1 env-cmd -f .env.dev webpack --config webpack.config.js --progress","deploy:qa":"DEPLOY=1 env-cmd -f .env.qa webpack --config webpack.config.js --progress","deploy:all":"yarn run deploy:dev && yarn run deploy:qa && yarn run deploy:staging && yarn run deploy:production && yarn run deploy:enterprise1"},"main":"lib/index.js","types":"lib/index.d.ts","keywords":[],"author":"","license":"ISC","publishConfig":{"registry":"https://registry.npmjs.org/","access":"public"},"repository":{"type":"git","url":"git+https://github.com/99minds-io/loyalty-widget-sdk.git"},"dependencies":{"@types/node":"^22.0.0","axios":"^1.7.2","ts-node":"^10.9.2","typescript":"^5.5.4"},"devDependencies":{"cross-env":"^7.0.2","dotenv":"^8.2.0","env-cmd":"^9.0.1","ts-loader":"8.3.0","webpack":"^4.12.1","webpack-cli":"^3.0.8","webpack-dev-server":"^3.1.4","webpack-s3-plugin":"^1.0.3"},"_id":"@99minds-io/loyalty-widget-sdk@0.0.2","gitHead":"aa44036672d0bcd1bfc6fda1439cc466d5c8bbca","bugs":{"url":"https://github.com/99minds-io/loyalty-widget-sdk/issues"},"homepage":"https://github.com/99minds-io/loyalty-widget-sdk#readme","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-5ZLIBs0/0sl0rZxVwVCRGzb7tsPwjzcNnDMQ6yBH3dns/mjYqhN99glk3RS6bAbvMn9/AJPjLcUhoO5Kh+kSXw==","shasum":"090bd66e871ba475630e402101ace50d9e9f18d5","tarball":"https://registry.npmjs.org/@99minds-io/loyalty-widget-sdk/-/loyalty-widget-sdk-0.0.2.tgz","fileCount":11,"unpackedSize":80992,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIF5Sbx2nxT+9lSTNSh+/athYig7b+6X/dI7uypyetQ39AiEA3TIBAJbe4nkkbtAFUsfCofBiF+wZ7UqHsTxK542raBc="}]},"_npmUser":{"name":"it-waves","email":"info@it-waves.com"},"directories":{},"maintainers":[{"name":"it-waves","email":"info@it-waves.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/loyalty-widget-sdk_0.0.2_1739275234873_0.2862140165566427"},"_hasShrinkwrap":false}},"maintainers":[{"name":"it-waves","email":"info@it-waves.com"}],"description":"Loyalty widget sdk to call 99minds apis","homepage":"https://github.com/99minds-io/loyalty-widget-sdk#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/99minds-io/loyalty-widget-sdk.git"},"bugs":{"url":"https://github.com/99minds-io/loyalty-widget-sdk/issues"},"license":"ISC","readme":"# 99minds Loyalty SDK\n\nDocumentation avaiable [here](https://gist.github.com/mrudult/0fe01a228f1352419dc92e9ef870544c)\n\n# To Publish project\n\n- Create .npmrc file and add bellow line to the same\n\n```\necho \"//npm.pkg.github.com/:_authToken={ADD GITHUB TOKEN}\" > .npmrc\n\n```\n\n- login to npm using bellow command\n\n```\n    npm login\n    npm publish\n```\n\n```\n\"prepublishOnly\": \"npm run build:package:publish\", // THIS Will overrite npm build command which was running imediate after npm publish command to publish package build\n    \"build:package:publish\": \"PUBLISH=1 env-cmd -f .env.production webpack --config webpack.config.js\", // for publishing it will run automatically when you will publish your package\n    \"build:package:local\": \"PUBLISH=1 env-cmd -f .env webpack --config webpack.config.js\", // for local build to test package on local projects\n```\n\nURL to check published package over github\n[https://github.com/99minds-io?tab=packages](https://github.com/orgs/99minds-io/packages)\n","readmeFilename":"README.md"}