add js to docs and build

This commit is contained in:
Leo Germani 2017-12-04 13:56:21 -02:00
parent 4c8b94aa88
commit 5456584f85
3 changed files with 4912 additions and 1 deletions

View File

@ -5,6 +5,8 @@ source build-config.cfg
#destination=~/devel/wordpress/wp-content/plugins/tainacan #destination=~/devel/wordpress/wp-content/plugins/tainacan
sh compile-sass.sh sh compile-sass.sh
npm run build
composer install composer install
echo "Atualizando arquivos em $destination" echo "Atualizando arquivos em $destination"

View File

@ -23,9 +23,10 @@ You wil also need:
* `composer` to manage dependencies * `composer` to manage dependencies
* `sass` to compile sass into css files * `sass` to compile sass into css files
* `phpunit` to run tests * `phpunit` to run tests
* `node` to work with Vue.js
``` ```
sudo apt-get install phpunit composer ruby sudo apt-get install phpunit composer ruby nodejs npm
sudo gem install sass sudo gem install sass
``` ```
@ -44,6 +45,7 @@ Install dependencies via composer
``` ```
composer install composer install
npm install
``` ```
And that's pretty much all. Now you will want to set up your tests and your build. And that's pretty much all. Now you will want to set up your tests and your build.

4907
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff