An open API service indexing awesome lists of open source software.

https://github.com/niieani/scaffold

beemo-based scaffold
https://github.com/niieani/scaffold

Last synced: 7 months ago
JSON representation

beemo-based scaffold

Awesome Lists containing this project

README

          

# @niieani/scaffold

Installation steps:

```
yarn set version berry
yarn init # add --workspace if monorepo
echo 'nodeLinker: "node-modules"' >> .yarnrc.yml
yarn add @niieani/scaffold --dev
```

Setup your `.config/beemo.ts`, for example:

```ts
import type {ScaffoldConfig} from '@niieani/scaffold'

const config: ScaffoldConfig = {
module: '@niieani/scaffold',
drivers: ['babel', 'eslint', 'jest', 'prettier', 'typescript', 'webpack'],
settings: {
node: true,
name: 'MyProject',
engineTarget: 'web',
codeTarget: 'es6',
umd: {
filename: 'myproject.js',
export: 'default',
},
},
}

export default config
```

Run scaffolding:

```
yarn beemo run-script init-project
```

Make it into a repo:

```
git init
```

Add `NPM_TOKEN` secret to GitHub repo for semantic-release to work.

Use "preSCRIPTNAME" and "postSCRIPTNAME" to customize built-in scripts.

Profit!