Skip to content

Commit

Permalink
Generate types:27 on npm run prepack
Browse files Browse the repository at this point in the history
`npm run prepack` is used if lineupjs is added as git dependency (e.g., in the lineup_app). With the most recent changes, the lineup_app will not compile, due to missing .d.ts files. Generating the typings when installing lineupjs as dependency fixes the problem.
  • Loading branch information
thinkh committed Apr 25, 2019
1 parent d93d3ca commit e7b9498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"postdist": "npm run docs && cross-zip ./build/docs ../dist/lineupjs_docs.zip",
"preversion": "npm test",
"prepare": "echo 'dummy prepare since prepack has no dev dependencies'",
"prepack": "npm run clean && npm run compile && npm run build:prod",
"prepack": "npm run clean && npm run compile && npm run build:prod && npm run types:27",
"release:major": "release-it major",
"release:minor": "release-it minor",
"release:patch": "release-it patch",
Expand Down

0 comments on commit e7b9498

Please sign in to comment.