Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hxfdarling/a8k
基于 webpack 最佳实践构建工具https://hxfdarling.github.io/a8k/
https://github.com/hxfdarling/a8k
a8k create-react-app react webpack
Last synced: 2 months ago
JSON representation
基于 webpack 最佳实践构建工具https://hxfdarling.github.io/a8k/
- Host: GitHub
- URL: https://github.com/hxfdarling/a8k
- Owner: hxfdarling
- License: mit
- Created: 2018-10-31T06:30:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T00:51:53.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T15:01:36.118Z (2 months ago)
- Topics: a8k, create-react-app, react, webpack
- Language: TypeScript
- Homepage:
- Size: 6.49 MB
- Stars: 51
- Watchers: 6
- Forks: 20
- Open Issues: 81
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - a8k
README
[![licens MIT](https://img.shields.io/github/license/hxfdarling/a8k.svg)](https://github.com/hxfdarling/a8k/blob/master/LICENSE)
[![travis CI](https://travis-ci.org/hxfdarling/a8k.svg?branch=master)](https://travis-ci.org/hxfdarling/a8k)# a8k
A build tool that integrates webpack's react project best practices configuration.
[docs](https://hxfdarling.github.io/a8k/)
## Getting Started
install
```bash
npm i -g a8k
# or
npm i -D a8k
```init project
```bash
k create [projectName]
```start devServer
```bash
k dev
```start devServer for ssr
```bash
k dev -s
```build
```bash
k build
```test
```bash
k test
```## Development scripts
A8k is organized as a monorepo using Lerna. Useful scripts include:
### `yarn bootstrap`
Installs package dependencies and links packages together - using lerna
### `yarn lerna:version`
Push a release to git and npm will ask for version in interactive mode - using lerna.
### `yarn lint`
boolean check if code conforms to linting rules - uses remark & eslint
### `yarn test`
boolean check if unit tests all pass - uses jest