diff options
Diffstat (limited to 'examples/react')
-rw-r--r-- | examples/react/.gitignore | 9 | ||||
-rw-r--r-- | examples/react/.npmignore | 31 | ||||
-rw-r--r-- | examples/react/gitignore | 32 | ||||
-rw-r--r-- | examples/react/package.json | 6 |
4 files changed, 74 insertions, 4 deletions
diff --git a/examples/react/.gitignore b/examples/react/.gitignore index 4d29575de..ee1e49b71 100644 --- a/examples/react/.gitignore +++ b/examples/react/.gitignore @@ -1,3 +1,12 @@ +**/*.trace +**/*.zip +**/*.tar.gz +**/*.tgz +**/*.log + +package-lock.json +**/*.bun + # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies diff --git a/examples/react/.npmignore b/examples/react/.npmignore new file mode 100644 index 000000000..9b5538ebc --- /dev/null +++ b/examples/react/.npmignore @@ -0,0 +1,31 @@ +**/*.trace +**/*.zip +**/*.tar.gz +**/*.tgz +**/*.log +package-lock.json +**/*.bun + +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/examples/react/gitignore b/examples/react/gitignore new file mode 100644 index 000000000..ee1e49b71 --- /dev/null +++ b/examples/react/gitignore @@ -0,0 +1,32 @@ +**/*.trace +**/*.zip +**/*.tar.gz +**/*.tgz +**/*.log + +package-lock.json +**/*.bun + +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build + +# misc +.DS_Store +.env.local +.env.development.local +.env.test.local +.env.production.local + +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/examples/react/package.json b/examples/react/package.json index 43f60301a..fcf44635f 100644 --- a/examples/react/package.json +++ b/examples/react/package.json @@ -1,14 +1,12 @@ { - "name": "hello-create-react-app", - "version": "0.1.0", - "private": true, + "name": "@bun-examples/react", + "version": "0.0.27", "dependencies": { "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", "react": "^17.0.2", "react-dom": "^17.0.2", - "react-scripts": "4.0.3", "web-vitals": "^1.0.1" }, "scripts": { |