summaryrefslogtreecommitdiff
path: root/examples/framework-react
diff options
context:
space:
mode:
authorGravatar Dan Jutan <danjutan@gmail.com> 2022-08-31 15:27:36 -0400
committerGravatar GitHub <noreply@github.com> 2022-08-31 15:27:36 -0400
commit23d4f80145d083a707b570b9a563ec5621060df9 (patch)
tree2bde65c4823c2d61c823672a03828fe262e12590 /examples/framework-react
parentca2d0728e421a19492dd88aa35c37626c6a2897a (diff)
downloadastro-23d4f80145d083a707b570b9a563ec5621060df9.tar.gz
astro-23d4f80145d083a707b570b9a563ec5621060df9.tar.zst
astro-23d4f80145d083a707b570b9a563ec5621060df9.zip
Revert "Update templates to avoid devDependencies and :global (#4544)" (#4575)
This reverts commit ca2d0728e421a19492dd88aa35c37626c6a2897a.
Diffstat (limited to 'examples/framework-react')
-rw-r--r--examples/framework-react/package.json12
1 files changed, 7 insertions, 5 deletions
diff --git a/examples/framework-react/package.json b/examples/framework-react/package.json
index 8b8b49789..f8c3958e7 100644
--- a/examples/framework-react/package.json
+++ b/examples/framework-react/package.json
@@ -9,12 +9,14 @@
"preview": "astro preview",
"astro": "astro"
},
+ "devDependencies": {
+ "@astrojs/react": "^1.1.1",
+ "@types/react": "^18.0.10",
+ "@types/react-dom": "^18.0.5",
+ "astro": "^1.1.2"
+ },
"dependencies": {
- "astro": "^1.1.1",
"react": "^18.1.0",
- "react-dom": "^18.1.0",
- "@astrojs/react": "^1.1.0",
- "@types/react": "^18.0.10",
- "@types/react-dom": "^18.0.5"
+ "react-dom": "^18.1.0"
}
}