-
Notifications
You must be signed in to change notification settings - Fork 122
/
package.json
63 lines (63 loc) · 2.65 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
{
"private": true,
"version": "0.1.0",
"name": "einundzwanzig.space",
"description": "Einundzwanzig Podcast Website",
"repository": "[email protected]:Einundzwanzig-Podcast/einundzwanzig.space.git",
"license": "MIT",
"config": {
"dist": "dist",
"port": "3000",
"domain": "einundzwanzig.space"
},
"scripts": {
"clean": "rm -rf dist generated && mkdir -p dist generated",
"fetch": "node tasks/fetch_feed.js",
"episodes": "npm run fetch && mkdir -p episodes && node tasks/fetch_episodes.js",
"copy": "cp -rT static dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/player.js",
"init": "run-s clean copy && run-p fetch build:data",
"start": "cross-env NODE_ENV=development npm run init && cross-env NODE_ENV=development run-p start:*",
"start:data": "onchange -k 'content/**/*' 'tasks/generate_site_data.js' -- npm run build:data",
"start:pages": "onchange -i -k 'pug.config.js' 'markdown.js' 'content/**' 'generated/**' 'src/**/*.pug' 'tasks/generate_pages.js' -- npm run build:pages -- {{file}}",
"start:styles": "onchange -i -k 'src/**/*.css' -- npm run build:styles",
"start:serve": "browser-sync start --config browser-sync.config.js --watch",
"build": "npm run init && run-p build:*",
"build:data": "node tasks/generate_site_data.js",
"build:nostr": "node tasks/generate_nostr.js",
"build:pages": "node tasks/generate_pages.js",
"build:styles": "postcss src/css/main.css --output dist/css/main.css",
"optimize": "run-p optimize:* && run-s rev",
"optimize:styles": "csso dist/css/main.css --output dist/css/main.css",
"rev": "node-file-rev --manifest=generated/rev.json --root=dist dist/css/* dist/js/* dist/img/*.svg dist/img/cover/*.png dist/img/ln/*.svg dist/img/team/*.jpg dist/img/team/*.png",
"sitemap": "node tasks/generate_sitemap.js",
"prod": "cross-env NODE_ENV=production run-s build optimize build:pages sitemap"
},
"dependencies": {
"amplitudejs": "5.3.2"
},
"devDependencies": {
"@nostr-dev-kit/ndk": "2.10.7",
"autoprefixer": "10.4.20",
"browser-sync": "3.0.3",
"cross-env": "7.0.3",
"csso-cli": "4.0.2",
"fast-xml-parser": "4.5.0",
"glob": "11.0.0",
"html-entities": "2.5.2",
"jstransformer-markdown-it": "3.0.0",
"markdown-it": "14.1.0",
"node-file-rev": "1.1.4",
"npm-run-all": "4.1.5",
"onchange": "7.1.0",
"postcss": "8.4.49",
"postcss-calc": "10.0.2",
"postcss-cli": "11.0.0",
"postcss-custom-media": "11.0.5",
"postcss-import": "16.1.0",
"postcss-mixins": "11.0.3",
"postcss-nesting": "13.0.1",
"pug": "3.0.3",
"sync-request": "6.1.0",
"xml-formatter": "3.6.3"
}
}