Skip to content

Commit

Permalink
refactor: polish sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Sant Deleon committed Jul 2, 2022
1 parent 0366d59 commit d15af3d
Show file tree
Hide file tree
Showing 17 changed files with 370 additions and 238 deletions.
21 changes: 20 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
node_modules
# Debugging
npm-debug.*
yarn-debug.*
yarn-error.*
.eslintcache

# Dependencies
node_modules

# MacOS
.DS_Store

# Production
build
build.zip
dist

# VSCode
.vscode/
workspace*
4 changes: 3 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"singleQuote": false,
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
}
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# sandbox
Created with CodeSandbox
https://r3byv.csb.app/
# Phantom Wallet Sandbox

> A CodeSandbox for learning how to interact with Phantom Wallet
(https://r3byv.csb.app/)[Play with the sandbox in full view]
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
{
"name": "react-typescript",
"name": "@phantom-labs/sandbox",
"version": "1.0.0",
"description": "React and TypeScript example starter project",
"description": "The official CodeSandbox for learning how to interact with Phantom Wallet.",
"license": "MIT",
"keywords": [
"typescript",
"react",
"starter"
"phantom",
"phantom wallet",
"phantom-wallet",
"solana",
"codesandbox"
],
"main": "src/index.tsx",
"dependencies": {
Expand All @@ -22,8 +25,7 @@
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
"test": "react-scripts test --env=jsdom"
},
"browserslist": [
">0.2%",
Expand Down
28 changes: 1 addition & 27 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,43 +1,17 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<!--
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`.
-->
<title>React App</title>
<title>Phantom Wallet – CodeSandbox</title>
</head>

<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
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>
Loading

0 comments on commit d15af3d

Please sign in to comment.