Try new cypress command to fix build error.

This commit is contained in:
Dillon Kearns 2022-03-09 13:47:39 -08:00
parent 0b6d801f74
commit 9640986e2c

View File

@ -6,7 +6,7 @@
"description": "Type-safe static sites, written in pure elm with your own custom elm-markup syntax.", "description": "Type-safe static sites, written in pure elm with your own custom elm-markup syntax.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "cd examples/end-to-end && npm start", "start": "cd examples/end-to-end && elm-pages dev",
"test": "set -x; (cd examples/routing && npm i && npm run build && elm-test-rs) && npm run test:snapshot && npx elmi-to-json --version && elm-verify-examples --run-tests && elm-test && (cd generator && mocha)", "test": "set -x; (cd examples/routing && npm i && npm run build && elm-test-rs) && npm run test:snapshot && npx elmi-to-json --version && elm-verify-examples --run-tests && elm-test && (cd generator && mocha)",
"test:snapshot": "(cd examples/escaping && npm install && npm test) && (cd examples/base-path && npm install && npm test)", "test:snapshot": "(cd examples/escaping && npm install && npm test) && (cd examples/base-path && npm install && npm test)",
"cypress": "npm start & cypress run", "cypress": "npm start & cypress run",