-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
48 lines (48 loc) · 1.9 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
{
"name": "webstoemp",
"description": "Personal website of Jérôme Coupé",
"version": "2.0.1",
"author": "Jérôme Coupé",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://github.com/jeromecoupe/jeromecoupe.github.io"
},
"browserslist": [
"last 2 versions",
"> 0.5%",
"not dead"
],
"type": "module",
"scripts": {
"server": "npx @11ty/eleventy --serve --quiet",
"clean": "rimraf './dist'",
"styles:prod": "sass --no-source-map --style=\"compressed\" \"./src/assets/scss/main.scss\" \"./dist/assets/css/main.css\"",
"styles:dev": "sass --embed-source-map --source-map-urls=\"absolute\" \"./src/assets/scss/main.scss\" \"./dist/assets/css/main.css\"",
"poststyles:prod": "postcss \"./dist/assets/css/main.css\" --replace --no-map --use autoprefixer cssnano",
"scripts:prod": "esbuild \"./src/assets/js/main.js\" --target=\"es6\" --bundle --minify --outfile=\"./dist/assets/js/main.bundle.js\"",
"scripts:dev": "esbuild \"./src/assets/js/main.js\" --target=es6 --bundle --outfile=\"./dist/assets/js/main.bundle.js\"",
"eleventy": "npx @11ty/eleventy --quiet",
"images": "node \"./build_tasks/generate-images.js\"",
"watch:scripts": "onchange \"./src/assets/js/**/*\" -- npm run scripts:dev",
"watch:styles": "onchange \"./src/assets/scss/**/*\" -- npm run styles:dev",
"build": "npm-run-all clean --parallel images styles:prod scripts:prod eleventy",
"dev": "npm-run-all --parallel server watch:*"
},
"devDependencies": {
"@11ty/eleventy": "3.0.0",
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"esbuild": "^0.24.0",
"glob": "^11.0.0",
"luxon": "^3.5.0",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"rimraf": "^6.0.1",
"sass": "^1.79.4",
"sharp": "^0.33.5"
}
}