-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 5.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
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
{
"name": "assets",
"description": "CSS and JS assets for s9y websites",
"version": "2.0.0",
"homepage": "https://github.com/s9y/website_assets",
"author": {
"name": "Matthias Mees",
"url": "http://yellowled.de"
},
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "git@github.com:s9y/website_assets.git"
},
"bugs": {
"url": "https://github.com/s9y/website_assets/issues"
},
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"build": "npm-run-all --sequential clean copy:all css:all js:all",
"clean": "del-cli dist/",
"copy:all": "npm-run-all --parallel copy:blog copy:site copy:spartacus",
"copy:blog": "mkdirp dist/ && copyfiles blog/fonts/* blog/scripts/modernizr/* dist/",
"copy:site": "mkdirp dist/ && copyfiles site/fonts/* site/scripts/jquery/dist/* site/scripts/modernizr/* dist/",
"copy:spartacus": "mkdirp dist/ && copyfiles spartacus/fonts/* spartacus/scripts/jquery/dist/* spartacus/scripts/modernizr/* dist/",
"css:all": "npm-run-all --parallel css:blog css:site css:spartacus",
"css:blog": "npm-run-all --sequential css:blog:sass css:blog:minify",
"css:blog:minify": "mkdirp dist/blog/ && postcss --config .postcssrc blog/style.css --output dist/blog/style.css",
"css:blog:sass": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 5 blog/style.scss blog/style.css",
"css:site": "npm-run-all --sequential css:site:sass css:site:minify",
"css:site:minify": "mkdirp dist/site/css/ && postcss --config .postcssrc site/css/master.css --output dist/site/css/master.css",
"css:site:sass": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 5 site/css/master.scss site/css/master.css",
"css:spartacus": "npm-run-all --sequential css:spartacus:sass css:spartacus:minify",
"css:spartacus:minify": "mkdirp dist/spartacus/css/ && postcss --config .postcssrc spartacus/css/master.css --output dist/spartacus/css/master.css",
"css:spartacus:sass": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 5 spartacus/css/master.scss spartacus/css/master.css",
"eslint:all": "npm-run-all --sequential eslint:blog eslint:site eslint:spartacus",
"eslint:blog": "eslint blog/scripts/main.js",
"eslint:site": "eslint site/scripts/main.js",
"eslint:spartacus": "eslint spartacus/scripts/main.js",
"js:all": "npm-run-all --parallel js:blog js:site js:spartacus",
"js:blog": "npm-run-all --sequential js:blog:concat js:blog:minify",
"js:blog:concat": "uglifyjs --comments \"/^!/\" --source-map \"url=master.js.map\" --output blog/scripts/master.js -- node_modules/responsive-nav/responsive-nav.js blog/scripts/main.js",
"js:blog:minify": "mkdirp dist/blog/scripts/ && uglifyjs --compress --mangle --comments \"/^!/\" --source-map \"content=blog/scripts/master.js.map,includeSources,url=master.js.map\" --output dist/blog/scripts/master.js -- blog/scripts/master.js",
"js:site": "npm-run-all --sequential js:site:concat js:site:minify",
"js:site:concat": "uglifyjs --comments \"/^!/\" --source-map \"url=master.js.map\" --output site/scripts/master.js -- node_modules/responsive-nav/responsive-nav.js node_modules/magnific-popup/dist/jquery.magnific-popup.js site/scripts/jquery.jfeed.js site/scripts/main.js",
"js:site:minify": "mkdirp dist/site/scripts/ && uglifyjs --compress --mangle --comments \"/^!/\" --source-map \"content=site/scripts/master.js.map,includeSources,url=master.js.map\" --output dist/site/scripts/master.js -- site/scripts/master.js",
"js:spartacus": "npm-run-all --sequential js:spartacus:concat js:spartacus:minify",
"js:spartacus:concat": "uglifyjs --comments \"/^!/\" --source-map \"url=master.js.map\" --output spartacus/scripts/master.js -- node_modules/responsive-nav/responsive-nav.js spartacus/scripts/main.js",
"js:spartacus:minify": "mkdirp dist/spartacus/scripts/ && uglifyjs --compress --mangle --comments \"/^!/\" --source-map \"content=spartacus/scripts/master.js.map,includeSources,url=master.js.map\" --output dist/spartacus/scripts/master.js -- spartacus/scripts/master.js",
"postinstall": "npm run setup:all",
"setup:all": "npm-run-all --parallel setup:site setup:spartacus",
"setup:site": "copyfiles -u 1 node_modules/jquery/dist/jquery.min.* site/scripts/",
"setup:spartacus": "copyfiles -u 1 node_modules/jquery/dist/jquery.min.* spartacus/scripts/",
"start": "npm run build",
"stylelint:all": "npm-run-all --sequential stylelint:master stylelint:modules",
"stylelint:master": "stylelint --syntax scss blog/style.scss site/css/master.scss spartacus/css/master.scss",
"stylelint:modules": "stylelint --syntax scss \"sass/**/*.scss\"",
"test": "npm-run-all --parallel eslint:all stylelint:all"
},
"dependencies": {
"jquery": "^3.5.1",
"magnific-popup": "^1.1.0",
"responsive-nav": "^1.0.39",
"scss-resets": "^0.5.2"
},
"devDependencies": {
"autoprefixer": "^9.8.6",
"copyfiles": "^2.3.0",
"cssnano": "^4.1.10",
"del-cli": "^3.0.1",
"eslint": "^7.8.1",
"mkdirp": "^1.0.4",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"pixrem": "^5.0.0",
"postcss-cli": "^7.1.2",
"postcss-flexbugs-fixes": "^4.2.1",
"stylelint": "^13.7.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-config-standard": "^20.0.0",
"stylelint-scss": "^3.18.0",
"uglify-js": "^3.10.3"
}
}