-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
executable file
·114 lines (114 loc) · 4.25 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"private": true,
"license": "UNLICENSED",
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"autoprefixer": "*",
"browser-sync": "*",
"chalk": "*",
"concat": "*",
"cssnano": "*",
"cssnano-preset-advanced": "*",
"del": "*",
"eslint": "*",
"fs": "*",
"glob": "^9.0.0",
"imagemin": "*",
"imagemin-gifsicle": "*",
"imagemin-mozjpeg": "*",
"imagemin-pngquant": "*",
"imagemin-svgo": "*",
"imagemin-zopfli": "*",
"mkdirp": "*",
"npm-run-all": "*",
"onchange": "*",
"postcss": "*",
"postcss-import": "*",
"postcss-nested": "*",
"pretty-bytes": "*",
"ruleemall": "https://github.com/bitstarr/ruleemall/",
"stylelint": "^14.0.0",
"svg-sprite": "*",
"terser": "*",
"vinyl": "*"
},
"optionalDeps": {
"parvus": "3.0.0"
},
"resourceDeps": {
"a11y-test": "https://github.com/matuzo/a11y-tests.css",
"a11y.css": "latest",
"bytesize-icons": "latest",
"color-blindness-emulation": "git://github.com/hail2u/color-blindness-emulation",
"geomicons-open": "latest",
"lint-html-with-css": "git://github.com/lendk/Lint-HTML-with-SCSS-CSS",
"superTinySocialIcons": "git://github.com/edent/SuperTinySocialIcons",
"web.svg.min": "git://github.com/larsenwork/web.svg.min"
},
"config": {
"css": "assets/css/",
"cssDist": "dist/css/",
"js": "assets/js/",
"jsSrc": "assets/js/src/",
"jsDist": "dist/js/",
"img": "assets/img/",
"imgDist": "dist/img/",
"icons": "assets/icons/",
"iconsDist": "dist/icons/",
"sprite": "assets/icons/",
"spriteDist": "dist/sprite/",
"favicons": "assets/favicons/",
"faviconsDist": "dist/favicons/",
"fonts": "assets/fonts/",
"fontsDist": "dist/fonts/",
"assets": "assets/",
"dist": "dist/",
"bsProxy": "HOSTNAME.ddev.site"
},
"browserslist": [
"defaults",
"> 1% in alt-EU",
"last 2 versions",
"Firefox ESR",
"not dead",
"not baidu > 0",
"not kaios > 0",
"not ucandroid > 0",
"not qqandroid > 0",
"not op_mini all",
"not operamini > 0",
"not operamobile > 0"
],
"scripts": {
"js": "node .tasks/javascript-dev.mjs",
"jsmin": "node .tasks/javascript-build.mjs",
"css": "node .tasks/postcss-dev.mjs",
"cssmin": "node .tasks/postcss-build.mjs",
"fonts": "node .tasks/fonts.mjs",
"lint:css": "npx stylelint $npm_package_config_css",
"lint:js": "npx eslint $npm_package_config_js",
"lint": "run-p lint:*",
"img": "mkdir -p $npm_package_config_imgDist; cp -r $npm_package_config_img/* $npm_package_config_imgDist",
"imgmin": "node .tasks/images.mjs",
"imagemin": "node .tasks/images.mjs",
"icons": "node .tasks/icons.mjs",
"sprite": "node .tasks/svgsprite.mjs",
"favicons": "sh .tasks/favicons.sh $npm_package_config_favicons $npm_package_config_faviconsDist",
"faviconsmin": "node .tasks/faviconsmin.mjs",
"watch:css": "npx onchange $npm_package_config_css/*.css $npm_package_config_css/**/*.css -- npm run css",
"watch:js": "npx onchange $npm_package_config_js/*.{js,json} $npm_package_config_js/**/*.{js,json} -- npm run js",
"watch:img": "npx onchange $npm_package_config_img/**/*.{jpg,gif,png,svg} -- npm run imgmin",
"watch:icons": "npx onchange $npm_package_config_icons/**/*.svg -- npm run icons",
"watch:sprite": "npx onchange $npm_package_config_icons/**/*.svg -- npm run sprite",
"watch": "run-p watch:*",
"sync:devices": "npx browser-sync start --config .tasks/browsersyncrc.js",
"sync:watch": "run-p watch:*",
"sync": "run-p sync:*",
"todo": "grep -lir --color --exclude-dir=node_modules --exclude-dir=vendor --exclude-dir=var --exclude=package.json 'todo'",
"clean": "rm -rf $npm_package_config_dist/*",
"dev": "run-p css js imgmin icons",
"build": "npm run lint && run-p cssmin jsmin imgmin icons fonts"
}
}