Skip to content

Commit

Permalink
draft setup of a tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed Oct 28, 2020
1 parent 6b468de commit 1b04b26
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 63 deletions.
9 changes: 8 additions & 1 deletion packages/next-plugin-storybook/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"name": "@next/plugin-storybook",
"exports": {
"./": "./dist/"
},
"version": "10.0.0",
"repository": {
"url": "vercel/next.js",
"directory": "packages/next-plugin-storybook"
},
"peerDependencies": {
"next": "*"
}
},
"scripts": {
"build": "yarn tsc -d -w -p tsconfig.json"
},
"dependencies": {}
}
62 changes: 0 additions & 62 deletions packages/next-plugin-storybook/preset.js

This file was deleted.

13 changes: 13 additions & 0 deletions packages/next-plugin-storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"compilerOptions": {
"outDir": "dist/",
"module": "commonjs",
"sourceMap": true,
"esModuleInterop": true,
"target": "es2015",
"downlevelIteration": true,
"preserveWatchOutput": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist", "./*.d.ts"]
}

0 comments on commit 1b04b26

Please sign in to comment.