Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
update dependencies, add options
Browse files Browse the repository at this point in the history
  • Loading branch information
aelbore committed Apr 24, 2020
1 parent f095dc0 commit 7805e64
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
13 changes: 6 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"aria-build": "./bin/aria-build.js"
},
"scripts": {
"fs": "aria-fs",
"build": "node ./bin/aria-build.js -d",
"bundle": "ts-node --project ./tools/tsconfig.json ./tools/bundle.ts",
"build.packages": "ts-node tools/packages.ts",
Expand Down Expand Up @@ -44,25 +43,25 @@
"devDependencies": {
"@types/mocha": "^7.0.2",
"@types/mock-fs": "^4.10.0",
"@types/node": "^13.11.1",
"coveralls": "^3.0.11",
"@types/node": "^13.13.2",
"coveralls": "^3.0.14",
"mock-fs": "^4.11.0",
"mock-require": "^3.0.3",
"sinon": "^9.0.2",
"typescript": "^3.8.2"
},
"dependencies": {
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-json": "^4.0.2",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-replace": "^2.3.1",
"@rollup/plugin-replace": "^2.3.2",
"@rollup/plugin-url": "^4.0.2",
"rollup": "^2.6.1",
"rollup": "^2.7.2",
"rollup-plugin-minify-html-literals": "^1.2.3",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.27.0",
"sade": "^1.7.3",
"ts-node": "^8.8.2"
"ts-node": "^8.9.0"
}
}
3 changes: 2 additions & 1 deletion src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ export * from './get-entry-file'
export * from './handler'
export * from './options'
export * from './run'
export * from './utils'
export * from './utils'
export * from './options'
1 change: 1 addition & 0 deletions src/cli/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type OutputFormat = 'es' | 'cjs' | 'umd' | 'iife'

export interface BuildOptions {
entry?: string
d?: boolean
declaration?: boolean
format?: string
external?: string
Expand Down
2 changes: 1 addition & 1 deletion src/cli/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const getCliOptions = () => ({
{ alias: '--name', description: 'Specify name exposed in UMD builds' },
{ alias: '--globals', description: 'Specify global dependencies' },
{ alias: '--compress', description: 'Compress or minify the output' },
{ alias: '--sourcemap', description: 'Generate sourcemap' },
{ alias: '--sourcemap', description: 'Generate sourcemap', defaultValue: false },
{ alias: '--resolve', description: 'Resolve dependencies' },
{ alias: '--target', description: 'Target framework or library to build (i.e react or vue)' },
{ alias: '--clean', description: 'Clean the dist folder default (dist)', defaultValue: 'dist' }
Expand Down

0 comments on commit 7805e64

Please sign in to comment.