Dawasco public website for open311 issues
.
├── README.md
├── config
│ ├── jest
│ │ ├── fileMock.js
│ │ └── fileTransform.js
│ ├── webpack.config.dev.js
│ └── webpack.config.prod.js
├── development.js
├── package.json
├── production.js
├── public
├── src
│ ├── index.js
│ ├── setupTests.js
│ ├── components
└── package-lock.json
development.js
Server in dev environmentproduction.js
Server in production environmentconfig/webpack.config.dev.js
Webpack development configurationconfig/webpack.config.prod.js
Webpack production configuration
First install all the dependencies for development
npm install && bower installLaunch application in development mode
npm run devTesting Application
npm run testNote
Leaflet Map Testing is limited as of this writing, leaflet does not natively support headless browser and it keeps giving out window is not defined error. Refer to PaulLeCam/react-leaflet#69 and PaulLeCam/react-leaflet#45
Build application
npm run buildRun application
npm run startExtras
- Best fix of
npm run.lockmerge conflict$ git checkout <previous commit> -- npm run.lock $ npm run install