forked from NoorDigitalAgency/ljbs-origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
36 lines (36 loc) · 1.71 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
{
"name": "ljbs",
"version": "5.2.3",
"license": "MIT",
"main": "dist/js/bootstrap.js",
"module": "dist/js/bootstrap.esm.js",
"sass": "scss/bootstrap.scss",
"style": "dist/css/bootstrap.css",
"scripts": {
"start": "npm-run-all --parallel watch:css watch:site",
"css": "npm-run-all lint css:compile css:prefix css:minify",
"css:compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
"css:minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\"",
"css:prefix": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
"css:copy": "shx mkdir -p site/css/ && shx mkdir -p site/js/ && shx rm -rf site/css/* && shx rm -rf site/js/* && shx cp -r dist/* site/",
"watch:css": "nodemon --watch scss/ --ext scss --exec \"npm-run-all lint css:compile css:prefix css:copy\"",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*",
"lint:stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
"lint:vars": "fusv scss/",
"watch:site": "eleventy --serve --port=9001 --input=site/ --formats=html,md,liquid,css,js"
},
"devDependencies": {
"@11ty/eleventy": "^2.0.1",
"autoprefixer": "^10.4.12",
"clean-css-cli": "^5.6.1",
"find-unused-sass-variables": "^4.0.4",
"nodemon": "^2.0.20",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.17",
"postcss-cli": "^10.0.0",
"sass": "^1.55.0",
"shx": "^0.3.4",
"stylelint": "^14.13.0",
"stylelint-config-twbs-bootstrap": "^6.0.0"
}
}