UNPKG

strife

Version:

Full readme coming soon.

42 lines (41 loc) 2.36 kB
{ "private": false, "name": "strife", "author": "nextapps", "version": "0.0.202", "watch": { "compile": { "patterns": [ "src/css/" ], "extensions": "less,css", "quiet": true, "legacyWatch": true, "delay": 1000 } }, "scripts": { "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" }, "dependencies": { "web-servo": "^0.5.1", "cpx": "^1.5.0", "csso": "^3.5.0", "csso-cli": "^1.1.0", "google-closure-compiler": "^20180204.0.0", "less": "^3.0.1", "less-plugin-autoprefix": "^1.5.1", "less-plugin-clean-css": "^1.5.1", "npm-watch": "^0.3.0", "rexreplace": "^3.1.1" } }