diff --git a/packages/cra-template-minimal/README.md b/packages/cra-template-minimal/README.md new file mode 100644 index 00000000000..e5dc0669bd2 --- /dev/null +++ b/packages/cra-template-minimal/README.md @@ -0,0 +1,20 @@ +# cra-template-minimal + +This is the official minimal template for [Create React App](https://github.com/facebook/create-react-app). + +To use this template, add `--template minimal` when creating a new app. + +For example: + +```sh +npx create-react-app my-app --template minimal + +# or + +yarn create react-app my-app --template minimal +``` + +For more information, please refer to: + +- [Getting Started](https://create-react-app.dev/docs/getting-started) – How to create a new app. +- [User Guide](https://create-react-app.dev) – How to develop apps bootstrapped with Create React App. diff --git a/packages/cra-template-minimal/package.json b/packages/cra-template-minimal/package.json new file mode 100644 index 00000000000..386e8f46604 --- /dev/null +++ b/packages/cra-template-minimal/package.json @@ -0,0 +1,27 @@ +{ + "name": "cra-template-minimal", + "version": "1.0.0", + "keywords": [ + "react", + "create-react-app", + "template" + ], + "description": "The minimal template for Create React App.", + "main": "template.json", + "repository": { + "type": "git", + "url": "https://github.com/facebook/create-react-app.git", + "directory": "packages/cra-template-minimal" + }, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "bugs": { + "url": "https://github.com/facebook/create-react-app/issues" + }, + "files": [ + "template", + "template.json" + ] +} diff --git a/packages/cra-template-minimal/template.json b/packages/cra-template-minimal/template.json new file mode 100644 index 00000000000..0967ef424bc --- /dev/null +++ b/packages/cra-template-minimal/template.json @@ -0,0 +1 @@ +{} diff --git a/packages/cra-template-minimal/template/gitignore b/packages/cra-template-minimal/template/gitignore new file mode 100644 index 00000000000..4d29575de80 --- /dev/null +++ b/packages/cra-template-minimal/template/gitignore @@ -0,0 +1,23 @@ +# 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/packages/cra-template-minimal/template/public/index.html b/packages/cra-template-minimal/template/public/index.html new file mode 100644 index 00000000000..6252f08e495 --- /dev/null +++ b/packages/cra-template-minimal/template/public/index.html @@ -0,0 +1,12 @@ + + +
+ + +