Skip to content

Commit

Permalink
v1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
usulpro committed Jul 20, 2019
1 parent eecb163 commit 7652380
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/dist/__tests__
.vscode
node_modules
src
.babelrc
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
# Package-Prepare

[npm: `@usulpro/package-prepare`](https://www.npmjs.com/package/@usulpro/package-prepare)
[npm: `@usulpro/package-prepare`](https://www.npmjs.com/package/@usulpro/package-prepare)

[github: `package-prepare`](https://github.com/UsulPro/package-prepare)

Opinionately compiles ./src -> ./dist. Zero config

## Quick start

```shell
npx @usulpro/package-prepare
```

it will compile your `src` to `dist` folder

## Install

```shell
yarn add --dev @usulpro/package-prepare
```

## Usage
## Usage

ackage-prepare [additional options]

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@usulpro/package-prepare",
"version": "1.0.5",
"version": "1.1.4",
"main": "dist/index.js",
"bin": {
"package-prepare": "./dist/index.js"
Expand All @@ -10,7 +10,7 @@
"license": "MIT",
"scripts": {
"start": "node src",
"prepare": "babel src --out-dir dist --verbose",
"prepare": "npx --ignore-existing @usulpro/package-prepare --verbose",
"test": "node dist",
"tdd": "jest src --watchAll"
},
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if (otherArgs.length) shell.echo(chalk.cyan(`[${otherArgs}]`));

export const defaultConfigArgs = {
src: [''],
'--ignore': ['**/__tests__', 'test.js', 'stories', 'story.jsx', 'story.js'],
'--ignore': ['**/__tests__', '**/*.test.js', '**/stories', '**/*.story.jsx', '**/*.story.js'],
'--out-dir': ['dist'],
'--verbose': [''],
};
Expand Down

0 comments on commit 7652380

Please sign in to comment.