Skip to content

Chore/red 268 editorial package voorzien van typescript typings#79

Open
LotteMoors wants to merge 3 commits intodigipolisantwerp:masterfrom
LotteMoors:chore/RED-268-Editorial-package-voorzien-van-typescript-typings
Open

Chore/red 268 editorial package voorzien van typescript typings#79
LotteMoors wants to merge 3 commits intodigipolisantwerp:masterfrom
LotteMoors:chore/RED-268-Editorial-package-voorzien-van-typescript-typings

Conversation

@LotteMoors
Copy link
Contributor

No description provided.

Add script: npm run types => generates file with compiled types (docsjs -> typescript) in types/typings.d.ts.
Add docsjs & tsd-jsdoc(compiler) dependency.
"types": "./types/types.d.ts",
"scripts": {
"prepublish": "npm run test && npm run build",
"start": "start-storybook -p 9009 -s public",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In de build hieronder, zou ik de types mee berekenen zodat die er altijd zijn bij een build.
build: rimraf dist/ && rollup -c && npm run types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants