-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
31 lines (31 loc) · 1.46 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
{
"name": "pieceForSmartphoneOrchestra",
"version": "2.2.0",
"description": "A sound piece for smartphone orchestra.",
"scripts": {
"standard": "npx standard src/javascript/*.mjs",
"test:client": "mocha test/client/*mjs",
"create-icons-dir": "if [ ! -d public/icons ]; then mkdir public/icons; fi",
"make-pdf-icon": "if [ ! -f tikz/pieceForSmartphoneOrchestraIcon.pdf ]; then xelatex --output-directory=./tikz tikz/pieceForSmartphoneOrchestraIcon; fi",
"pwa-svg-icon": "npm run make-pdf-icon && dvisvgm --pdf tikz/pieceForSmartphoneOrchestraIcon",
"premake-png-icons": "npm run make-pdf-icon && pdftoppm -r 720 -png -singlefile tikz/pieceForSmartphoneOrchestraIcon.pdf tikz/pieceForSmartphoneOrchestraIcon",
"make-png-icons": "if [ ! -f public/icons/smartphoneOrchestra_*.png ]; then for size in 32 48 72 96 144 192 256 384 512; do ffmpeg -i tikz/pieceForSmartphoneOrchestraIcon.png -vf scale=${size}:-1 public/icons/smartphoneOrchestra_${size}x${size}.png; done; fi",
"dev": "astro dev --host",
"start": "astro dev",
"build": "npm run create-icons-dir && npm run make-png-icons && astro build",
"preview": "astro preview --host"
},
"author": "Tassos Tsesmetzis",
"license": "ISC",
"dependencies": {
"@vitejs/plugin-basic-ssl": "^1.1.0",
"astro": "^4.8.7",
"astrojs-service-worker": "^2.0.0"
},
"devDependencies": {
"chai": "^5.1.1",
"mocha": "^10.4.0",
"sinon": "^18.0.0",
"standard": "^17.1.0"
}
}