0.0.28 • Published 4 years ago

dictator-cypress v0.0.28

Weekly downloads
3
License
Apache 2
Repository
github
Last release
4 years ago

dictator-cypress

NPM Build Status

An example dictator created with dictator-builder.

The cypress binaries are not small enough to be published to registry.npm.org. This repository shows how to package your own NPM package that you can published to your internal NPM registry.

This is just an example of how to package cypress to use it inside firewalls where you cannot download from the cypress public download mirror.

Using it with an application

Se example usage in dictator-cypress-example.

When added to your package.json like this:

{
  "scripts": {
    "preinstall": "npx dictator-cypress@a.b.c"
  }
}

And when npm install is performed in that repository, it will:

  • Determine your platform
  • Add cypress binary for your platform as /cypress.zip
  • Make sure .npmrc contains CYPRESS_INSTALL_BINARY=${PWD}/cypress.zip

Publishing this repository to use it in application

You need to get the binaries from the Cypress download mirror. Only pick the ones you need, perhaps:

Replace the fake zip-binaries in /dictatables folders with the real ones you downloaded.

Perhaps you want to commit the binaries to Git and release with a CI environment like Jenkins. Or publish the package from your local machine without committing to Git. This repository has a release script that you may want to use npm run release.

0.0.28

4 years ago

0.0.27

4 years ago

0.0.24

4 years ago

0.0.25

4 years ago

0.0.26

4 years ago

0.0.22

4 years ago

0.0.23

4 years ago

0.0.20

4 years ago

0.0.21

4 years ago

0.0.18

4 years ago

0.0.19

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago