{"_id":"@5lions/library-registry-admin","_rev":"1-9f70f7c3c5efa9a4064b3a32def83194","name":"@5lions/library-registry-admin","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@5lions/library-registry-admin","version":"0.0.0","description":"Admin Interface for The Palace Project Library Registry","repository":{"type":"git","url":"git+https://github.com/thepalaceproject/library-registry-admin.git"},"main":"dist/library-registry-admin.js","author":{"name":"The Palace Project"},"license":"Apache-2.0","engines":{"node":">=12.0.0","npm":">=7.0.0"},"scripts":{"prepublish":"npm run prod","lint":"tslint -c tslint.json src/*.ts src/*.tsx src/**/*.ts src/**/*.tsx src/**/**/*.ts src/**/**/*.tsx src/**/**/**/*.ts src/**/**/**/*.tsx && sass-lint -c .sass-lint.yml -v -q","test":"npm run lint && tsc && cp -r src/stylesheets lib && mocha --require lib/testHelper.js lib/__tests__/*.js lib/**/__tests__/*.js lib/**/**/__tests__/*.js","test-file":"npm run lint && tsc && cp -r src/stylesheets lib && mocha --require lib/testHelper.js","dev":"webpack --watch --progress --display-modules --config webpack.dev.config","dev-test-axe":"TEST_AXE=true npm run dev","prod":"webpack -p --progress --display-modules --config webpack.prod.config","build-docs":"typedoc --tsconfig tsconfig.json"},"dependencies":{"@nypl/dgx-svg-icons":"^0.3.13","bootstrap":"^3.3.6","library-simplified-reusable-components":"^1.3.18","node-sass":"^4.14.1","opds-web-client":"0.3.4","prop-types":"^15.7.2","react":"^16.14.0","react-bootstrap":"0.32.4","react-dom":"^16.14.0","react-redux":"^7.2.2","react-router-dom":"^5.2.0","recharts":"^1.7.1","redux":"^4.0.5","redux-thunk":"^2.3.0","terser-webpack-plugin":"^1.4.5"},"devDependencies":{"@types/mocha":"^5.2.6","@types/node":"^12.19.6","@types/prop-types":"^15.7.3","@types/react":"16.9.11","chai":"^3.5.0","clean-webpack-plugin":"^2.0.1","css-loader":"^2.1.1","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.5","fetch-mock":"^7.3.1","file-loader":"^3.0.1","jsdom":"^15.1.1","mini-css-extract-plugin":"^0.5.0","mocha":"^5.2.0","react-axe":"^3.5.4","sass-lint":"^1.9.1","sass-loader":"^7.1.0","sinon":"7.3.0","style-loader":"^0.13.1","ts-loader":"^6.2.2","tslint":"^5.20.1","tslint-react-a11y":"1.1.0","typedoc":"0.15.3","typescript":"3.7.2","uglifyjs-webpack-plugin":"^2.1.2","url-loader":"2.2.0","webpack":"^4.44.2","webpack-cli":"^3.3.12","webpack-merge":"^4.2.1"},"gitHead":"84dbf5400cbfd27833618f347b4d235b621280d0","bugs":{"url":"https://github.com/thepalaceproject/library-registry-admin/issues"},"homepage":"https://github.com/thepalaceproject/library-registry-admin#readme","_id":"@5lions/library-registry-admin@0.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-HZSJbShGH8LmO/fsOdEH7qklNoxzAC1H6rjpojvDlO52cJ2L51L8Xt2gCr0COeKz6727xsiSLDrV6XZmris2Sg==","shasum":"9b9ab9c2ba5bb4b91b055d0c0756e67127f3b7ab","tarball":"https://registry.npmjs.org/@5lions/library-registry-admin/-/library-registry-admin-0.0.0.tgz","fileCount":21,"unpackedSize":3303579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnuJKCRA9TVsSAnZWagAATIQP/R/pboAaJBJYlzCkZy9h\nPBCoD6V0L+RFIPZ4jGapEgze9ErmHT0qb025xQH2kXyjDIqRYgj8jEku1PL/\nTbN6rsHPLVI1hvZg6mBHdAHKnBbtzCuemFv3Gn4VqH1QZtCvdR9PaZtjc9tp\nCzQV7HFMzGAOXm65SW5Vmevo0u0O4gdKwbmU9OlqP7rbhOlsqUfGHIxepiiq\nbKCGC3m37SEZt7QxgEFykOwM90bhAK3RuQwX3HW+nj6Kpviv98ybJvMy0LBk\nPAdd+GfbfKswQReskFBa3kXtNt6C/1Q6GfHopYzqtHQLnvUiH9mtCXDtJ1aO\n20mj70Wz3TCE+ebScXgMemKHz1CVgwbgllmGXWNYA/r0562oxNJrC/CcxHrE\nvOajLv2dLXEWIWRrI7ijKWX7jCpWRIe4EnGxAiogofZLiKJWUgM+XA+yVRnW\nlx+OhFFEQage8TmtotCBtcKyEYntG7MCFqMhq8l/CvmCwEAlP4eaCByEeGKD\nUqaZ1ZRj5Y7KWfxJgzuZvkmPMP8myBgVYGefgKeseBS2q/V+0J7yaTXJaRxt\nuQfIA7Xu7LQb2NzOPWciJ6KcNkkn1i/YJjJCHgpppgkBFYTXeC9TkRpPlXNp\nxVGjJhhUSRvdwAbs8uVHwUKwV2+MpgzeJbz3HSGF274WON2beSkrx/jnoqmf\nYu8U\r\n=IJue\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUDWhB6F6ZnOI2M0DFZNanDXKmEDhui6c45JjK76gufAIgHTsdcdbMA1qb/5MLoJWyDDm0OKGenqW5Na+PYfuPLoU="}]},"_npmUser":{"name":"tdilauro","email":"5lions.tech+npm@gmail.com"},"directories":{},"maintainers":[{"name":"tdilauro","email":"5lions.tech+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/library-registry-admin_0.0.0_1621025354167_0.6977925566703462"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-14T20:49:13.790Z","0.0.0":"2021-05-14T20:49:14.419Z","modified":"2022-04-04T10:48:26.775Z"},"maintainers":[{"name":"tdilauro","email":"5lions.tech+npm@gmail.com"}],"description":"Admin Interface for The Palace Project Library Registry","homepage":"https://github.com/thepalaceproject/library-registry-admin#readme","repository":{"type":"git","url":"git+https://github.com/thepalaceproject/library-registry-admin.git"},"author":{"name":"The Palace Project"},"bugs":{"url":"https://github.com/thepalaceproject/library-registry-admin/issues"},"license":"Apache-2.0","readme":"# Library Registry Administrative Interface\n\n[![Test](https://github.com/tdilauro/library-registry-admin/actions/workflows/test.yml/badge.svg)](https://github.com/tdilauro/library-registry-admin/actions/workflows/test.yml)\n\nThis is a [LYRASIS](http://lyrasis.org)-maintained fork of the NYPL [Library Simplified](http://www.librarysimplified.org/) Library Registry administrative interface.\n\n## Library Simplified Documentation\n\nTo see screenshots, read in-depth documentation, and find out more about the project, check out the [Confluence](https://confluence.nypl.org/display/SIM/) site hosted by The New York Public Library.\n\n## Setup\n\nThis package is meant to be used with The Palace Project [Library Registry](https://github.com/thepalaceproject/library-registry).\n\n#### Use npm version\n\nSuggested local folder setup:\n- `/[path to project folder]/library-registry`\n\nTo use the published version with your circulation manager, run `npm install` from the `library-registry` locally installed repository.\n\n#### Use local development version\n\nSuggested local folder setup:\n- `/[path to project folder]/library-registry`\n- `/[path to project folder]/library-registry-admin`\n\nIf you're working on the administrative interface and want to test local changes, you can link your local clone of this repository to your local library registry. These steps will allow you to work on the front-end administrative interface and see updates while developing.\n\n1. Run `npm link` in this `library-registry-admin` repository,\n2. run `npm link library-registry-admin` from the `library-registry` repository,\n2. run the library registry using `python app.py` at the root in the `library-registry` repository,\n3. run the web interface using `npm run dev` at the root of this `library-registry-admin` repository,\n4. visit `localhost:7000/admin/`\n\nWebpack will take care of compiling and updating any new changes made locally for development. Just refresh the page to see updates without having to restart either the `library_registry` or `registry_admin` servers.\n\n## Publishing\n\n<!-- This package is [published to npm](https://www.npmjs.com/package/@thepalaceproject/library-registry-admin). -->\n\nWe use GitHub Actions for publishing. This package is published automatically when a new release is created.\n\n## Accessibility\n\nIn order to develop user interfaces that are accessible to everyone, there are tools added to the workflow. Besides the Typescript `tslint-react-a11y` plugin, `react-axe` is also installed for local development. Using that module while running the app uses a lot of resources so it should be only when specifically testing for accessibility and not while actively developing new features or fixing bugs.\n\nIn order to run the app with `react-axe`, run `npm run dev-test-axe`. This will add a local global variable `process.env.TEST_AXE` (through webpack) that will trigger `react-axe` in `/src/index.tsx`. The output will be seen in the _browser's_ console terminal.\n\n## Tests\n\nLike the codebase, all the unit tests are written in Typescript. Tests are written for all React components as well as redux and utility functions, and all can be found in their respective `__tests__` folders.\n\nTo run the tests, perform `npm test`.\n\nWe use GitHub Actions for continuous integration. Any pull requests submitted must have tests and those tests must pass during the CI checks.\n\n## License\n\n```\nCopyright © 2015 The New York Public Library, Astor, Lenox, and Tilden Foundations\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","readmeFilename":"README.md"}