Skip to content

Commit

Permalink
feat: ✨ expose ultra-runner as a module as well, including type defin…
Browse files Browse the repository at this point in the history
…itions
  • Loading branch information
folke committed Mar 5, 2020
1 parent a829863 commit 9bb6076
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
"name": "ultra-runner",
"description": "Smart and beautiful script runner that hijacks any `npm run`, `yarn` and `npx` calls for ultra fast execution",
"version": "2.0.1",
"main": "lib/cli.js",
"main": "lib/index.js",
"repository": "http://github.com/folke/ultra-runner",
"author": "Folke Lemaitre <folke.lemaitre@gmail.com>",
"license": "MIT",
"bin": {
"ultra": "bin/ultra.js"
},
"engines": {
"node": ">=10.0.0"
},
"files": [
"lib",
"bin",
Expand Down Expand Up @@ -52,15 +55,13 @@
"generate:config": "npx ts-interface-builder src/config-options.ts",
"prebuild": "yarn clean && yarn lint && yarn test",
"build:rollup": "npx rollup -c",
"build": "yarn build:rollup",
"build:ts": "npx tsc -p tsconfig.build.json",
"build": "npx tsc -p tsconfig.build.json",
"clean": "npx rimraf lib coverage *.log build 0x",
"test": "npx jest",
"test:cov": "npx jest --coverage --coverageProvider v8",
"lint": "yarn lint:ts && yarn lint:eslint && yarn lint:docs",
"lint": "yarn lint:eslint && yarn lint:docs",
"lint:eslint": "npx eslint bin/*.js src/*.ts __tests__/*.ts --cache",
"lint:docs": "npx markdownlint README.md",
"lint:ts": "npx tsc -p tsconfig.build.json",
"lint:fix": "yarn lint:eslint --fix",
"prerelease": "yarn build",
"release": "npx standard-version",
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export * from "./build"
export * from "./git"
export * from "./package"
export * from "./runner"
export * from "./workspace"
export * from "./workspace.providers"

0 comments on commit 9bb6076

Please sign in to comment.