{"_id":"@azzykesuma/test-npm-3","_rev":"1-f1164880a246a4f785cf72aa11b36c51","name":"@azzykesuma/test-npm-3","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@azzykesuma/test-npm-3","version":"1.0.0","dependencies":{"@material-ui/core":"4.0.2","@material-ui/styles":"4.1.2","@babel/preset-env":"^7.12.1","@testing-library/dom":"^7.20.2","@testing-library/jest-dom":"^5.11.5","@testing-library/react":"^11.1.1","@testing-library/user-event":"^12.2.0","detect-browser":"^5.1.0","husky":"^2.2.0","prop-types":"^15.7.2","react-router-dom":"^5.1.2","react-sticky-el":"^2.0.5","web-vitals":"^0.2.4"},"devDependencies":{"@babel/cli":"^7.12.1","@babel/preset-react":"^7.12.1","@testing-library/dom":"^7.20.2","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^11.1.0","@testing-library/user-event":"^7.2.1","@types/jest":"^24.9.1","babel-plugin-inline-react-svg":"^1.1.2","cross-env":"^5.2.0","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.2","eslint-config-airbnb":"^17.1.0","eslint-config-prettier":"^4.2.0","eslint-plugin-import":"^2.19.1","eslint-plugin-jsx-a11y":"^6.2.1","eslint-plugin-react":"^7.13.0","eslint-plugin-react-hooks":"^2.3.0","history":"^4.9.0","husky":"^2.2.0","jest-environment-jsdom-sixteen":"^1.0.3","jest-teamcity-reporter":"^0.9.0","lint-staged":">=8","prettier":"1.17.0","react":"^17.0.1","react-dom":"^17.0.1","react-scripts":"4.0.0","react-test-renderer":"^16.5.2"},"scripts":{"start":"react-scripts start","build":"if exist dist rmdir /S /Q dist && mkdir dist && babel src/package -d dist --copy-files --plugins inline-react-svg","test":"cross-env CI=true react-scripts test --testResultsProcessor=jest-teamcity-reporter --env=jest-environment-jsdom-sixteen","test:coverage":"npm test -- --coverage","test:watch":"react-scripts test --env=jest-environment-jsdom-sixteen","eject":"react-scripts eject"},"babel":{"presets":["@babel/preset-react","@babel/env"],"ignore":["**/*.test.js","**/stories.js","**/*.stories.js"]},"publishConfig":{"@azzykesuma:registry":"https://registry.npmjs.org/"},"prettier":{"printWidth":120,"tabWidth":2,"semi":true,"singleQuote":true,"trailingComma":"es5","arrowParens":"always"},"husky":{"hooks":{"pre-commit":"lint-staged","pre-push":"npm run build && npm test"}},"lint-staged":{"src/**/*.{js,jsx}":["prettier --write","eslint src/**/*.js","git add"]},"eslintConfig":{"extends":["react-app","react-app/jest"]},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"gitHead":"7927fe63a06a4b279bb98a507954be8f2bf9ec6e","description":"## How to build","_id":"@azzykesuma/test-npm-3@1.0.0","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-x/6nFrVdNcSHcSYBKFdFJ72m/uixSrqigIWkBqW/BZ8WKwGhZ3NAUbGl3/b9lSfU7GQM0B19TrOTs7O/v0ac8A==","shasum":"8dfdca9e6cd13ca33d626cadaf8cabe97faa5fec","tarball":"https://registry.npmjs.org/@azzykesuma/test-npm-3/-/test-npm-3-1.0.0.tgz","fileCount":21,"unpackedSize":39293,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzd6Hj5AZcjy3BWXvErh0/1DhUBkngkiXIo/dpx5SMAAIgHszRpRqZvo4F4oO6hlOPWXs9xErGxvUtlv6RX3IWac4="}]},"_npmUser":{"name":"azzykesuma","email":"official.azzy@gmail.com"},"directories":{},"maintainers":[{"name":"azzykesuma","email":"official.azzy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/test-npm-3_1.0.0_1705465777445_0.7213793454277755"},"_hasShrinkwrap":false}},"time":{"created":"2024-01-17T04:29:37.337Z","1.0.0":"2024-01-17T04:29:37.638Z","modified":"2024-01-18T04:51:22.521Z"},"maintainers":[{"email":"official.azzy@gmail.com","name":"flow_motion"}],"description":"## How to build","readme":"# Codeching - NPM TEST PACKAGE\n\n## How to build\n\n- If **\"dist\" folder** doesn't exist in root directory, create an empy one before build.\n- Run \"**npm run build**\" command from your command line interface.\n\nAfter you run the build command, the dist folder will contain the package content which\nyou can pubish to npm.\n\n## How to publish the package\n\nThe package is used via GitLab's NPM registry. You need a deploy token for publishing,\nso please require your deploy token from the project owner.\n\n### Publish steps:\n\n- **setup your .npmrc file** in your home folder in the following way:\n\n```\n@codeching:registry=https://git.xxx.com/api/v4/packages/npm/\n//git.xxx.com/api/v4/packages/npm/:_authToken=\"${YOUR_TOKEN}\"\n//git.xxx.com/api/v4/projects/${PROJECT_ID}/packages/npm/:_authToken=\"${YOUR_TOKEN}\"\n```\n\n(`${PROJECT_ID}`: You can find this project id under the project's name on GitLab)\n\n- run \"**npm publish**\" command from your command line interface.\n\n## How to use the component:\n\nThe package is used via GitLab's NPM registry. You need a deploy token to use the package,\nso please require your token from the project owner.\n\n- **setup your .npmrc file** in your home folder in the following way:\n\n```\n@codeching:registry=https://git.xxx.com/api/v4/packages/npm/\n//git.xxx.com/api/v4/packages/npm/:_authToken=\"${YOUR_TOKEN}\"\n//git.xxx.com/api/v4/projects/${PROJECT_ID}/packages/npm/:_authToken=\"${YOUR_TOKEN}\"\n```\n\n(`${PROJECT_ID}`: You can find this project id under the project's name on GitLab.\n\n- Add the dependency to your package.json file in your project for.e.g. version 0.1.0+\n\n```\n    \"@codeching/my-npm-test-package\": \"^1.0.0\"\n```\n\n- run \"**npm i**\" command from your command line interface.\n\n## Peer dependencies\n\nYou must have the following packages installed in your main project where you will use the\npackage:\n\n- \"react\": \"16.x\",\n- \"react-dom\": \"16.x\",\n- \"react-scripts\": \"3.x\"\n\n## Important rules\n\nThe package uses the **babel-plugin-inline-react-svg** babel plugin to transform the\n\n```\nimport { ReactComponent as EyeClosed } from './eye_closed.svg';\n```\n\nto\n\n```\nvar EyeClosed = function EyeClosed(props) {\n  return /*#__PURE__*/React.createElement(\"svg\", props, /*#__PURE__*/React.createElement(\"path\", {\n    fill: \"#fff\",\n    d: \"M0 0h24v24H0z\"\n  }), /*#__PURE__*/React.createElement(\"path\", {\n    d: \"M14.12 14.12a2.998 2.998 0 0 1-5.194-2.098A3 3 0 0 1 9.88 9.88m8.06 8.06A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94l11.88 11.88zM9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.494 18.494 0 0 1-2.16 3.19L9.9 4.24zM1 1l22 22\",\n    stroke: \"#000\",\n    strokeWidth: \"2\",\n    strokeLinecap: \"round\",\n    strokeLinejoin: \"round\"\n  }));\n};\n\nEyeClosed.defaultProps = {\n  width: \"24\",\n  height: \"24\",\n  viewBox: \"0 0 24 24\",\n  fill: \"none\",\n  xmlns: \"http://www.w3.org/2000/svg\"\n};\n```\n\n**Please don't use default export with SVGs**, otherwise they won't transform to proper component in your\nReact component!!!\n\nIf you would like to export multiple SVG-s in an index file, use the following format:\n\n```\nimport { ReactComponent as CheckIcon } from './check_icon.svg';\nimport { ReactComponent as EyeClosed } from './eye_closed.svg';\n...\n\nexport {\n  CheckIcon,\n  EyeClosed,\n  ...\n```\n\n**Please don't use absolute imports in the project with jsconfig.json, use relative imports instead!!!**\n","readmeFilename":"README.md"}