-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·58 lines (58 loc) · 2.56 KB
/
package.json
File metadata and controls
executable file
·58 lines (58 loc) · 2.56 KB
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
{
"name": "scriptura",
"version": "0.0.1",
"type": "module",
"description": "Un framework HTML/CSS/JS généré avec Pug, PostCSS et JavaScript.",
"main": "index.js",
"repository": "https://github.com/Scriptura/scriptura.github.io",
"author": "Olivier Chavarin",
"license": "MIT",
"devDependencies": {
"browser-sync": "^3.0.4",
"eslint": "^10.2.0",
"image-size": "^2.0.2",
"ora": "^9.3.0",
"postcss": "^8.5.9",
"postcss-advanced-variables": "^5.0.0",
"postcss-calc": "^10.1.1",
"postcss-cli": "^11.0.1",
"postcss-import": "^16.1.1",
"postcss-minify": "^1.2.0",
"postcss-preset-env": "^11.2.0",
"postcss-url": "^10.1.3",
"pug": "^3.0.4",
"sharp": "^0.34.5",
"svg-symbol-sprite": "^1.5.2",
"svgo": "^4.0.1",
"terser": "^5.46.1"
},
"scripts": {
"dev": "pnpm html | pnpm js",
"html": "node tasks/htmlRendering",
"js": "pnpm jsmain | pnpm jsmore | pnpm jssw",
"jsmain": "terser scripts/development/main/*.js -o scripts/main.js --compress --mangle",
"jsmore": "terser scripts/development/more/*.js -o scripts/more.js --compress --mangle",
"jssw": "terser scripts/development/serviceWorker.js -o sw.js --compress --mangle",
"css": "pnpm cssexp | pnpm csscom",
"csscom": "postcss styles/development/{main,print,prism}.css --dir styles --config tasks/postcss.config.cjs --env production --watch --verbose",
"cssexp": "postcss styles/development/{main,print,prism}.css --dir styles/expanded --config tasks/postcss.config.cjs --watch --verbose",
"icons": "pnpm svgo && pnpm sprites && pnpm html",
"svgo": "pnpm svgoutil && pnpm svgoplayer",
"svgoutil": "node tasks/iconUtil && svgo --config tasks/svgoConfig.cjs -f medias/icons/utilSrc -o medias/icons/utilDest",
"svgoplayer": "node tasks/iconPlayer && svgo --config tasks/svgoConfig.cjs -f medias/icons/playerSrc -o medias/icons/playerDest",
"sprites": "pnpm spriteutil | pnpm spriteplayer",
"spriteutil": "svg-symbol-sprite -p '' -a 'xmlns=\"http://www.w3.org/2000/svg\"' -s '' -c false -i medias/icons/utilDest -o sprites/util.svg",
"spriteplayer": "svg-symbol-sprite -p '' -a 'xmlns=\"http://www.w3.org/2000/svg\"' -s '' -c false -i medias/icons/playerDest -o sprites/player.svg",
"img": "node tasks/images",
"imglist": "node tasks/imageList",
"bs": "browser-sync start --proxy 'scriptura.github.io.localhost' --port 9010 --reload-debounce 2000 --files 'assets' 'views' --no-notify"
},
"pnpm": {
"ignoredBuiltDependencies": [
"sharp"
],
"onlyBuiltDependencies": [
"sharp"
]
}
}