@ardatan/bob
Advanced tools
Comparing version 0.0.6 to 0.0.7
#!/usr/bin/env node | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
const fs_1 = require("fs"); | ||
const path_1 = require("path"); | ||
const rollup = require("rollup"); | ||
const rollup_plugin_typescript2_1 = require("rollup-plugin-typescript2"); | ||
const generatePackageJson = require("rollup-plugin-generate-package-json"); | ||
const rollup_plugin_es_module_interop_1 = require("rollup-plugin-es-module-interop"); | ||
const rollup_1 = tslib_1.__importDefault(require("rollup")); | ||
const rollup_plugin_typescript2_1 = tslib_1.__importDefault(require("rollup-plugin-typescript2")); | ||
const rollup_plugin_generate_package_json_1 = tslib_1.__importDefault(require("rollup-plugin-generate-package-json")); | ||
const rollup_plugin_es_module_interop_1 = tslib_1.__importDefault(require("rollup-plugin-es-module-interop")); | ||
async function build({ options, pkg }) { | ||
@@ -16,3 +17,3 @@ const inputOptions = { | ||
rollup_plugin_es_module_interop_1.default(), | ||
generatePackageJson({ | ||
rollup_plugin_generate_package_json_1.default({ | ||
baseContents: rewritePackageJson({ | ||
@@ -26,3 +27,3 @@ pkg, | ||
// create a bundle | ||
const bundle = await rollup.rollup(inputOptions); | ||
const bundle = await rollup_1.default.rollup(inputOptions); | ||
// generates | ||
@@ -29,0 +30,0 @@ const commonOutputOptions = { preferConst: true, sourcemap: options.sourcemap }; |
{ | ||
"name": "@ardatan/bob", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3734
102