{"_id":"@an.nguyen2/alice-ui","_rev":"2-8ed3fcadafff9487baef5bf848ae5add","name":"@an.nguyen2/alice-ui","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.7":{"name":"@an.nguyen2/alice-ui","private":false,"version":"0.0.7","type":"module","license":"MIT","main":"./dist/alice-ui.umd.js","module":"./dist/alice-ui.es.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/alice-ui.es.js","require":"./dist/alice-ui.umd.js"}},"scripts":{"dev":"vite","build":"tsc && vite build","build:preview":"tsc && vite build --mode preview","lint":"tsc && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","server":"npx ts-node ./src/mock-server/server.js","preview":"vite preview --host","test":"tsc && vitest","test:ci":"tsc && CI=true vitest"},"dependencies":{"crypto-js":"^4.1.1","deep-freeze":"^0.0.1","nanoid":"^4.0.2","rehype-raw":"^7.0.0"},"devDependencies":{"@emotion/react":"^11.11.1","@emotion/styled":"^11.11.0","@mui/icons-material":"5.14.3","@mui/material":"5.14.5","@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^14.0.0","@types/crypto-js":"^4.1.2","@types/deep-freeze":"^0.1.2","@types/lodash":"^4.14.197","@types/node":"^20.5.0","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@types/uuid":"^9.0.2","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","@vitejs/plugin-basic-ssl":"^1.0.1","@vitejs/plugin-react-swc":"^3.3.2","eslint":"^8.45.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","http":"^0.0.1-security","husky":"^8.0.3","jsdom":"^22.1.0","ky":"0.33.3","prettier":"^3.0.1","react":"^18.2.0","react-dom":"^18.2.0","react-hook-form":"7.45.4","react-markdown":"8.0.7","stream":"^0.0.2","typescript":"^5.0.2","vite":"^4.4.5","vite-plugin-dts":"^3.5.2","vite-plugin-svgr":"^3.2.0","vitest":"^0.34.1"},"peerDependencies":{"@emotion/styled":"^11.11.0","react":">=18.2.0","react-dom":">=18.2.0"},"gitHead":"2c458b401447fac1c16925ebd1f786aab1c86c22","description":"This is a guide on how to install, configure, run, test and deploy this project.","_id":"@an.nguyen2/alice-ui@0.0.7","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-YCCIN6oeLQeGDhWt9jt2WBU0E4MwJz4ddIpONUW6+KvH0Z1ISCd1KaWOA/UhpUJKkbKehMfeBWgtLGRIz0Wmew==","shasum":"8681b9ad1a8e5363b888164647b3ccf319b5ea28","tarball":"https://registry.npmjs.org/@an.nguyen2/alice-ui/-/alice-ui-0.0.7.tgz","fileCount":98,"unpackedSize":1634276,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjuZfeeMB0W06aTnq6AThZlSTMkqKknO0mVISY65DhZAiEAvs7x1/5cgoBDohbaenfmldp9T7r4xBbrd1F1na/faNA="}]},"_npmUser":{"name":"an.nguyen2","email":"an.nguyen2@trustingsocial.com"},"directories":{},"maintainers":[{"name":"an.nguyen2","email":"an.nguyen2@trustingsocial.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alice-ui_0.0.7_1695182162705_0.8758444534619338"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."},"0.0.8":{"name":"@an.nguyen2/alice-ui","private":false,"version":"0.0.8","type":"module","license":"MIT","main":"./dist/alice-ui.umd.js","module":"./dist/alice-ui.es.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/alice-ui.es.js","require":"./dist/alice-ui.umd.js"}},"scripts":{"dev":"vite","build":"tsc && vite build","build:preview":"tsc && vite build --mode preview","lint":"tsc && eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","server":"npx ts-node ./src/mock-server/server.js","preview":"vite preview --host","test":"tsc && vitest","test:ci":"tsc && CI=true vitest"},"dependencies":{"crypto-js":"^4.1.1","deep-freeze":"^0.0.1","nanoid":"^4.0.2","rehype-raw":"^7.0.0","@emotion/react":"^11.11.1","@emotion/styled":"^11.11.0","@mui/icons-material":"5.14.3","@mui/material":"5.14.5","ky":"0.33.3","react-hook-form":"7.45.4","react-markdown":"8.0.7"},"devDependencies":{"@testing-library/jest-dom":"^6.0.0","@testing-library/react":"^14.0.0","@types/crypto-js":"^4.1.2","@types/deep-freeze":"^0.1.2","@types/lodash":"^4.14.197","@types/node":"^20.5.0","@types/react":"^18.2.15","@types/react-dom":"^18.2.7","@types/uuid":"^9.0.2","@typescript-eslint/eslint-plugin":"^6.0.0","@typescript-eslint/parser":"^6.0.0","@vitejs/plugin-basic-ssl":"^1.0.1","@vitejs/plugin-react-swc":"^3.3.2","eslint":"^8.45.0","eslint-config-prettier":"^9.0.0","eslint-plugin-prettier":"^5.0.0","eslint-plugin-react-hooks":"^4.6.0","eslint-plugin-react-refresh":"^0.4.3","http":"^0.0.1-security","husky":"^8.0.3","jsdom":"^22.1.0","prettier":"^3.0.1","react":"^18.2.0","react-dom":"^18.2.0","stream":"^0.0.2","typescript":"^5.0.2","vite":"^4.4.5","vite-plugin-dts":"^3.5.2","vite-plugin-svgr":"^3.2.0","vitest":"^0.34.1"},"peerDependencies":{"@emotion/styled":"^11.11.0","react":">=18.2.0","react-dom":">=18.2.0"},"gitHead":"2c458b401447fac1c16925ebd1f786aab1c86c22","description":"This is a guide on how to install, configure, run, test and deploy this project.","_id":"@an.nguyen2/alice-ui@0.0.8","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-U8eSgQGCvI+m1sJxxgDTQ3S9JpG2q466IzqesNZAtYdh4bMQWN6f995c/C4rBwdrLMKAOFRJZsitCDjRJ0yliw==","shasum":"2070fb3473e75e7245645c306533354319fb1d54","tarball":"https://registry.npmjs.org/@an.nguyen2/alice-ui/-/alice-ui-0.0.8.tgz","fileCount":98,"unpackedSize":1634276,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUIvycww6r+gCY7mF8i1KTyKjXf8QyYyW1NUdUJFEGHQIhAIjpkC/Z4zvj4jhBt+CihAZDHYD6hlDgJp1e2tDP4Hmf"}]},"_npmUser":{"name":"an.nguyen2","email":"an.nguyen2@trustingsocial.com"},"directories":{},"maintainers":[{"name":"an.nguyen2","email":"an.nguyen2@trustingsocial.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/alice-ui_0.0.8_1695191713369_0.14954673811764585"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2023-09-20T03:56:02.597Z","0.0.7":"2023-09-20T03:56:03.045Z","modified":"2023-09-21T02:52:48.081Z","0.0.8":"2023-09-20T06:35:13.849Z"},"maintainers":[{"name":"an.nguyen2","email":"an.nguyen2@trustingsocial.com"}],"description":"This is a guide on how to install, configure, run, test and deploy this project.","license":"MIT","readme":"# Welcome to Alice UI\n\nThis is a guide on how to install, configure, run, test and deploy this project.\n\n## Prerequisites\n\n- You need to have `yarn` installed on your machine.\n- You may need to install `cmake` (`brew install cmake`) if you encounter any errors during the installation.\n- You need to have either `docker` (`brew cask install docker`) or `gettext` (`brew install gettext && brew link --force gettext`) installed for generating the local config file.\n\n## Installation\n\n- Run `yarn install` to install the required packages.\n\n## Configuration\n\n- Create the configuration files `public/config.js` follow template in `public/config.js.template`:\n\n## Running the UI\n\n- Run `yarn dev` to start the App.\n- You will see the information about the app and port in the terminal.\n\n## Running the mock server for mocking streaming API\n\n- The mock server files is located in `src/mock-server`\n- Run `yarn server` to start the server.\n\n## Formatting the code\n\n- Run `yarn lint` to check format the code using eslint and prettier.\n\n## Testing the project\n\n- Run `yarn test` to run the tests with a watcher (recommended for development).\n- Run `yarn test:ci` to run the tests only for checking the result (suitable for CI).\n- Run `docker build -f docker/test.Dockerfile -t test-alice-ui . && docker run -t test-alice-ui` to run the tests on docker.\n","readmeFilename":"README.md"}