{
  "//@2": [
    "NOTE: This file is to be used with npm to build out your libraries and SCSS.",
    "If you do not intend to use npm, you can ignore this file.",
    "Run by: npm run <script_name>",
    " -- Don't forget that you will need to run 'npm install' the first time",
    " -- Most likely you want: 'npm run scss' which will build the foundation _settings.scss and ebi.global.scss",
    " -- If you want to build foundation from source you'll need to run 'foundation-update' and then the scripts 'scss' and 'js'.",
    "END NOTE"
  ],
  "name": "ebi-framework",
  "version": "1.4.0-rc.1",
  "scripts": {
    "test": "npm run libraries && npm run scss && npm run js && npm run documentation",
    "scss": "npm run foundation-scss-full-fat && npm run foundation-scss-lite && npm run foundation-scss-extras && npm run choices-scss",
    "//@16": [
      "Foundation build variants",
      "We build three variants to allow a 'lite' edition.",
      " -- Full fat: the standard 'give me everything' build ",
      " -- Lite: the very basics for the EBI look and feel",
      " -- Extra: This + the lite version = full fat"
    ],
    "foundation-scss-full-fat": "node-sass ./css/ebi-css-build/foundation/_settings-full-fat.scss ./css/ebi-global.css && csso ./css/ebi-global.css --stat --no-restructure  --output ./css/ebi-global.min.css",
    "foundation-scss-lite": "node-sass ./css/ebi-css-build/foundation/_settings-lite.scss ./css/ebi-lite.css && csso ./css/ebi-lite.css --output ./css/ebi-lite.min.css",
    "foundation-scss-extras": "node-sass ./css/ebi-css-build/foundation/_settings-extras.scss ./css/ebi-extras.css && csso ./css/ebi-extras.css --output ./css/ebi-extras.min.css",
    "choices-scss": "node-sass ./libraries/Choices/assets/styles/scss/choices.scss ./libraries/Choices/assets/styles/css/choices.css && csso ./libraries/Choices/assets/styles/css/choices.css --output ./libraries/Choices/assets/styles/css/choices.min.css",
    "ebi-js": "concat-cli -f js/ebi-global-includes/script/*.js -o js/script.js",
    "ebi-js-min": "babel js/script.js --out-file js/script.js && uglifyjs js/script.js -o js/script.min.js --compress && uglifyjs js/foundationExtendEBI.js -o js/foundationExtendEBI.min.js --compress && uglifyjs js/elixirBanner.js -o js/elixirBanner.min.js --compress",
    "js": "npm run foundation-js && npm run ebi-js && npm run ebi-js-min && npm run documentation",
    "foundation-js": "cpx './node_modules/foundation-sites/dist/js/*' ./libraries/foundation-6/js",
    "//@30": [
      "-- Our buildscript: With this line we concat all libraries to be installed at once --"
    ],
    "libraries": "npm run tablesorter && npm run foundation-update && npm run motion-ui-update && npm run message_finished",
    "//@34": [
      "-- All our libraries, not intended to be run indiviudually --"
    ],
    "tablesorter": "wget https://github.com/Mottie/tablesorter/archive/refs/tags/v2.31.2.zip -d ./libraries/tablesorter.zip && extract-zip ./libraries/tablesorter.zip ./libraries/ && del ./libraries/tablesorter && mve ./libraries/tablesorter-2.31.2 ./libraries/tablesorter && del ./libraries/tablesorter.zip && del ./libraries/tablesorter/package.json",
    "foundation-update": "npm install foundation-sites && echo \"Latest version of foundation downloaded, you'll need to run 'npm run scss' and 'npm run js' to build\"",
    "motion-ui-update": "wget https://github.com/zurb/motion-ui/archive/v1.2.2.zip -d ./libraries/motion-ui.zip && del ./libraries/motion-ui && extract-zip ./libraries/motion-ui.zip ./libraries/motion-ui/ && del ./libraries/motion-ui.zip && echo \"Copying Motion UI files one level up as they've moved...\" && ncp ./libraries/motion-ui/motion-ui-1.2.2/ ./libraries/motion-ui/ && del ./libraries/motion-ui/motion-ui-master/ && echo \"Latest version of Motion UI downloaded, you'll need to run 'npm run scss' to build\"",
    "documentation": " ./node_modules/documentation/bin/documentation.js build ./js/** -f md -o js/documenation.md -g && echo \"Updated JS docs.\" && kss --source ./css --destination ./css/styleguide --css https://dev.ebi.emblstatic.net/web_guidelines/EBI-Framework/v1.4/css/ebi-global.css && echo \"Updated CSS docs.\"",
    "message_finished": "echo \"All done\""
  },
  "description": "Homed here are the various assets that make the EBI Visual Framework (CSS, JS, and a few images and build scripts).",
  "license": "UNLICENSED",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ebiwd/EBI-Framework.git"
  },
  "author": "EBI Web Development <khawkins@ebi.ac.uk> (https://github.com/ebiwd)",
  "devDependencies": {
    "babel-cli": "^6.26.0",
    "babel-plugin-transform-remove-strict-mode": "0.0.2",
    "concat-cli": "^4.0.0",
    "concatenate-files": "^0.1.1",
    "cpx": "^1.3.1",
    "csso": "^3.5.1",
    "csso-cli": "^2.0.2",
    "del-cli": "^0.2.0",
    "documentation": "^5.3.0",
    "extract-zip": "1.6.0",
    "foundation-sites": "^6.6.3",
    "kss": "^3.0.1",
    "mve": "^0.1.2",
    "ncp": "^2.0.0",
    "node-sass": "^4.14.1",
    "node-wget": "^0.4.2",
    "uglify-es": "^3.1.6"
  },
  "dependencies": {},
  "bugs": {
    "url": "https://github.com/ebiwd/EBI-Framework/issues"
  },
  "homepage": "https://github.com/ebiwd/EBI-Framework#readme",
  "main": "index.js"
}
