Update paths
This commit is contained in:
parent
a4ce3df63c
commit
239b23e2be
10
package.json
10
package.json
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue