{ "private": true, "name": "j1_starter", "version": "2021.0.3", "description": "J1 Template Starter Web", "homepage": "https://your.site", "author": { "name": "Your Name", "email": "name@mail.site", "url": "https://your.site" }, "license": "MIT", "bugs": { "url": "https://your.site" }, "config": { "bumplevel": "patch", "mode": "production", "loglevel": "silent" }, "engines": { "node": ">=10.0", "npm": ">=6.0", "yarn": ">=1.6" }, "keywords": [ "Jekyll", "One", "Server", "Web", "Site" ], "ruby": { "gemfile": "Gemfile", "userize": "true" }, "jekyll": { "configfile": "_config.yml", "metadata": ".jekyll-metadata", "opt_incremental": "--incremental", "opt_skip_initial_build": "--skip-initial-build", "opt_webserver": "puma", "opt_interface": "0.0.0.0", "opt_web_port": "4000", "opt_web_url": "http://localhost:4000/", "opt_app_port": "8000", "opt_app_url": "http://localhost:8000/", "opt_profile": "", "opt_watch": "--watch", "opt_livereload": "--livereload", "opt_livereload_port": "44000" }, "algolia": { "admin_key": "your-algolia-admin-key" }, "scripts": { "app": "run-p -s app:*", "app:rackup": "cross-env SINATRA_ACTIVESUPPORT_WARNING=false WEBSERVER=$npm_package_jekyll_opt_webserver INTERFACE=$npm_package_jekyll_opt_interface PORT=$npm_package_jekyll_opt_app_port j1 rackup", "app:jekyll": "cross-var cross-env JEKYLL_ENV=$npm_package_config_mode BUNDLE_GEMFILE=$npm_package_ruby_gemfile bundle exec jekyll b -c $npm_package_jekyll_configfile $npm_package_jekyll_opt_incremental --watch", "app:open": "npm run delay-3s && cross-var opn $npm_package_jekyll_opt_app_url", "delay-1s": "node ./node_modules/npm-delay 1000", "delay-2s": "node ./node_modules/npm-delay 2000", "delay-3s": "node ./node_modules/npm-delay 3000", "delay-5s": "node ./node_modules/npm-delay 5000", "algolia": "cross-var cross-env ALGOLIA_API_KEY=$npm_package_algolia_admin_key bundle exec jekyll algolia", "algolia-check": "cross-var cross-env ALGOLIA_API_KEY=$npm_package_algolia_admin_key bundle exec jekyll algolia --dry-run --verbose", "build": "run-s -s build:*", "build:info": "echo Build site incremental ..", "build:do": "cross-env SINATRA_ACTIVESUPPORT_WARNING=false bundle exec jekyll b --incremental", "postbuild": "run-s -s postbuild:*", "postbuild:finished": "echo .. build finished.", "postbuild:hint": "echo To open the site, run: yarn site", "bundle": "run-s -s bundler:*", "bundler:info": "echo Create bundle ..", "bundler:clean": "shx rm -f Gemfile.lock", "bundler:check": "cross-var cross-env BUNDLE_VENDORIZE=$npm_package_ruby_vendorize if-env BUNDLE_VENDORIZE=true && run-s -s bundle_vendor:* || run-s -s bundle_system:*", "bundle_system:info": "echo Bundle Rubies using system path ..", "bundle_system:set-path": "bundle config set --local system true", "bundle_system:bundle": "cross-var cross-env BUNDLE_GEMFILE=$npm_package_ruby_gemfile bundle install", "bundle_vendor:info": "echo Bundle Rubies using vendor path ..", "bundle_vendor:set-path": "bundle config set --local path ./vendor", "bundle_vendor:bundle": "bundle install", "rebuild": "run-s -s rebuild:* && run-s -s post-rebuild:*", "rebuild:info": "echo Rebuild site incremental ..", "rebuild:clean": "echo Clean up site files .. && bundle exec jekyll clean", "rebuild:do": "cross-env SINATRA_ACTIVESUPPORT_WARNING=false bundle exec jekyll b --incremental", "post-rebuild": "run-s -s postrebuild:*", "post-rebuild:finished": "echo .. rebuild finished.", "post-rebuild:hint": "echo To open the site, run: yarn site.", "clean": "run-s -s clean-site && run-s clean:*", "clean-site": "echo Clean up site files .. && bundle exec jekyll clean", "clean:start": "echo Clean up projects files ..", "clean:bundle-config-folder": "echo Remove bundle config folder .. && shx rm -rf .bundle", "clean:log-folder": "echo Remove log folder .. && shx rm -rf log", "clean:etc-folder": "echo Remove etc folder .. && shx rm -rf etc", "clean:logfiles": "echo Remove various log files .. && shx rm -f *.log", "clean:locks": "echo Remove lock files .. && shx rm -f *.lock && shx rm -f package-lock.json", "reset": "run-s -s reset:*", "reset:start": "echo Reset project to factory state ..", "reset:base-clean-files": "echo Clean up base modules .. && npm --silent run clean", "reset:utilsrv-clean-files": "echo Clean up utility server .. && npm --prefix ./utilsrv --silent run clean", "reset:utilsrv-clean-modules": "shx rm -rf ./utilsrv/node_modules", "reset:finished": "echo done.", "setup": "npm --silent run setup-start && npm --silent run setup-base && run-s -s setup:*", "setup-start": "echo Setup project for first use ..", "setup-base": "echo Bootstrap base modules .. && echo J1 Project Base modules: > install.log && npm --silent i lnk-cli shx npm-run-all cross-var cross-env -D >> install.log && echo done.", "setup:env": "echo Configure environment .. && run-s -s set-env:*", "set-env:loglevel": "cross-var cross-env npm config set jekyll_one_com:loglevel $npm_package_config_loglevel", "set-env:mode": "cross-var cross-env npm config set jekyll_one_com:mode $npm_package_config_mode && echo done.", "setup:create-folders": "echo Create project folders ..", "setup:create-log-folder": "echo Create log folder .. && shx mkdir ./log", "setup:create-log-archived-folder": "echo Create archived log folder .. && shx mkdir ./log/archived", "setup:create-etc-folder": "echo Create etc folder .. && shx mkdir ./etc && echo done.", "setup:node-modules-base": "echo Bootstrap project modules .. && echo J1 Project modules: >> install.log && npm --silent install >> install.log", "setup:node-modules-utilsrv": "echo Bootstrap utility server modules .. && echo J1 Utility Server modules: >> install.log && cd utilsrv && npm --silent install >> ../install.log && cd .. && echo done.", "setup:detect-os": "echo Detect OS .. && cross-env if-env OS=Windows_NT && cross-var echo \"OS detected: $OS\" || OS=$(echo $(getos)) && echo \"OS detected: $OS\" && echo done.", "setup:site": "run-s -s build", "site": "run-s site:*", "site:jekyll": "echo Startup the site .. && cross-env SINATRA_ACTIVESUPPORT_WARNING=false bundle exec jekyll s --incremental --livereload --livereload-port $npm_package_jekyll_opt_livereload_port --open", "site:utilsrv": "npm --prefix ./utilsrv --silent run utilsrv", "bump": "run-s -s ver && run-s -s bump:* && run-s -s ver", "ver": "cross-var cross-env echo \"Project version: $npm_package_version\"", "bump:project": "cross-var cross-env npm version $npm_package_config_bumplevel", "bump-no-git": "cross-var cross-env npm --no-git-tag-version version $npm_package_config_bumplevel", "get_version": "run-s get_version:*", "get_version:jekyll": "cross-var cross-env JEKYLL_ENV=$npm_package_config_mode BUNDLE_GEMFILE=$npm_package_jekyll_gemfile bundle exec jekyll --version" }, "dependencies": { "getos": "^3.1.0", "getos-cli": "^1.0.0", "if-env": "^1.0.4", "j1-cli": "^2019.0.3", "npm-delay": "^1.0.4", "opn-cli": "^3.1.0" }, "devDependencies": { "cross-env": "^5.2.1", "cross-var": "^1.1.0", "lnk-cli": "^1.0.1", "npm-run-all": "^4.1.5", "shx": "^0.3.3" } }