open-index/open-npm huggingface dataset:
npm package: @golden-unicorn/ali-oss-upload-cli
Description: upload local static files to ali oss
Author: bencode@163.com
Latest version: 1.2.1

# oss-upload


## Usage

### 1. Install package

```shell
npm install --save ali-oss-upload-cli
```

### 2. Add an oss config file `oss.secret.json` under your project's directory.

```json
{
  "region": "oss-cn-shanghai",
  "bucket": "demo-static",
  "accessKeyId": "xxxxxx",
  "accessKeySecret": "xxxxxx"
}
```

**you should add this secret file to `.gitignore` file for preventing commit.**

[Option] the config file can also be a js module and you can read `id` and `secret` from process env.

```js
module.exports = {
  region: 'oss-cn-qingdao',
  bucket: 'qgt-paper',
  accessKeyId: process.env.TEST_OSS_ID,
  accessKeySecret: process.env.TEST_OSS_SECRET,
};
```


### 3. Run upload command

```shell
# upload dist dir to remote `/collab-static`
oss-upload dist -o /collab-static -c config/oss.secret.json

# upload to bucket root dir
oss-upload priv/static -o / -c config/oss.secret.json

# config can be a node module
oss-uplaod priv/static -o / -c config/oss.config.js

# you can omit arg `-c` if config file in the default location: $project/oss.config.js
oss-upload dist -o '/'
# clear remote directory before uploading
oss-upload dist -o '/' -C
```

### 4. For help

```shell
oss-upload -h  # for help


Usage: oss-upload [options] <dir>

  Options:

    -V, --version        output the version number
    -o, --output <dir>   remote directory
    -C, --clear          clear remote directory before uploading
    -c, --config <file>  oss config file
    -h, --help           output usage information
```
npm package: @golden-unicorn/ladder-theme
Description: Ant Design Ladder Theme
Author: dennis
Latest version: 0.0.3

<h1 align="center">Ant Design Ladder Theme</h1>


## Install

```bash
$ npm install @golden-unicorn/ladder-theme
```

## Usage

### webpack

```js
import ladderTheme from '@golden-unicorn/ladder-theme';

// webpack.config.js: less-loader
{
  loader: 'less-loader',
  options: {
    modifyVars: ladderTheme,
  },
},
```

### less

```less
@import "~@golden-unicorn/ladder-theme/index.less";
```

### create-react-app

If you build your project with CRA, we have a demo project to show how to use the theme.

[antd-ladder-react-demo](https://github.com/WeConnect/antd-ladder-react-demo)
npm package: @golden_vinyle/rn-scratch-card
Description: React Native Scratch Card which temporarily hides content from user
Author: Sasha Egorov
Latest version: 1.0.1

# rn-scratch-card

it's a fork of rn-scratch-card by @avegrv. On this version, you have access complete access of grid data.

![Scratch Sample](https://github.com/sweatco/rn-scratch-card/raw/main/demo.gif)

Check out it on [dribble](https://dribbble.com/shots/17396594-Sweatcoin-Scratch-The-Prize-Feature-Lottery-Style).

## Installation

```sh
yarn add @golden_vinyle/rn-scratch-card
```

[![https://nodei.co/npm/@golden_vinyle/rn-scratch-card.png?downloads=true&downloadRank=true&stars=true](https://nodei.co/npm/@golden_vinyle/rn-scratch-card.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/@golden_vinyle/rn-scratch-card)

## Usage

```js
import { ScratchCard } from 'rn-scratch-card'

// ...
<ScratchCard
  source={require('./scratch_foreground.png')}
  brushWidth={50}
  onScratch={handleScratch}
  style={styles.scratch_card}
/>
```

## Example project setup

```sh
cd rn-scratch-card
yarn install
cd example
yarn install
yarn run react-native run-ios
```

If you are launching project under iOS, please, also remember to

```sh
cd ios
pod install
```

## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT