{"_id":"@ciklum-digital/cra-template-typescript-redux","_rev":"1-6834f23dc9348119b86fd8cc6f2889a4","name":"@ciklum-digital/cra-template-typescript-redux","dist-tags":{"latest":"0.3.0"},"versions":{"0.3.0":{"name":"@ciklum-digital/cra-template-typescript-redux","version":"0.3.0","license":"MIT","author":{"name":"Bohdan Pohasii"},"private":false,"engines":{"node":">=10"},"main":"template.json","description":"CRA template for Ciklum-digital. A quick start Create React App template with React Router, Redux, TypeScript, ESlint, Prettier configurations","keywords":["react","create-react-app","cra-template","template","eslint","redux","react-redux","react-router","react-router-dom","typescript","prettier"],"repository":{"type":"git","url":"git+https://github.com/ciklum-digital/cra-template-typescript-redux.git","directory":"/"},"dependencies":{"@types/enzyme":"^3.10.4","@types/enzyme-adapter-react-16":"^1.0.5","@types/jest":"^24.9.0","@types/node":"^12.0.0","@types/react":"^16.9.0","@types/react-dom":"^16.9.0","@types/react-redux":"^7.1.5","@types/react-router-dom":"^5.1.3","@types/redux-mock-store":"^1.0.1","@typescript-eslint/eslint-plugin":"^2.16.0","@typescript-eslint/parser":"^2.16.0","enzyme":"^3.11.0","enzyme-adapter-react-16":"^1.15.2","eslint":"^6.8.0","eslint-config-airbnb-typescript":"^6.3.1","eslint-config-prettier":"^6.9.0","eslint-plugin-import":"^2.20.0","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.17.0","eslint-plugin-react-hooks":"^2.3.0","prettier":"^1.19.1","react":"^16.12.0","react-dom":"^16.12.0","react-redux":"^7.1.3","react-router-dom":"^5.1.2","react-scripts":"3.3.0","redux":"^4.0.5","redux-devtools-extension":"^2.13.8","redux-mock-store":"^1.5.4","typescript":"~3.7.2"},"scripts":{"start":"react-scripts start","build":"react-scripts build","test":"react-scripts test","eject":"react-scripts eject","clean-files":"rm -rf ./template/public ./template/src && rm -f ./template/.eslintignore ./template/.eslintrc  ./template/.prettierrc ./template/README.md ./template/README_CRA.md ./template/tsconfig.json","copy-files":"cp -a ./src/. template/src && cp -a ./public/. template/public && cp .eslintignore .eslintrc .prettierrc tsconfig.json README.md README_CRA.md template/","prepublishOnly":"yarn clean-files && yarn copy-files","commit":"npx git-cz","release":"npx semantic-release","lint":"eslint --ext .js,.jsx,.ts,.tsx ./","fix":"eslint --ext .js,.jsx,.ts,.tsx  --fix ./"},"eslintConfig":{"extends":"react-app"},"config":{"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"publishConfig":{"registry":"https://registry.npmjs.org/","tag":"latest","access":"public"},"browserslist":{"production":[">0.2%","not dead","not op_mini all"],"development":["last 1 chrome version","last 1 firefox version","last 1 safari version"]},"devDependencies":{"@semantic-release/changelog":"^3.0.6","@semantic-release/git":"^8.0.0","commitizen":"^4.0.3","cz-conventional-changelog":"^3.0.2"},"gitHead":"6e95b323142f2dff9c20193b45883802c5243447","bugs":{"url":"https://github.com/ciklum-digital/cra-template-typescript-redux/issues"},"homepage":"https://github.com/ciklum-digital/cra-template-typescript-redux#readme","_id":"@ciklum-digital/cra-template-typescript-redux@0.3.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-2+rFhCs78T688w4/uFim6ZK4hKz3esuMgY3N7Oz6oI1h1WuEw+RLSNdoRcGkLWhXL066eSY0DSIAk1BCm1o+Dg==","shasum":"82fd73f41d6cdea0066258366657e3abd8fefd47","tarball":"https://registry.npmjs.org/@ciklum-digital/cra-template-typescript-redux/-/cra-template-typescript-redux-0.3.0.tgz","fileCount":36,"unpackedSize":47098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeJvvhCRA9TVsSAnZWagAA6Y8P/1b2zNdufi22YK8AhG02\nhKx6OuJy/3E2E3Z4Pfbp0ygcbEbYuOtk2kIz6gurkC8Pf4rdbzBLPH0klYh5\nKX9bGmiUfgM66ylnQlT08PF6O+5guZTxCwYU7hJ8YOuXZW5znNRNusB4UHN2\n5F3UbKLkwIu6kXtKMAiqKKCn0iQqslowoKLAWtgZeCkfmWbGbxlxgXauoyQa\nNQsJvmGQG46OX4rVjSzSAmk9kMR+a0PCibFrC7I+KT1N5pZ76QHnxN0XCdpB\ncwmY5CryCDIkokdPlEPRzChm2UwQmjrVyePZkuCpMq2YZ/MfWdTvnJm0EJ3Y\nCD8Q6XmcdcqdDJiyMq5aOu+C+rdFSnQKhZrPK3gNgNUgc1EP7P75EKa36doV\nHMuWRNUbua2+YiGaQaUiN6hI5CqhApc+DeF7jPdstkD8VByvzpCU3Ri7k/Nq\n4CiGh0Z1Ymx+kkQ/wP7q2kWCuMvdfkFW+tSmSyQ5/H3HBidXqiJJQjwSiQIW\npkbDAJNnOK6kkVNSl7iPjhcL/4gMlpOr0oUmBWrQilweqRFWxol+Sa/jw9Ho\njT254F78z5BTagpwpWI7cH5SzVUFEjoKTSeFIKtaB7vZQvjcmnrvNUXbRbue\n9Jmwoe+siOeQg5cEJIu1uFPxMVNFi2bX+b0AneTtytKccQB1lh5dROgEegVF\nXD2R\r\n=8Fw7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhKdEeaNiYgikcrO1Cqsata5jSL69Og9gD0iq1dRFOpAiEAkSDnonEE+QN/0m5jVJypdJ3fZZ6c/NmlRS4w68fx/zc="}]},"maintainers":[{"name":"ciklum","email":"ia_js_public@ciklum.com"}],"_npmUser":{"name":"ciklum","email":"ia_js_public@ciklum.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cra-template-typescript-redux_0.3.0_1579613152963_0.08273667996959455"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-21T13:25:52.743Z","0.3.0":"2020-01-21T13:25:53.432Z","modified":"2022-04-04T22:59:43.218Z"},"maintainers":[{"name":"ciklum","email":"ia_js_public@ciklum.com"}],"description":"CRA template for Ciklum-digital. A quick start Create React App template with React Router, Redux, TypeScript, ESlint, Prettier configurations","homepage":"https://github.com/ciklum-digital/cra-template-typescript-redux#readme","keywords":["react","create-react-app","cra-template","template","eslint","redux","react-redux","react-router","react-router-dom","typescript","prettier"],"repository":{"type":"git","url":"git+https://github.com/ciklum-digital/cra-template-typescript-redux.git","directory":"/"},"author":{"name":"Bohdan Pohasii"},"bugs":{"url":"https://github.com/ciklum-digital/cra-template-typescript-redux/issues"},"license":"MIT","readme":"[![npm version](https://badge.fury.io/js/cra-template-typescript-redux.svg)](https://badge.fury.io/js/cra-template-typescript-redux)\n\n# A quick start Redux + TypeScript Create React App template\n\nAn opinionated quick start [Create React App](https://github.com/facebook/create-react-app) (CRA) _template_ with configured **Redux**, **TypeScript**, **React Router**, **Enzyme** and custom **ESlint** configuration.\n\nOriginal Create React App README available [here](./README_CRA.md)\n\n## Usage\n\n```bash\nnpx create-react-app your-project-name --template @ciklum-digital/cra-template-typescript-redux\n```\n\nOr\n\n```bash\nyarn create react-app your-project-name --template @ciklum-digital/cra-template-typescript-redux\n```\n\n`npx` command installs the most recent stable version of CRA from npm.\n\n`--template` parameter points to this template, note that `cra-template-` prefix is omitted.\n\n## Motivation\n\nYou know the pain. You start a new project from scratch and need to configure it again and again. It needs routing, ok you setup Router, then you need Redux - ok, oh 😩Redux boilerplate is taking so much time to type. Wait... what if you could have all the tools you want just from the beginning? I want to focus on building amazing projects and not spending hours configuring. That's why I've created this template. It's here for you to use.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n- `yarn start` - runs the app in the development mode. Open [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n- `yarn test` - launches the test runner in the interactive watch mode.\n\n- `yarn build` - builds the app for production to the `build` folder.\n\n- `yarn eject` - exposes content of `react-script` package\n\n- `yarn lint` - lints project files according to eslint rules, see below. Typical use case: continuous integration environments, Travis, CircleCI, etc.\n\n- `yarn fix` - same as `yarn lint`, but also fixes errors, when possible. Typical use case: local development environment, git hooks.\n\nDue to CRA template limitations (we can change only `scripts` and `dependencies` inside generated `package.json`) all configuration is done by adding config files where possible. Also no `devDependencies` for now, sorry.\n\n## Redux configuration\n\nThe template provides basic Redux configuration with [feature based](https://redux.js.org/style-guide/style-guide/#structure-files-as-feature-folders-or-ducks) folder structure. You can use [Redux devtools browser extension](http://extension.remotedev.io/). Sample feature included in `src/features` folder, note technology agnostic `features` folder name. Based on Redux maintainers recommendation.\n\n## Testing\n\nTesting is done with [Enzyme](https://airbnb.io/enzyme/).\n\n## [Prettier](https://prettier.io/)\n\nI added `prettier` to force consistent formatting. Don't like trailing semicolons? Feel free to [tweak prettier rules](https://prettier.io/docs/en/configuration.html) inside `.prettierrc` file to match your code style.\n\n## Eslint configurations\n\nThe template extends CRA ESLint rules with a custom set, tailored for the reasonable and clean development process.\n\nEslint rules are commented for your convenience feel free to tweak or remove them inside `.eslintrc`. No judgment.\n","readmeFilename":"README.md"}