Proton Contacts built with React.
⚠ If you use Windows plz follow this document before anything else how to prepare Windows
To set up the project, follow the steps below:
- Create a file
appConfig.json
at the root of your project. To set up the dev env config for this app, add the clientiD<clientID>
inside appConfig.json (cf. How to dev)
{
"appConfig": {
"clientId": "WebSettings"
}
}
-
npm install
-
npm start
⚠️ Do not commit appConfig.json . Notice it's already inside .gitignore
Currently available in the deploy-contacts
branch.
-
Create a new version + tag =>
npm version (patch|minor|major)
. -
Deploy via npm
npm run deploy
.
$ npm run deploy:prod
Build from master post git clone into /tmp.
--no-remote
build from local.
--branch
: Deploy branch dest--api
: Set an API for the app (defaultbuild
)--debug
: turn on debug mode for the command (defaultfalse
)--i18n
: Force sync translations (defaultfalse
)