-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
78 lines (78 loc) · 5.21 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"//@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 <[email protected]> (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.0",
"cpx": "^1.3.1",
"csso": "^3.5.1",
"csso-cli": "^4.0.1",
"del-cli": "^5.0.0",
"documentation": "^14.0.0",
"extract-zip": "^1.7.0",
"foundation-sites": "^6.6.3",
"kss": "^3.0.1",
"mve": "^0.1.2",
"ncp": "^2.0.0",
"node-sass": "^7.0.3",
"node-wget": "^0.4.2",
"uglify-es": "^3.1.6"
},
"bugs": {
"url": "https://github.com/ebiwd/EBI-Framework/issues"
},
"homepage": "https://github.com/ebiwd/EBI-Framework#readme",
"main": "index.js",
"dependencies": {
"babel-preset-env": "^1.7.0"
}
}