pawap90/scrollable-cli

Non-standard build directory structure

pawap90 opened this issue · 0 comments

I've been using a "build" directory to store different types of builds temporarily:

  • Test
  • Examples
  • Distribution

Each build has its own tsconfig and it made sense to keep them on different directories and at the same time grouped under the same "build" directory.

 ├───build/
 │   ├───dist/                
 │   ├───examples/                
 │   └───test/                

But I noticed this means the published package looks like this:

./
    ├───build/
    │   └───dist/                
    │       ├───scrollable.d.ts 
    │       ├───scrollable.js   
    │       ├───index.d.ts
    │       └───index.js       
    ├───LICENSE
    ├───package.json               
    └───README.md

And I'd like it to look like this instead:

./
    ├───dist/         
    │   ├───scrollable.d.ts 
    │   ├───scrollable.js   
    │   ├───index.d.ts
    │   └───index.js       
    ├───LICENSE
    ├───package.json               
    └───README.md