Skip to content

Commit

Permalink
chore: generate types in dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Jun 30, 2022
1 parent 04e0bdb commit 25f3c6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ examples/*/**/yarn.lock

# Generated dirs
dist
web-types
.nuxt
.nuxt-*
.output
Expand Down
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,18 @@
"main": "./dist/module.cjs",
"module": "./dist/module.mjs",
"types": "./dist/types.d.ts",
"web-types": "web-types/web-types.json",
"web-types": "./dist/web-types.json",
"files": [
"dist",
"web-types"
"dist"
],
"scripts": {
"build": "nuxt-module-build && yarn build:web-types",
"build:web-types": "vue-docgen-web-types --configFile ./web-types-config.json",
"dev": "./scripts/playground.sh",
"dev:build": "nuxi build playground/basic",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground/basic",
"dev:fixtures": "./scripts/fixture.sh",
"build": "nuxt-module-build && yarn build:web-types",
"build:docs": "(cd docs && nuxi build)",
"build:web-types": "vue-docgen-web-types src/runtime/components/ ./dist/web-types.json",
"example": "./scripts/example.sh",
"lint": "eslint --ext .js,.ts,.vue .",
"prepack": "yarn build",
Expand Down
3 changes: 0 additions & 3 deletions web-types-config.json

This file was deleted.

0 comments on commit 25f3c6d

Please sign in to comment.