committed by
Julius Härtl
parent
8e3db9147b
commit
1346d085fe
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,5 +2,6 @@ js/node_modules/*
|
|||||||
js/vendor/
|
js/vendor/
|
||||||
build/
|
build/
|
||||||
js/public/
|
js/public/
|
||||||
|
css/style.css
|
||||||
tests/integration/vendor/
|
tests/integration/vendor/
|
||||||
tests/integration/composer.lock
|
tests/integration/composer.lock
|
||||||
|
|||||||
5
Makefile
5
Makefile
@@ -25,11 +25,14 @@ install-deps:
|
|||||||
cd js && npm install --deps
|
cd js && npm install --deps
|
||||||
cd js && ./node_modules/.bin/bower install
|
cd js && ./node_modules/.bin/bower install
|
||||||
|
|
||||||
build: build-js
|
build: build-js build-css
|
||||||
|
|
||||||
build-js: install-deps
|
build-js: install-deps
|
||||||
cd js && ./node_modules/.bin/grunt build
|
cd js && ./node_modules/.bin/grunt build
|
||||||
|
|
||||||
|
build-css: install-deps
|
||||||
|
./js/node_modules/node-sass/bin/node-sass --output-style compressed css/style.scss css/style.css
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
cd js && ./node_modules/.bin/grunt watch
|
cd js && ./node_modules/.bin/grunt watch
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,8 @@
|
|||||||
"grunt-phpunit": "^0.3.6",
|
"grunt-phpunit": "^0.3.6",
|
||||||
"grunt-wrap": "^0.3.0",
|
"grunt-wrap": "^0.3.0",
|
||||||
"jshint-stylish": "^2.2.1",
|
"jshint-stylish": "^2.2.1",
|
||||||
"karma": "^1.4.1"
|
"karma": "^1.4.1",
|
||||||
|
"node-sass": "^4.5.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Warning: no test specified\" && exit 0"
|
"test": "echo \"Warning: no test specified\" && exit 0"
|
||||||
|
|||||||
Reference in New Issue
Block a user