-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
42 lines (42 loc) · 2.07 KB
/
Copy pathpackage.json
File metadata and controls
42 lines (42 loc) · 2.07 KB
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
{
"name": "libraries-branding",
"type": "module",
"version": "1.0.0",
"description": "A lot of the library's third-party products provide some modest custom branding opportunities. This repository simply collects header/footer HTML, styles, widgets, etc.",
"repository": {
"type": "git",
"url": "https://github.com/cca/libraries_branding.git"
},
"scripts": {
"libguides-build": "npm run libguides-css && npm run libguides-js && npm run libguides-analytics",
"libguides-css": "sass --style compressed libguides/main.scss > libguides/main.min.css",
"libguides-js": "babel --minified --compact --no-comments libguides/main.js > libguides/main.min.js",
"libguides-analytics": "babel --minified --compact --no-comments libguides/custom-analytics.js > libguides/custom-analytics.min.js && echo '<script async src=\"https://www.googletagmanager.com/gtag/js?id=UA-18459158-3\"></script><script>' > libguides/custom-analytics.html && cat libguides/custom-analytics.min.js >> libguides/custom-analytics.html && echo '</script>' >> libguides/custom-analytics.html && cat libguides/custom-analytics.html | pbcopy && open https://cca.libapps.com/libguides/settings/analytics",
"sum-css": "sass --style compressed summon/scss/summon.scss | pbcopy && open $(cat summon/url.txt)",
"sum-pre-css": "sass summon/scss/summon.scss | pbcopy && open $(cat summon/preview-url.txt)",
"sum-js": "babel --minified --compact --no-comments summon/summon.js | pbcopy && open $(cat summon/url.txt)",
"sum-pre-js": "babel summon/summon.js | pbcopy && open $(cat summon/preview-url.txt)",
"test": "eslint libguides/*.js summon/*.js --cache"
},
"author": "phette23 <phette23@gmail.com> (http://phette.net)",
"license": "ECL-2.0",
"devDependencies": {
"@babel/cli": "^8.0.4",
"@babel/core": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@eslint/js": "^10.0.1",
"eslint": "^10.8.1",
"globals": "^17.11.0",
"sass": "^1.102.0"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"modules": false
}
]
]
}
}