Run elm-codegen install in prepare script.

This commit is contained in:
Dillon Kearns 2022-09-14 14:44:51 -07:00
parent eebe715051
commit dffdfcd3ed

View File

@ -10,6 +10,7 @@
"test": "./test.sh", "test": "./test.sh",
"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",
"prepare": "elm-codegen install",
"review": "elm-review" "review": "elm-review"
}, },
"repository": "https://github.com/dillonkearns/elm-pages", "repository": "https://github.com/dillonkearns/elm-pages",
@ -74,4 +75,4 @@
"bin": { "bin": {
"elm-pages": "generator/src/cli.js" "elm-pages": "generator/src/cli.js"
} }
} }