Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit b34092e

Browse files
committed
chore: update build process and instructions
1 parent bd1c29e commit b34092e

File tree

5 files changed

+582
-2
lines changed

5 files changed

+582
-2
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@ All components are in [src](src) folder. All tests are in [cypress/integration](
155155

156156
## Development
157157

158+
To get started with this repo, compile the plugin's code and the examples code
159+
160+
```shell
161+
npm run transpile
162+
npm run build
163+
npm run cy:open
164+
```
165+
158166
- run TypeScript compiler in watch mode with `npx tsc -w`
159167
- run Cypress with `npx cypress open` and select the spec you want to work with
160168
- edit `lib/index.ts` where all the magic happens

cypress/support/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
// https://on.cypress.io/configuration
1414
// ***********************************************************
1515

16+
// custom commands provided by this package, built from TypeScript code in "lib"
17+
// using "npm run transpile"
1618
import '../../dist'
1719
import '@percy/cypress'

0 commit comments

Comments
 (0)