open-index/open-npm huggingface dataset:
npm package: @o2oa/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 5.0.7

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @o2project/vivliostyle-theme-o2project
Description: Vivliostyle theme for O2 Project
Author: O2 Project
Latest version: 2.8.1

# Vivliostyle Theme O2 Project

Vivliostyle theme for O2 Project

## Install

```bash
npm install --save @o2project/vivliostyle-theme-o2project
# or
yarn add @o2project/vivliostyle-theme-o2project
```

## Use

In `vivliostyle.config.js`:

```js
module.exports = {
  theme: '@o2project/vivliostyle-theme-o2project',
};
```

## Dev

- **example**: Contain sample manuscripts using your theme.
- **src**: You can add files for specific use (print, screen, cover, toc, preface, ...) and apply them at `theme` `entry > theme` in vivliostyle.config.js. Partial files whose names begin with `_` will be ignored.

### Commands

Run `vivliostyle preview` to preview your `theme_*.css`.

To watch file changes, use `dev` script.

```bash
npm run dev
# or
yarn dev
```

You can specify your CSS file and manuscript file for preview in vivliostyle.config.js:

```js
module.exports = {
  language: 'en',
  theme: 'print.css',
  // theme: 'theme_screen.css',
  entry: [
    'example/default.md',
    // and more...
  ],
};
```

Run `vivliostyle-theme-scripts validate` before publishing your package.

```bash
npm run validate
# or
yarn validate
```