aitom-frontenddependencies

0.1.1 • Public • Published

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 above that automaticaly minified.

Installation

npm install --save-dev aitom-frontendDependencies

Configuration

The packages listed in dependencies should have been already installed with npm install --save <packagename> or similar, that means they should exist.

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"
}

Package Sidebar

Install

npm i aitom-frontenddependencies

Weekly Downloads

21

Version

0.1.1

License

SEE LICENCE IN LICENCE.txt

Unpacked Size

4.34 kB

Total Files

5

Last publish

Collaborators

  • aitom