strife

v0.0.202
Full readme coming soon.

watch

npm-watch compile

clean

if exist public rmdir public /s /q && mkdir public

copy

cpx "src/{*,}.{html,shtml,php,txt,htaccess}" public && cpx "src/**/{*,}.{png,svg,gif,jpg,jpeg,html,shtml,php,css,js,ttf,woff2,htaccess}" public

compile

lessc --clean-css="--s1 --advanced --rebase" --autoprefix src/css/build.less public/css/style.css

opt

csso public/css/style.css --output public/css/style.css --map log/style.map

build-js

java -jar node_modules/google-closure-compiler/compiler.jar --compilation_level=ADVANCED_OPTIMIZATIONS --use_types_for_optimization=true --new_type_inf=true --jscomp_warning=newCheckTypes --jscomp_off=newCheckTypesExtraChecks --generate_exports=true --export_local_property_definitions=true --language_in=ECMASCRIPT5_STRICT --language_out=ECMASCRIPT5_STRICT --process_closure_primitives=true --summary_detail_level=3 --warning_level=VERBOSE --emit_use_strict=true --output_wrapper='(function(){%output%}).call(this);' --output_manifest=log/manifest.log --output_module_dependencies=log/module_dependencies.log --property_renaming_report=log/renaming_report.log --transform_amd_modules=true --process_common_js_modules=true --js_module_root=node_modules/ --module_resolution=BROWSER --js='src/js/**.js' --js='!**/build.js' --js_output_file=public/js/build.js

replace

rexreplace /src/ / public/**/*.* && rexreplace /src/ / public/**/.htaccess && rexreplace /localhost /sps.jobs public/**/*.*

build

npm run clean && npm run copy && npm run compile && npm run opt && npm run build-js && npm run replace && echo Build Complete. && exit 0

server

node task/server.js

test

echo "Error: no test specified" && exit 1
npm i strife

Metadata

  • Unknown
  • Whatever
  • nextapps
  • released 7/24/2018

Downloads

Maintainers