/
package.json
59 lines (59 loc) · 2.74 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
{
"name": "ucla-ps-wp",
"version": "2.0.0",
"description": "UCLA Division of Physical Sciences website theme package",
"scripts": {
"build": "npm-run-all css js svg docs-build",
"css": "npm-run-all css-compile css-minify-*",
"start-with-lint": "npm-run-all css-lint start",
"css-compile": "sass --style expanded --source-map --embed-sources --no-error-css src/scss/:css/",
"css-minify-main": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output css/ --batch --batch-suffix \".min\" \"css/*.css\" \"!css/*.min.css\" \"!css/*rtl*.css\"",
"css-lint": "npm-run-all --aggregate-output --continue-on-error --parallel css-lint-*",
"css-lint-stylelint": "stylelint \"scss/**/*.scss\" --cache --cache-location .cache/.stylelintcache",
"css-lint-vars": "fusv scss/**/",
"js": "npm-run-all js-compile js-minify",
"js-compile": "esbuild js/ucla-lib-scripts.js --bundle --outdir=js --allow-overwrite --target=esnext",
"js-minify": "terser js/ucla-lib-scripts.js -o js/ucla-lib-scripts.min.js -c --source-map \"root='js'\"",
"js-lint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives --ext js/*.js",
"svg": "npm-run-all svg-compile-*",
"svg-compile-navigation": "svgo -f ./icons/navigation/ -o ./public/icons/navigation/",
"svg-compile-communication": "svgo -f ./icons/communication/ -o ./public/icons/communication/",
"svg-compile-content": "svgo -f ./icons/content/ -o ./public/icons/content/",
"svg-compile-date-time": "svgo -f ./icons/date-time/ -o ./public/icons/date-time/",
"svg-compile-social": "svgo -f ./icons/social/ -o ./public/icons/social/",
"svg-compile-weather": "svgo -f ./icons/weather/ -o ./public/icons/weather/",
"svg-compile-alert": "svgo -f ./icons/alert/ -o ./public/icons/alert/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ucla-physicalsciences/ucla-ps-wp.git"
},
"author": "Scott Gruber",
"license": "ISC",
"bugs": {
"url": "https://github.com/ucla-physicalsciences/ucla-ps-wp.git/issues"
},
"homepage": "https://github.com/ucla-physicalsciences/ucla-ps-wp.git#readme",
"devDependencies": {
"clean-css-cli": "^5.6.2",
"del": "^7.0.0",
"esbuild": "^0.18.11",
"eslint": "^8.44.0",
"find-unused-sass-variables": "^5.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.25",
"postcss-cli": "^10.1.0",
"sass": "^1.63.6",
"sass-true": "^7.0.0",
"stylelint": "^15.10.1",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-standard-scss": "^10.0.0",
"svgo": "^3.0.2",
"terser": "^5.19.0"
},
"sass": "src/scss/ucla-ps.scss",
"style": "css/ucla-ps.css",
"files": [
"public/{css,js}/*.{css,js,map}"
]
}