Loading app/.babelrc 0 → 100644 +28 −0 Original line number Diff line number Diff line { "presets": ["airbnb"], "plugins": [ [ "babel-plugin-import", { "libraryName": "@material-ui/core", "libraryDirectory": "esm", "camel2DashComponentName": false }, "core" ], [ "babel-plugin-import", { "libraryName": "@material-ui/icons", "libraryDirectory": "esm", "camel2DashComponentName": false }, "icons" ] ], "env": { "production": { "presets": ["minify"] } } } app/.eslintrc 0 → 100644 +18 −0 Original line number Diff line number Diff line { "env": { "es6": true, "browser": true }, "extends": ["airbnb-base", "prettier", "airbnb"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error" }, "ignorePatterns": [ ".prettierrc", "postcss.config.js", ".eslintrc", ".babelrc", "webpack.*" ] } app/.prettierrc 0 → 100644 +1 −0 Original line number Diff line number Diff line {} app/LICENSE 0 → 100644 +24 −0 Original line number Diff line number Diff line This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org> app/README.md 0 → 100644 +76 −0 Original line number Diff line number Diff line # CartoCosmos - Leaflet Plugin for Planetary Mapping Repository for the CartoCosmos Capstone Team. ### Building and running on localhost ##### First install dependencies: ```sh npm install ``` ##### To create a production build: ```sh npm run build ``` This will create a folder "dist" with all of the production files needed. ##### To run the development server: ```sh npm start ``` This will open a development server on port 8000 which will automatically compile and update in the browser window on save. #### Linting and Formatting ##### Run ESLint: ``` npm run lint ``` This will display linting errors in the terminal window. ##### Fix ESLint errors: ``` npm run fix ``` This will fix the errors that ESLint knows how to. ##### Tell Prettier to format file on change: ``` npm run prettier-watch ``` This will tell Prettier to watch all javascript files and automatically format them on save. ###### Note: I recommend doing the following instead _Works best in VSCode_ - Install the following extensions in VSCode: - Babel Javascript - Prettier - Code formatter - ESlint - Go to your Settings and look for "Auto format on Save' and enable it. - Set Prettier as your default formatter for javascript files. This will automatically do all the linting and formatting for you. #### Adding local assets for use Add any files to ``` src/assets/ ``` then simply import them in the file you need to use them inside. If you have any problems with this contact me. Loading
app/.babelrc 0 → 100644 +28 −0 Original line number Diff line number Diff line { "presets": ["airbnb"], "plugins": [ [ "babel-plugin-import", { "libraryName": "@material-ui/core", "libraryDirectory": "esm", "camel2DashComponentName": false }, "core" ], [ "babel-plugin-import", { "libraryName": "@material-ui/icons", "libraryDirectory": "esm", "camel2DashComponentName": false }, "icons" ] ], "env": { "production": { "presets": ["minify"] } } }
app/.eslintrc 0 → 100644 +18 −0 Original line number Diff line number Diff line { "env": { "es6": true, "browser": true }, "extends": ["airbnb-base", "prettier", "airbnb"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error" }, "ignorePatterns": [ ".prettierrc", "postcss.config.js", ".eslintrc", ".babelrc", "webpack.*" ] }
app/LICENSE 0 → 100644 +24 −0 Original line number Diff line number Diff line This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. For more information, please refer to <http://unlicense.org>
app/README.md 0 → 100644 +76 −0 Original line number Diff line number Diff line # CartoCosmos - Leaflet Plugin for Planetary Mapping Repository for the CartoCosmos Capstone Team. ### Building and running on localhost ##### First install dependencies: ```sh npm install ``` ##### To create a production build: ```sh npm run build ``` This will create a folder "dist" with all of the production files needed. ##### To run the development server: ```sh npm start ``` This will open a development server on port 8000 which will automatically compile and update in the browser window on save. #### Linting and Formatting ##### Run ESLint: ``` npm run lint ``` This will display linting errors in the terminal window. ##### Fix ESLint errors: ``` npm run fix ``` This will fix the errors that ESLint knows how to. ##### Tell Prettier to format file on change: ``` npm run prettier-watch ``` This will tell Prettier to watch all javascript files and automatically format them on save. ###### Note: I recommend doing the following instead _Works best in VSCode_ - Install the following extensions in VSCode: - Babel Javascript - Prettier - Code formatter - ESlint - Go to your Settings and look for "Auto format on Save' and enable it. - Set Prettier as your default formatter for javascript files. This will automatically do all the linting and formatting for you. #### Adding local assets for use Add any files to ``` src/assets/ ``` then simply import them in the file you need to use them inside. If you have any problems with this contact me.