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.2 to 0.0.3

10

index.js

@@ -31,3 +31,4 @@ #!/usr/bin/env node

var modulePath = path.join(workDir, "node_modules", packageName);
var targetPath = path.join(workDir, 'htdocs/vendor');
var appTargetPath = path.join(workDir, 'app/fe/themes/default/vendor');
var htdocsTargetPath = path.join(workDir, 'htdocs/Fe/vendor');

@@ -38,5 +39,8 @@ if (!shell.test("-d", modulePath)) {

shell.mkdir("-p", targetPath);
shell.cp("-r", modulePath, targetPath);
shell.mkdir("-p", appTargetPath);
shell.cp("-r", modulePath, appTargetPath);
shell.mkdir("-p", htdocsTargetPath);
shell.cp("-r", modulePath, htdocsTargetPath);
}

@@ -43,0 +47,0 @@ }

{
"name": "aitom-frontenddependencies",
"version": "0.0.2",
"version": "0.0.3",
"description": "Utility for copying frontend dependecies to htdocs folder",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1,14 +0,10 @@

frontend-dependencies
aitom-frondenddependencies
=====================
Utility for copying npm installed dependencies packages into a app/fe/themes/default/vendor and /htdocs/fe/vendor directory.
Utility for copying npm installed packages into a htdocs directory.
For example, you might wish to use this for automatically copying `node_modules/jquery` to `static/vendor`
after running `npm install` in your project.
Installation
------------
`npm install --save aitom-frontendDependencies`
`npm install --save-dev aitom-frontendDependencies`

@@ -21,8 +17,8 @@ Configuration

Then you can run `/node_modules/.bin/aitom-frontendDependencies` by hand, or even better, make it a postinstall script
Then you can run `/node_modules/.bin/aitom-frontenddependencies` by hand, or even better, make it a postinstall script
by adding to your package.json scripts sections something like:
"scripts": {
"postinstall": "./node_modules/.bin/aitom-frontendDependencies"
"postinstall": "./node_modules/.bin/aitom-frontenddependencies"
}
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