Skip to content

Commit

Permalink
Merge pull request #26 from sj-distributor/25-modify-script-structure
Browse files Browse the repository at this point in the history
modify script structure
  • Loading branch information
Simoon-F authored Apr 7, 2023
2 parents fad420b + 2d03499 commit b3c7489
Show file tree
Hide file tree
Showing 5 changed files with 149 additions and 129 deletions.
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
# 🚀 Vite React Starter Template
# 🚀 Create React Boilerplates

[![Npm Version](https://img.shields.io/npm/v/npm.svg)](https://github.com/sj-distributor/react-vite-boilerplate)
[![MIT License](https://img.shields.io/npm/l/react-native-tab-view.svg?style=flat-square)](https://github.com/sj-distributor/react-vite-boilerplate/blob/main/LICENSE)
[![Npm Version](https://img.shields.io/npm/v/npm.svg)](https://github.com/sj-distributor/create-react-boilerplates)
[![MIT License](https://img.shields.io/npm/l/react-native-tab-view.svg?style=flat-square)](https://github.com/sj-distributor/create-react-boilerplates/blob/main/LICENSE)
[![downloads](https://img.shields.io/npm/dm/eslint-config-standard.svg)](https://www.npmjs.com/package/@sj-distributor/cra-template-react-vite-boilerplate)
[![CI](https://github.com/sj-distributor/react-vite-boilerplate/actions/workflows/release.yml/badge.svg)](https://github.com/sj-distributor/react-vite-boilerplate/actions/workflows/release.yml)

React vite boilerplate
[![CI](https://github.com/sj-distributor/create-react-boilerplates/actions/workflows/pull_request.yml/badge.svg)](https://github.com/sj-distributor/create-react-boilerplates/actions/workflows/pull_request.yml)

## Usage

Initialize project
With Yarn:

```
yarn create react-app <your-project-name> --template @sj-distributor/cra-template-react-vite-boilerplate --use-yarn
yarn create react-boilerplates
```

Enter the project root directory
With PNPM:

```
cd <your-project-name>
pnpm create react-boilerplates
```

Install project dependencies
With NPM:

```
yarn
npm create react-boilerplates@latest
```

Run Project
Then follow the prompts! Run Project

```
yarn dev
cd <your-project-name>
yarn && yarn dev
```
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-react-boilerplates",
"version": "2.0.2",
"version": "2.0.3",
"type": "module",
"bin": {
"create-react-boilerplates": "index.js",
Expand All @@ -23,7 +23,7 @@
"react-boilerplate"
],
"description": "Create React Boilerplate",
"repository": "https://github.com/sj-distributor/react-vite-boilerplate",
"repository": "https://github.com/sj-distributor/create-react-boilerplates",
"author": "Simon.F",
"license": "MIT",
"publishConfig": {
Expand All @@ -34,7 +34,7 @@
"node": ">=14.18.0"
},
"bugs": {
"url": "https://github.com/sj-distributor/react-vite-boilerplate/issues"
"url": "https://github.com/sj-distributor/create-react-boilerplates/issues"
},
"files": [
"dist",
Expand Down
Loading

0 comments on commit b3c7489

Please sign in to comment.