Comparing version 2.1.15 to 2.1.16
{ | ||
"name": "@vmm/cli", | ||
"version": "2.1.15", | ||
"version": "2.1.16", | ||
"description": "vmm cli interface", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -22,4 +22,5 @@ const fs = require('fs-extra') | ||
fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2)) | ||
const buildName = snakeCase(pkg.name) | ||
execSync(`./node_modules/.bin/vue-cli-service build --name main --formats umd-min --dest ./dist --target lib --report ./src/main.ts`, { | ||
execSync(`./node_modules/.bin/vue-cli-service build --name ${buildName} --formats umd-min --dest ./dist --target lib --report ./src/main.ts`, { | ||
env: { | ||
@@ -37,8 +38,9 @@ "NODE_ENV": "production" | ||
icon: pkg.icon, | ||
main: "main.umd.min.js", | ||
report: "main.umd.min-report.html", | ||
main: `${buildName}.umd.min.js`, | ||
report: `${buildName}.umd.min-report.html`, | ||
globalVar: '__' + snakeCase(pkg.name), | ||
loadFiles: ['main.umd.min.js'], | ||
loadFiles: [`${buildName}.umd.min.js`], | ||
depends: Object.keys(pkg.dependencies), | ||
types: "types/src/main.d.ts" | ||
types: "types/src/main.d.ts", | ||
extra: {} | ||
} | ||
@@ -45,0 +47,0 @@ |
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
32747
731