From 10812e3900780519f497eaf5068667417ef386ec Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 23 Jan 2019 11:26:13 +0100 Subject: [PATCH] update readme --- README.md | 70 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 50 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 897dc83..6f2795e 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,25 @@ +[![banner](https://raw.githubusercontent.com/oceanprotocol/art/master/github/repo-banner%402x.png)](https://oceanprotocol.com) + +

commons-marketplace

+ +> MArketplace front-end to explore, download, and publish open data sets. + +[![code style: prettier](https://img.shields.io/badge/code_style-prettier-7b1173.svg?style=flat-square)](https://github.com/prettier/prettier) +[![js oceanprotocol](https://img.shields.io/badge/js-oceanprotocol-7b1173.svg)](https://github.com/oceanprotocol/eslint-config-oceanprotocol) +[![css bigchaindb](https://img.shields.io/badge/css-bigchaindb-39BA91.svg)](https://github.com/bigchaindb/stylelint-config-bigchaindb) + This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). -## Available Scripts +- [Development](#development) +- [Testing](#testing) +- [Code Style](#code-style) +- [License](#license) -In the project directory, you can run: +## Development -### `npm start` +```bash +npm start +``` Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. @@ -12,33 +27,48 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console. -### `npm test` - -Launches the test runner in the interactive watch mode.
-See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. - -### `npm run build` +```bash +npm run build +``` Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance. -The build is minified and the filenames include the hashes.
-Your app is ready to be deployed! +## Testing -See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. +```bash +npm test +``` -### `npm run eject` +Launches the test runner in the interactive watch mode.
+See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. -**Note: this is a one-way operation. Once you `eject`, you can’t go back!** +## Code Style -If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. +For linting and auto-formatting you can use: -Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. +```bash +# auto format all ts & css with tslint & stylelint +npm run lint -You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. +# auto format all ts & css with prettier, taking all configs into account +npm run format +``` -## Learn More +## License -You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). +```text +Copyright 2018 Ocean Protocol Foundation Ltd. -To learn React, check out the [React documentation](https://reactjs.org/). +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +```