Skip to content

Commit

Permalink
Initial work to migrate JS deps to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
dancryer committed Dec 5, 2018
1 parent b5482ba commit f02e01f
Show file tree
Hide file tree
Showing 14 changed files with 1,401 additions and 467 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ PHPCI/Store/MigrationStore.php
PHPCI/Store/Base/MigrationStoreBase.php
local_vars.php
Tests/PHPCI/config.yml
/node_modules
9 changes: 6 additions & 3 deletions docker/fpm-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ npm install --production
mkdir -p ./public/assets/js/AdminLTE
mkdir -p ./public/assets/plugins

cp -Rf ./node_modules/admin-lte/dist/adminlte.min.js ./public/assets/js/AdminLTE/app.min.js
cp -Rf ./node_modules/admin-lte/dist/pages/dashboard.min.js ./public/assets/js/AdminLTE/dashboard.js
cp -Rf ./node_modules/admin-lte/dist/demo.js ./public/assets/js/AdminLTE/demo.js
cp -f ./node_modules/admin-lte/dist/adminlte.min.js ./public/assets/js/AdminLTE/app.min.js
cp -f ./node_modules/admin-lte/dist/pages/dashboard.min.js ./public/assets/js/AdminLTE/dashboard.js
cp -f ./node_modules/admin-lte/dist/demo.js ./public/assets/js/AdminLTE/demo.js
cp -Rf ./node_modules/admin-lte/dist/css ./public/assets/css
cp -Rf ./node_modules/admin-lte/dist/img ./public/assets/img
cp -Rf ./node_modules/admin-lte/plugins ./public/assets/plugins
cp -f ./node_modules/bootstrap/dist/bootstrap.min.js ./public/assets/js/bootstrap.min.js
cp -f ./node_modules/moment/min/moment.min.js ./public/assets/js/moment.min.js
cp -f ./node_modules/sprintf-js/dist/sprintf.min.js ./public/assets/js/sprintf.min.js

php-fpm
Loading

0 comments on commit f02e01f

Please sign in to comment.