-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
34 lines (34 loc) · 1.81 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
{
"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",
"summon-css": "sass --style compressed summon/scss/summon.scss | pbcopy && open $(cat summon/url.txt)",
"summon-js": "babel --minified --compact --no-comments summon/summon.js | pbcopy && open $(cat summon/url.txt)",
"test": "eslint libguides/*.js --cache"
},
"author": "phette23 <[email protected]> (http://phette.net)",
"license": "ECL-2.0",
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"eslint": "^9.16.0",
"globals": "^15.13.0",
"sass": "^1.82.0"
},
"babel": {
"presets": [
["@babel/preset-env", { "modules": false }]
]
}
}