Skip to content

Commit

Permalink
fix merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Feb 16, 2023
1 parent ce652dc commit 928021b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 36 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -15,7 +15,7 @@
"scripts": {
"start": "yarn build:watch",
"build": "yarn build:tsc && yarn build:dist",
"build:tsc": "tsc && cp -R ./fonts/ ./dist/fonts/ && cp ./src/styles.scss ./dist/src/styles.scss && cp ./src/common/components/modal/styles.scss ./dist/src/common/components/modal/styles.scss ",
"build:tsc": "tsc && cp -R ./fonts/ ./dist/fonts/ && cp ./src/styles.scss ./dist/src/styles.scss && cp ./src/components/modal/styles.scss ./dist/src/components/modal/styles.scss",
"build:dist": "cross-env NODE_ENV=production webpack",
"build:watch": "tsc -w",
"lint": "eslint src/**/*.{ts,tsx} stories/**/*.tsx --fix",
Expand Down
27 changes: 0 additions & 27 deletions src/config/colors.js

This file was deleted.

7 changes: 0 additions & 7 deletions src/masa-react-env.d.ts

This file was deleted.

7 changes: 7 additions & 0 deletions src/modules.d.ts
@@ -0,0 +1,7 @@
import { MetaMaskInpageProvider } from '@metamask/providers';

declare global {
interface Window {
ethereum?: MetaMaskInpageProvider;
}
}
3 changes: 2 additions & 1 deletion tsconfig.json
Expand Up @@ -4,6 +4,7 @@
"src"
],
"compilerOptions": {
"target": "ES2015",
"module": "ESNext",
"lib": [
"DOM",
Expand All @@ -16,7 +17,7 @@
"sourceMap": true,
// match output dir to input dir. e.g. dist/index instead of dist/src/index
"rootDir": "./src",
"outDir": "./dist",
"outDir": "./dist/src",
// stricter type-checking for stronger correctness. Recommended by TS
"strict": true,
// linter checks for common issues
Expand Down

0 comments on commit 928021b

Please sign in to comment.