# @frendyguo/rift-scripts

> Rift Scripts

Latest version **1.0.8** (published 2019-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @frendyguo/rift-scripts
pnpm add @frendyguo/rift-scripts
yarn add @frendyguo/rift-scripts
bun add @frendyguo/rift-scripts
```

Provides the command `rift-scripts`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.8 |
| Published | 2019-11-17 |
| First published | 2019-11-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 53 |
| Unpacked size | 27.8 KB |
| Known vulnerabilities | 0 (+10 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Frendy Guo |
| Maintainers | frendyguo |
| Keywords | rift, scripts, react, javascript, ssr, webpack, universal, isomorphic |

## Links

- npm: https://www.npmjs.com/package/@frendyguo/rift-scripts
- Repository: https://github.com/frendyguo/rift
- Homepage: https://github.com/frendyguo/rift#readme
- Issues: https://github.com/frendyguo/rift/issues
- npm.io page: https://npm.io/package/@frendyguo/rift-scripts

## Dependencies (53)

- [jest](https://npm.io/package/jest.md) ^24.9.0
- [less](https://npm.io/package/less.md) ^3.10.3
- [eslint](https://npm.io/package/eslint.md) ^5.16.0
- [webpack](https://npm.io/package/webpack.md) ^4.36.1
- [fs-extra](https://npm.io/package/fs-extra.md) ^8.1.0
- [node-sass](https://npm.io/package/node-sass.md) ^4.12.0
- [@babel/cli](https://npm.io/package/@babel/cli.md) ^7.5.5
- [babel-jest](https://npm.io/package/babel-jest.md) ^24.9.0
- [css-loader](https://npm.io/package/css-loader.md) ^1.0.1
- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^5.2.0
- [url-loader](https://npm.io/package/url-loader.md) ^2.1.0
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.5.5
- [@babel/node](https://npm.io/package/@babel/node.md) ^7.5.5
- [file-loader](https://npm.io/package/file-loader.md) ^4.1.0
- [html-loader](https://npm.io/package/html-loader.md) ^0.5.5
- [less-loader](https://npm.io/package/less-loader.md) ^4.1.0
- [sass-loader](https://npm.io/package/sass-loader.md) ^7.1.0
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^3.3.6
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^9.6.1
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^10.0.2
- [babel-loader](https://npm.io/package/babel-loader.md) ^8.0.6
- [style-loader](https://npm.io/package/style-loader.md) ^0.23.1
- [postcss-loader](https://npm.io/package/postcss-loader.md) ^3.0.0
- [react-dev-utils](https://npm.io/package/react-dev-utils.md) ^9.0.3
- [react-hot-loader](https://npm.io/package/react-hot-loader.md) ^4.12.11
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.5.5
- [postcss-preset-env](https://npm.io/package/postcss-preset-env.md) ^6.7.0
- [resolve-url-loader](https://npm.io/package/resolve-url-loader.md) ^3.1.0
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.13
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) ^3.7.2
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.0.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.14.2
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) ^3.2.0
- [eslint-config-airbnb](https://npm.io/package/eslint-config-airbnb.md) ^17.1.1
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.18.2
- [@hot-loader/react-dom](https://npm.io/package/@hot-loader/react-dom.md) ^16.9.0
- [assets-webpack-plugin](https://npm.io/package/assets-webpack-plugin.md) ^3.9.10
- [http-proxy-middleware](https://npm.io/package/http-proxy-middleware.md) ^0.19.1
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) ^1.4.1
- [babel-preset-react-app](https://npm.io/package/babel-preset-react-app.md) ^9.0.1
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) ^6.2.3
- [postcss-flexbugs-fixes](https://npm.io/package/postcss-flexbugs-fixes.md) ^4.1.0
- [webpack-node-externals](https://npm.io/package/webpack-node-externals.md) ^1.7.2
- [uglifyjs-webpack-plugin](https://npm.io/package/uglifyjs-webpack-plugin.md) ^2.1.3
- [start-server-webpack-plugin](https://npm.io/package/start-server-webpack-plugin.md) ^2.2.5
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.5.5
- [extract-css-chunks-webpack-plugin](https://npm.io/package/extract-css-chunks-webpack-plugin.md) ^4.6.0
- [optimize-css-assets-webpack-plugin](https://npm.io/package/optimize-css-assets-webpack-plugin.md) ^5.0.3
- [@babel/plugin-syntax-dynamic-import](https://npm.io/package/@babel/plugin-syntax-dynamic-import.md) ^7.2.0
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.5.5
- [@babel/plugin-transform-react-jsx-source](https://npm.io/package/@babel/plugin-transform-react-jsx-source.md) ^7.5.0
- [@babel/plugin-transform-async-to-generator](https://npm.io/package/@babel/plugin-transform-async-to-generator.md) ^7.5.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.8 (latest) — 2019-11-17
- 1.0.7 — 2019-11-17
- 1.0.6 — 2019-11-17
- 1.0.5 — 2019-11-17
- 1.0.4 — 2019-11-17
- 1.0.3 — 2019-11-17
- 1.0.2 — 2019-11-16
- 1.0.1 — 2019-11-16

## README

# Rift (DEVELOPMENT)

Rift is a universal React development framework. Rift aims to simplify React app development by hiding away high complexity configurations while also providing smooth developer experience such as create-react-app.

Rift is highly inspired from [Jared Palmer](https://github.com/jaredpalmer)'s [Razzle](https://github.com/jaredpalmer/razzle), [Zeit](https://github.com/zeit)'s [Next.js](https://github.com/zeit/next.js/), [Tokopedia](https://github.com/tokopedia)'s [Treats](https://github.com/tokopedia/treats) and [Facebook](https://github.com/facebook)'s [create-react-app](https://github.com/facebook/create-react-app).

## What Rift comes with:
- Hot Module Replacement (Hot Reload) 🔥 ✅
- Server-side rendering 🌐 ✅
- ES6 presets ✅
- Supports multiple css modules such as LESS / SASS ✅
- Code-splitting support ✂ ✅
- Highly configurable webpack configurations ✅
- Built-in Jest testing environment ✅
- SVG, fonts, image files support ✅
- Next.js like data fetching experience ✅

## What's coming next:
- Optional GraphQL support
- Optional Redux support
- Optional Mobx support
- Client-side rendering only app

## How Rift works
### On development environment
Rift setups 2 different webpack instances running in parallel with hot module replacement support, one for server (default: `localhost:3000`) and one for client development server (`localhost:3001`), and with a little help from `http-proxy-middleware`, our server will then be able to access our client bundles by proxy-pointing to our client development server via `localhost:3000/__WDS__`.

### On production environment,
Rift will simply start an optimized bundling on our server and client codes onto a `dist` directory

#### Author
- [Frendy Guo](https://github.com/frendyguo)

---
_Source: https://npm.io/package/@frendyguo/rift-scripts · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
