Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 25 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,42 @@
/node_modules
/.pnp
.pnp.js
node_modules
dist
dist-ssr
*.local

# testing
/coverage

# production
/build

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

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

npm-debug.log*
yarn-debug.log*
yarn-error.log*
__PROJECT
8 changes: 0 additions & 8 deletions .vscode/settings.json

This file was deleted.

11 changes: 4 additions & 7 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,16 @@
rel="stylesheet"
href="https://use.typekit.net/bph5iat.css"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
{{/* <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" /> */}}
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
{{/* <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> */}}
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.

Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
Expand All @@ -72,16 +71,14 @@
>You need to enable JavaScript to run this app.</noscript
>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.

You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.

To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

</html>
139 changes: 126 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
"version": "1.0.0",
"private": true,
"dependencies": {
"@dfinity/agent": "0.10.1",
"@dfinity/candid": "0.10.1",
"@dfinity/identity": "0.10.1",
"@dfinity/principal": "0.10.1",
"@psychedelic/cap-js": "^0.0.7",
"@babel/core": "^7.16.0",
"@dfinity/agent": "^0.10.3",
"@dfinity/candid": "^0.10.3",
"@dfinity/identity": "^0.10.3",
"@dfinity/principal": "^0.10.3",
"@esbuild-plugins/node-globals-polyfill": "^0.1.1",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
"@psychedelic/plug-connect": "^0.1.4",
"@radix-ui/react-accordion": "^0.1.5",
"@radix-ui/react-checkbox": "^0.1.4",
Expand All @@ -18,14 +20,15 @@
"@radix-ui/react-popover": "^0.1.6",
"@radix-ui/react-tabs": "^0.1.4",
"@radix-ui/react-toast": "^0.1.1",
"@radix-ui/react-tooltip": "^0.1.6",
"@radix-ui/react-tooltip": "^0.1.7",
"@react-icons/all-files": "^4.1.0",
"@reduxjs/toolkit": "^1.7.2",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.4",
"@stitches/react": "^1.2.6",
"@svgr/webpack": "^5.5.0",
"@types/buffer-crc32": "^0.2.0",
"@types/crypto-js": "^4.1.1",
"@types/jest": "^27.4.0",
Expand All @@ -41,38 +44,81 @@
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"axios": "^0.26.0",
"babel-jest": "^27.4.2",
"babel-loader": "^8.2.3",
"babel-plugin-named-asset-import": "^0.3.8",
"babel-preset-react-app": "^10.0.1",
"bfj": "^7.0.2",
"browserslist": "^4.18.1",
"buffer-crc32": "^0.2.13",
"camelcase": "^6.2.1",
"case-sensitive-paths-webpack-plugin": "^2.4.0",
"copy-to-clipboard": "^3.3.1",
"cross-fetch": "^3.1.5",
"crypto-js": "^4.1.1",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"dayjs": "^1.11.0",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"eslint": "^8.3.0",
"eslint-config-react-app": "^7.0.0",
"eslint-webpack-plugin": "^3.1.1",
"file-loader": "^6.2.0",
"fs-extra": "^10.0.0",
"html-webpack-plugin": "^5.5.0",
"i18next": "^21.6.6",
"identity-obj-proxy": "^3.0.0",
"isomorphic-fetch": "^3.0.0",
"jest": "^27.4.3",
"jest-resolve": "^27.4.2",
"jest-watch-typeahead": "^1.0.0",
"json-bigint": "^1.0.0",
"lodash.debounce": "^4.0.8",
"lodash.throttle": "^4.1.1",
"mini-css-extract-plugin": "^2.4.5",
"postcss": "^8.4.4",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-loader": "^6.2.1",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^7.0.1",
"prompts": "^2.4.2",
"react": "^17.0.2",
"react-app-polyfill": "^3.0.0",
"react-cool-virtual": "^0.7.0",
"react-dev-utils": "^12.0.0",
"react-dom": "^17.0.2",
"react-hover-video-player": "^9.4.0",
"react-i18next": "^11.15.3",
"react-infinite-scroller": "^1.2.6",
"react-lottie": "^1.2.3",
"react-redux": "^7.2.6",
"react-refresh": "^0.11.0",
"react-router-dom": "^6.2.1",
"react-scripts": "5.0.0",
"react-table": "^7.7.0",
"react-tsparticles": "^2.0.6",
"resolve": "^1.20.0",
"resolve-url-loader": "^4.0.0",
"rollup-plugin-node-polyfills": "^0.2.1",
"sass-loader": "^12.3.0",
"semantic-release": "^19.0.3",
"semver": "^7.3.5",
"source-map-loader": "^3.0.0",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.2",
"terser-webpack-plugin": "^5.2.5",
"tsparticles": "^2.0.6",
"typescript": "^4.5.4",
"uuidv4": "^6.2.13",
"web-vitals": "^2.1.2"
"vite-tsconfig-paths": "^3.5.0",
"web-vitals": "^2.1.2",
"webpack": "^5.64.4",
"webpack-dev-server": "^4.6.0",
"webpack-manifest-plugin": "^4.0.2",
"workbox-webpack-plugin": "^6.4.1"
},
"scripts": {
"start": ".scripts/start.sh",
"build": "DISABLE_ESLINT_PLUGIN=true react-scripts build",
"test": "DISABLE_ESLINT_PLUGIN=true react-scripts test",
"eject": "react-scripts eject",
"test": "DISABLE_ESLINT_PLUGIN=true node scripts/test.js",
"lint": "eslint '*/**/*.{js,ts,tsx}' --quiet --fix",
"format": "prettier '**/*.{js,ts,tsx}' --write",
"services:init": "git submodule update --init --recursive && cd ./nft-marketplace && npm run services:init",
Expand All @@ -85,7 +131,10 @@
"kyasshu:start": ".scripts/kyasshu/start.sh",
"kyasshu:cache": ".scripts/kyasshu/cache-tokens.sh",
"kyasshu:reset": "pkill java",
"mock:generate-tokens": ".scripts/generate-mocked-tokens.sh"
"mock:generate-tokens": ".scripts/generate-mocked-tokens.sh",
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview"
},
"browserslist": {
"production": [
Expand All @@ -103,6 +152,9 @@
"@testing-library/jest-dom": "^5.16.1",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^1.3.0",
"eslint": "^8.6.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
Expand All @@ -116,6 +168,8 @@
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^7.0.4",
"prettier": "^2.5.1",
"typescript": "^4.6.3",
"vite": "^2.9.9",
"webpack-bundle-analyzer": "^4.5.0"
},
"release": {
Expand Down Expand Up @@ -156,5 +210,64 @@
"@semantic-release/github"
]
]
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"resetMocks": true
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
}
}
Binary file removed public/favicon.ico
Binary file not shown.
Binary file removed public/logo192.png
Binary file not shown.
Binary file removed public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions public/robots.txt

This file was deleted.

Loading