Skip to content

Commit

Permalink
initial commmit
Browse files Browse the repository at this point in the history
  • Loading branch information
akgunberk committed Jan 16, 2023
0 parents commit deecd5c
Show file tree
Hide file tree
Showing 547 changed files with 108,672 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
HTTPS=true
HOST=0.0.0.0
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
react-app-env.d.ts
56 changes: 56 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
const path = require("path");

module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["react", "react-hooks", "@typescript-eslint", "jsx-a11y"],
env: {
browser: true,
jest: true,
es6: true
},
extends: [
"@hipo/eslint-config-base",
"@hipo/eslint-config-react",
"@hipo/eslint-config-typescript",
"plugin:jsx-a11y/recommended",
"prettier"
],
parserOptions: {
project: path.resolve(__dirname, "./tsconfig.json"),
tsconfigRootDir: __dirname,
ecmaVersion: 2018,
sourceType: "module",
ecmaFeatures: {
jsx: true
},
createDefaultProgram: true
},
settings: {
react: {
version: "detect"
},
"import/resolver": {
typescript: {}
}
},
globals: {},
rules: {
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
},
overrides: [
{
files: [".eslintrc.js"],
rules: {
"@typescript-eslint/no-var-requires": "off"
}
},
{
files: ["*.d.ts"],
rules: {
"newline-after-var": "off"
}
}
]
};
46 changes: 46 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# editors
.*.swp
.*.swo

# testing
/coverage

# production
/build

# misc
.DS_Store

npm-debug.log*
yarn-debug.log*
yarn-error.log*
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
6 changes: 6 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
echo "type-checking..."
./node_modules/.bin/tsc --noEmit
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_global-colors.scss
12 changes: 12 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
printWidth: 90,
tabWidth: 2,
useTabs: false,
semi: true,
singleQuote: false,
jsxSingleQuote: false,
trailingComma: "none",
bracketSpacing: false,
bracketSameLine: true,
arrowParens: "always"
};
3 changes: 3 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_global-colors.scss
**/*.ts
**/*.tsx
17 changes: 17 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"extends": ["@hipo/stylelint-config-base"],
"plugins": [
"stylelint-order",
"stylelint-scss",
"stylelint-no-unsupported-browser-features"
],
"rules": {
"value-list-comma-newline-after": null,
"font-family-name-quotes": null,
"scss/at-mixin-argumentless-call-parentheses": null,
"selector-class-pattern": null,
"no-descending-specificity": null,
"color-hex-case": null,
"color-no-hex": null
}
}
26 changes: 26 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Pera Web Wallet

## Development

This repo was created with [Create React App](https://github.com/facebook/create-react-app). Therefore, the usual react-scripts are available in this project.

Recommended system versions

- `node 14.x`
- `npm 8.x`

### Install dependencies

- `npm install`

### Start the development environment

- `npm start`

### Husky and lint-staged

[Husky](https://github.com/typicode/husky) is configured with [lint-staged](https://github.com/okonet/lint-staged) to run ESLint, Stylelint and Prettier on the staged files, and then type-check the application before committing your changes.

### Versioning

We follow [SemVer](https://semver.org/) convention to update the version for each release.
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
© Pera Wallet, LDA, 2023.

You are granted a limited non-exclusive license to inspect and study the code in this repository. There is no associated right to reproduction granted under this license except where reproduction is necessary for inspection and study of the code. You may not otherwise reproduce, distribute, modify or create derivative works of the code without our prior consent. All other rights are expressly reserved.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Pera Web Wallet

## Overview
Welcome to the code that powers Pera Web Wallet! This repo will always contain the source code for the latest publicly available Pera Web Wallet version [web.perawallet.app](https://web.perawallet.app). We want to make sure that we focus not only on great features and experiences but also security, transparency, and community involvement.

Other than version numbers changing, news and other important release information (like release notes) will not be posted here. To stay up to date on the latest news, features, release notes, tutorials, and more, please check out [perawallet.app](https://perawallet.app).

## Contributing
While the Algorand community is always welcome to contribute, please note that new feature development happens outside of this repo which means that open issues/PRs might not see a lot of activity. We do this in order to make sure that all code that is pushed here has passed our rigorous QA testing and high security standards. That being said, we’ll do our best to take note of feature requests or additions - some of which we might potentially incorporate into our codebase via our main development pipeline.

If you simply need help, want to report a bug, or want to suggest a feature, the best place to do so is via our offical community channels:

- [Discord](https://discord.gg/gR2UdkCTXQ)
- [Reddit](https://www.reddit.com/r/PeraWallet/)
- [Telegram](https://t.me/PeraWallet)

And if you need support, our support knowledgebase and contact channels are here: [perawallet.app/support](https://perawallet.app/support)
Loading

0 comments on commit deecd5c

Please sign in to comment.