Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frontainer/backstop-starter-kit
BackStopJS
https://github.com/frontainer/backstop-starter-kit
Last synced: about 7 hours ago
JSON representation
BackStopJS
- Host: GitHub
- URL: https://github.com/frontainer/backstop-starter-kit
- Owner: frontainer
- Created: 2015-07-25T06:50:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-25T22:40:42.000Z (over 9 years ago)
- Last Synced: 2025-01-18T01:35:20.725Z (19 days ago)
- Language: JavaScript
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BackStopJS Starter Kit
[BackStopJS](https://github.com/garris/BackstopJS)のスターターキット
## Usage
ZIPファイルを[ダウンロード](https://github.com/frontainer/backstop-starter-kit/archive/master.zip)して展開
### 必要な環境を構築
```shell
npm run ready
```### テストを開始
```
npm run test
```### 比較元キャプチャの更新
```
npm run ref
```### バックアップしてあったrefファイルを復元
```
npm run restore
```### 新しいコンフィグファイルの作成
```
npm run config
```## チームで使う場合
1. プロジェクトが始まったときに`npm run ref`してbackupファイルを作る
2. backupファイルをgitで管理するようにコミットする。
3. リリース前に`npm run restore`してから`npm run test`してレイアウトが崩れていないかチェックする。
4. 特に問題なければ`npm run ref`して新しいbackupファイルを作る。
5. backupファイルをコミット
6. 3番以降繰り返し