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

Commit

Permalink
chore: update build process and instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Sep 26, 2019
1 parent bd1c29e commit b34092e
Show file tree
Hide file tree
Showing 5 changed files with 582 additions and 2 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,14 @@ All components are in [src](src) folder. All tests are in [cypress/integration](

## Development

To get started with this repo, compile the plugin's code and the examples code

```shell
npm run transpile
npm run build
npm run cy:open
```

- run TypeScript compiler in watch mode with `npx tsc -w`
- run Cypress with `npx cypress open` and select the spec you want to work with
- edit `lib/index.ts` where all the magic happens
Expand Down
2 changes: 2 additions & 0 deletions cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
// https://on.cypress.io/configuration
// ***********************************************************

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

0 comments on commit b34092e

Please sign in to comment.