Update build script.

This commit is contained in:
Dillon Kearns 2022-03-09 13:36:14 -08:00
parent b7a2d44436
commit 0b6d801f74

View File

@ -7,8 +7,8 @@
"main": "index.js",
"scripts": {
"start": "cd examples/end-to-end && npm start",
"test": "set -x; (cd generator && mocha) && (cd examples/routing && npm i && mkdir .elm-pages && lamdera make app/Route/SPLAT__.elm && npm run build && elm-test-rs) && npm run test:snapshot && npx elmi-to-json --version && elm-verify-examples --run-tests && elm-test",
"test:snapshot": "(cd examples/escaping && npm install && mkdir .elm-pages && lamdera make app/Route/Index.elm && npm test) && (cd examples/base-path && npm install && mkdir .elm-pages && lamdera make app/Route/Index.elm && npm test)",
"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)",
"cypress": "npm start & cypress run",
"review": "elm-review"
},