Skip to content

Commit f929bd8

Browse files
authored
Merge pull request #5 from pmndrs/dev_v3
Merge V 0.0.1
2 parents 07bc347 + 4f31fd6 commit f929bd8

24 files changed

+13622
-273
lines changed

.codesandbox/ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"sandboxes": ["new", "vanilla"]
2+
"sandboxes": ["randomstring", "/example/"]
33
}

.vscode/settings.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.eslint": true
5+
},
6+
"editor.formatOnSave": true,
7+
"[typescriptreact]": {
8+
"editor.defaultFormatter": "esbenp.prettier-vscode"
9+
}
10+
}

README.md

Lines changed: 212 additions & 122 deletions
Large diffs are not rendered by default.

example/.npmignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

example/.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"printWidth": 140,
3+
"tabWidth": 2,
4+
"useTabs": false,
5+
"semi": false,
6+
"singleQuote": false,
7+
"trailingComma": "all",
8+
"bracketSpacing": true,
9+
"jsxBracketSameLine": true,
10+
"fluid": false
11+
}

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
<body>
1111
<div id="root"></div>
12-
<script src="./index.tsx"></script>
12+
<script src="./src/index.js"></script>
1313
</body>
1414
</html>

example/index.tsx

Lines changed: 0 additions & 14 deletions
This file was deleted.

example/package.json

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,35 @@
11
{
2-
"name": "example",
2+
"name": "main_a11y_features_test",
33
"version": "1.0.0",
4-
"main": "index.js",
54
"license": "MIT",
6-
"scripts": {
7-
"start": "parcel index.html",
8-
"build": "parcel build index.html"
9-
},
5+
"description": "",
6+
"keywords": [],
7+
"main": "src/index.js",
108
"dependencies": {
11-
"react-app-polyfill": "^1.0.0"
9+
"@juggle/resize-observer": "^3.2.0",
10+
"@pmndrs/branding": "0.0.4",
11+
"@react-spring/three": "^9.0.0-rc.3",
12+
"@react-spring/web": "^9.0.0-rc.3",
13+
"@react-three/drei": "2.2.13",
14+
"drei": "^2.2.13",
15+
"react": ">=16.13",
16+
"react-dom": ">=16.13",
17+
"react-scripts": "4.0.1",
18+
"react-three-fiber": ">=5.0"
1219
},
1320
"alias": {
1421
"react": "../node_modules/react",
1522
"react-dom": "../node_modules/react-dom/profiling",
23+
"react-three-fiber": "../node_modules/react-three-fiber",
24+
"three": "../node_modules/three",
1625
"scheduler/tracing": "../node_modules/scheduler/tracing-profiling"
1726
},
1827
"devDependencies": {
19-
"@types/react": "^16.9.11",
20-
"@types/react-dom": "^16.8.4",
2128
"parcel": "^1.12.3",
22-
"typescript": "^3.4.5"
29+
"typescript": "4.0.3"
30+
},
31+
"scripts": {
32+
"start": "parcel index.html",
33+
"build": "parcel build index.html"
2334
}
2435
}

example/public/diamond.glb

16.4 KB
Binary file not shown.

example/public/index.html

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7+
<meta name="theme-color" content="#000000">
8+
<!--
9+
manifest.json provides metadata used when your web app is added to the
10+
homescreen on Android. See https://developers.google.com/web/fundamentals/engage-and-retain/web-app-manifest/
11+
-->
12+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
13+
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
14+
<!--
15+
Notice the use of %PUBLIC_URL% in the tags above.
16+
It will be replaced with the URL of the `public` folder during the build.
17+
Only files inside the `public` folder can be referenced from the HTML.
18+
19+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
20+
work correctly both with client-side routing and a non-root public URL.
21+
Learn how to configure a non-root public URL by running `npm run build`.
22+
-->
23+
<title>React App</title>
24+
</head>
25+
26+
<body>
27+
<noscript>
28+
You need to enable JavaScript to run this app.
29+
</noscript>
30+
<div id="root"></div>
31+
<!--
32+
This HTML file is a template.
33+
If you open it directly in the browser, you will see an empty page.
34+
35+
You can add webfonts, meta tags, or analytics to this file.
36+
The build step will place the bundled scripts into the <body> tag.
37+
38+
To begin the development, run `npm start` or `yarn start`.
39+
To create a production bundle, use `npm run build` or `yarn build`.
40+
-->
41+
</body>
42+
43+
</html>

0 commit comments

Comments
 (0)