Socket
Socket
Sign inDemoInstall

aitom-frontenddependencies

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aitom-frontenddependencies - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

20

index.js

@@ -49,9 +49,15 @@ #!/usr/bin/env node

}
if (shell.test("-d", packagePath + "/dist")) {
shell.cp("-r", packagePath + '/dist/', htdocsTargetPath + "/" + packageName);
shell.cp("-r", packagePath + '/dist/', appTargetPath + "/" + packageName);
} else {
shell.cp("-r", packagePath, htdocsTargetPath);
shell.cp("-r", packagePath, appTargetPath);
if(packageName === 'bootstrap') {
shell.cp("-r", packagePath + '/scss/', appTargetPath + "/" + packageName);
}else{
if (shell.test("-d", packagePath + "/dist")) {
shell.cp("-r", packagePath + '/dist/', htdocsTargetPath + "/" + packageName);
shell.cp("-r", packagePath + '/dist/', appTargetPath + "/" + packageName);
} else {
shell.cp("-r", packagePath, htdocsTargetPath);
shell.cp("-r", packagePath, appTargetPath);
}
}

@@ -58,0 +64,0 @@

{
"name": "aitom-frontenddependencies",
"version": "0.0.5",
"description": "Utility for copying frontend dependecies to htdocs folder",
"version": "0.0.6",
"description": "Utility for copying frontend dependecies to vendor folders",
"main": "index.js",

@@ -6,0 +6,0 @@ "scripts": {

aitom-frondenddependencies
=====================
Utility for copying npm installed dependencies packages into a `app/fe/themes/default/vendor` and `/htdocs/fe/vendor` directory and clean them from unnecessary files.
JS and CSS files in htdocs vendor folder are abive that automaticaly minified.
Utility for copying npm installed dependencies packages into a `/app/fe/themes/default/vendor` and `/htdocs/fe/vendor` directory and clean them from unnecessary files.
JS and CSS files in htdocs vendor folder are above that automaticaly minified.

@@ -6,0 +6,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc