Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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.
@@ -3,6 +3,7 @@
"version": "0.0.19",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"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