open-index/open-npm huggingface dataset:
npm package: @nnecec/preset-vite
Description: Basic Vite configuration, includes React and some default configurations
Author: nnecec
Latest version: 0.1.14

# `@nnecec/preset-vite`

## Features

- Integrate @vite/plugin-react, support TypeScript.
- Analyze output assets with `process.env.BUILD_ANALYSE=true`.
- `src/` alias `~/`
- Dependencies as external when `build.lib` config setted.

## Usage

Install:

```bash
$ npm install --save-dev vite @nnecec/preset-vite
```

Edit `vite.config.js`:

```js
import preset from '@nnecec/preset-vite'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [preset()],
})
```
npm package: @nnecec/tsconfig
Description: These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from.
Latest version: 0.2.3

# `@nnecec/tsconfig`

These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from.

## Features

- Target: ES2020

## Usage

Install:

```bash
$ npm install --save-dev typescript @nnecec/tsconfig
```

Edit `tsconfig.json`:

```json
{
  "extends": "@nnecec/tsconfig",
  "compilerOptions": {
    "outDir": "dist"
  }
}
// or
{
  "extends":"@nnecec/tsconfig/react",
  // or
  "extends":"@nnecec/tsconfig/commonjs",
}
```
npm package: @nnecec/vite-preset
Description: Basic Vite configuration, includes React and some default configurations
Author: nnecec
Latest version: 0.3.1

# `@nnecec/vite-preset`

## Features

- Integrate @vite/plugin-react, support TypeScript.
- Analyze output assets with `process.env.BUILD_ANALYSE=true`.
- `src/` alias `~/`
- Dependencies as external when `build.lib` config setted.

## Usage

Install:

```bash
$ npm install --save-dev vite @nnecec/vite-preset
```

Edit `vite.config.js`:

```js
import preset from '@nnecec/vite-preset'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [preset()],
})
```