Update paths

This commit is contained in:
Oliver Davies 2017-11-07 13:06:47 +00:00
parent a4ce3df63c
commit 239b23e2be
2 changed files with 6 additions and 6 deletions

View file

@ -2,16 +2,16 @@
"config": {
"jsPath": "assets/js",
"lessPath": "assets/less",
"outputCss": "./source/assets/css",
"outputFonts": "./source/assets/fonts",
"outputJs": "./source/assets/js"
"outputCss": "source/assets/css",
"outputFonts": "source/assets/fonts",
"outputJs": "source/assets/js"
},
"scripts": {
"autoprefixer": "postcss -u autoprefixer -r $npm_package_config_outputCss/*.css",
"build": "npm run init && npm-run-all -p build:css build:js copy:fonts",
"build:css": "npm run less -- && npm run autoprefixer",
"build:js": "concat -o $npm_package_config_outputJs/site.js ./node_modules/jquery/dist/jquery.js ./node_modules/highlightjs/highlight.pack.js $npm_package_config_jsPath/vendor/*.js $npm_package_config_jsPath/main.js",
"copy:fonts": "cp -R ./node_modules/font-awesome/fonts/* $npm_package_config_outputFonts",
"build:js": "concat -o $npm_package_config_outputJs/site.js node_modules/jquery/dist/jquery.js node_modules/highlightjs/highlight.pack.js $npm_package_config_jsPath/vendor/*.js $npm_package_config_jsPath/main.js",
"copy:fonts": "cp -R node_modules/font-awesome/fonts/* $npm_package_config_outputFonts",
"dev": "npm run build && npm-run-all -p watch:css watch:js",
"init": "mkdir -p $npm_package_config_outputCss $npm_package_config_outputFonts $npm_package_config_outputJs",
"less": "lessc --npm-import='prefix=~' $npm_package_config_lessPath/main.less $npm_package_config_outputCss/site.css",

View file

@ -7,7 +7,7 @@
stopOnFailure="true">
<testsuites>
<testsuite name="Bundles">
<directory suffix="Test.php">./tests</directory>
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
</phpunit>