* temp 07/01/19 [skip ci] main lint files * use lint-staged scripts * fix all auto-fixable eslint errors * manually fix lint issues in files * temp 07/01/19 [skip ci] * bump eslint plugin versions, update circle.yml * [lint fix] remaining js files * update vscode/settings.json * add back stop-only * use stop-only for linting .onlys * fix verify_spec, build_spec * update json plugin * relint & apply corrections * fix appveyor.yml not cleansing env vars (very bad) * dont echo commit message in appveyor script * retry build & * re-add & upgrade lint-staged * update contributing docs * only let stop-only catch staged changes
Example
This repo contains the source code for pushing out https://example.cypress.io.
The actual example repo you're probably looking for is the kitchen sink app here.
THERE'S LIKELY NO REASON YOU NEED TO EDIT ANY OF THE CODE ON THIS REPO.
- Want to edit the
exampletests? -> edit it here instead. - Want to edit the actual https://example.cypress.io website? edit it here instead.
Updating the example app
After releasing a new version on the cypress-example-kitchen-sink repo, you now want to update the example's dependency to match the newly released version.
-
Bump the
cypress-example-kitchensinkdevDependencywithin this package'spackage.json. -
Run
npm installandnpm run buildto build the app and spec files. -
Create a new pull-request following this repo's pull request instructions.
Developing
npm install
Building
After running npm install you must build the app + spec files.
npm run build
This copies the src files from cypress-example-kitchensink, modifies them to point to https://example.cypress.io and creates the example tests.
Deploying
npm run deploy