Add cypress to npm test script.

This commit is contained in:
Dillon Kearns 2021-06-04 18:11:00 -07:00
parent 1d42eeb6e1
commit 2e4cc7d0da

View File

@ -7,7 +7,8 @@
"main": "index.js",
"scripts": {
"start": "cd examples/docs && npm start",
"test": "elm-verify-examples --run-tests && elm-test && (cd generator && mocha) && (cd examples/routing && npm i && npm run build -- --debug && elm-test)",
"test": "elm-verify-examples --run-tests && elm-test && (cd generator && mocha) && (cd examples/routing && npm i && npm run build -- --debug && elm-test) && npm run cypress",
"cypress": "npm start & cypress run --spec cypress/integration/elm-pages-dev.spec.js",
"review": "elm-review"
},
"repository": "https://github.com/dillonkearns/elm-pages",
@ -58,4 +59,4 @@
"bin": {
"elm-pages": "generator/src/cli.js"
}
}
}