-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
99 lines (99 loc) · 5.16 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
{
"private": true,
"name": "milanaryal.github.io",
"title": "Milan Aryal",
"url": "https://milanaryal.com.np/",
"description": "Build assets for milanaryal.com.np",
"scripts": {
"start": "npm run fresh && npm run build",
"fresh": "rm -rf node_modules package-lock.json Gemfile.lock && npm install",
"build": "npm-run-all clean css js",
"clean": "rimraf -g \"src/assets/{css,js}/**\"",
"css": "npm-run-all css-*",
"css-compile": "sass --load-path node_modules --style compressed --no-charset --no-source-map --no-error-css \"src/_assets/scss/style.scss\" \"src/assets/css/style.min.css\"",
"css-postcss": "NODE_ENV=production postcss --replace \"src/assets/css/style.min.css\"",
"cssdev": "npm-run-all cssdev-*",
"cssdev-clean": "rimraf -g \"src/assets/css/**\"",
"cssdev-compile": "sass --load-path node_modules --style expanded --no-charset --source-map --embed-sources --no-error-css \"src/_assets/scss/style.scss\" \"src/assets/css/style.css\"",
"cssdev-postcss": "NODE_ENV=development postcss --replace \"src/assets/css/style.css\" --map",
"js": "NODE_ENV=production webpack --stats errors-only",
"jsdev": "NODE_ENV=development webpack --no-devtool --stats errors-only",
"copy-fonts": "rimraf -g \"src/assets/fonts/**\" && cpy --flat \"src/_assets/fonts/**\" \"src/assets/fonts/\"",
"site": "npm-run-all site-*",
"site-clean": "bundle exec jekyll clean",
"site-cssdev": "npm run cssdev",
"site-compile": "bundle exec jekyll build --limit_posts 25 --config _config.yml,_config_dev.yml --trace",
"copy:site-css": "rimraf -g \"_site/assets/css/**\" && cpy --flat \"src/assets/css/**\" \"_site/assets/css/\"",
"copy:site-js": "rimraf -g \"_site/assets/js/**\" && cpy --flat \"src/assets/js/**\" \"_site/assets/js/\"",
"watch": "npm-run-all --parallel watch-*",
"watch-server": "npm run cssdev jsdev && npm run site && browser-sync start --server \"./_site\" --port 4000 --no-ui --no-open",
"watch-css": "chokidar \"src/_assets/scss/**/*.scss\" -c \"npm run cssdev && npm run copy:site-css && browser-sync reload --port 4000\"",
"watch-js": "chokidar \"src/_assets/js/**/*.js\" -c \"npm run jsdev && npm run copy:site-js && browser-sync reload --port 4000\"",
"watch-site": "chokidar \"src/**/*.{html,md}\" \"!src/_assets/**\" -c \"npm run site-compile && npm run cssdev && npm run copy:site-css && browser-sync reload --port 4000\"",
"watch-includes": "chokidar \"src/_includes/**/*.{css,svg}\" -c \"npm run site-compile && browser-sync reload --port 4000\"",
"lint": "npm-run-all lint-*",
"lint-css": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache || true",
"lint-js": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives . || true",
"lint-md": "markdownlint-cli2 \"**/*.md\" \"!**/node_modules/**\" \"!src/_pages/style-guide.md\" \"!README.md\" || true",
"lint-mdl": "bundle exec mdl --ignore-front-matter --style .mdl_style.rb src/_posts || true",
"lint-site": "JEKYLL_ENV=production bundle exec jekyll build --profile --trace && linkinator \"./_site\" --recurse --verbosity error",
"brew": "brew install tdewolff/tap/minify",
"minify-icons": "minify --type=svg --match=\\.svg --recursive --output \"./src/_includes/icons\" \"./src/_includes/icons/\" --verbose",
"format": "prettier --write \"**/*.{js,scss,json,yml,md}\"",
"bundlewatch": "bundlewatch --config .bundlewatch.config.json",
"uploadwatch": "bundlewatch --max-size 900kb --compression none ./src/uploads/*.{gif,jpg,png}",
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@fontsource-variable/inter": "^5.1.0",
"@fontsource-variable/lora": "^5.1.0",
"@popperjs/core": "2.11.8",
"bootstrap": "5.3.3",
"headroom.js": "0.12.0",
"jquery": "3.7.1"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@fullhuman/postcss-purgecss": "^6.0.0",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"browser-sync": "^3.0.3",
"bundlewatch": "^0.4.0",
"chokidar-cli": "^3.0.0",
"clean-webpack-plugin": "^4.0.0",
"cpy-cli": "^5.0.0",
"cssnano": "^7.0.6",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-xo": "^0.46.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unicorn": "^56.0.0",
"linkinator": "^6.1.2",
"markdownlint-cli2": "^0.15.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.48",
"postcss-cli": "^11.0.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"sass": "^1.80.6",
"stylelint": "^16.10.0",
"stylelint-config-twbs-bootstrap": "^15.1.0",
"stylelint-prettier": "^5.0.2",
"terser-webpack-plugin": "^5.3.10",
"webpack": "^5.96.1",
"webpack-cli": "^5.1.4"
},
"main": "_site/index.html",
"repository": {
"type": "git",
"url": "git+https://github.com/milanaryal/milanaryal.github.io.git"
},
"bugs": {
"url": "https://github.com/milanaryal/milanaryal.github.io/issues"
},
"homepage": "https://github.com/milanaryal/milanaryal.github.io#readme",
"author": "Milan Aryal",
"license": "MIT"
}