-
-
Notifications
You must be signed in to change notification settings - Fork 127
/
package.json
55 lines (55 loc) · 2.13 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
{
"version": "0.1.0",
"name": "bitcoindevlist.com",
"description": "Support bitcoin developers so they can focus on building our future.",
"repository": "[email protected]:dennisreimann/bitcoindevlist.com.git",
"license": "MIT",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"clean": "rm -rf rev-manifest.json site-data.json dist/*",
"init": "npm-run-all -p build:data build:copy",
"start": "npm-run-all clean init -p start:*",
"start:donatees": "onchange -k 'donatees/*' 'tasks/generate_site_data.js' -- npm run build:data",
"start:data": "onchange -k 'site-data.json' 'pug.config.js' 'markdown.js' -- npm run build:pages",
"start:pages": "onchange -i -k '{includes,src}/**/*.pug' 'tasks/generate_pages.js' -- npm run build:pages",
"start:styles": "npm run build:styles -- --watch",
"start:serve": "browser-sync start --config browser-sync.config.js --watch",
"build": "npm-run-all clean init -p build:* -s optimize",
"build:copy": "mkdir -p dist && cp -r static/* dist",
"build:data": "node tasks/generate_site_data.js",
"build:pages": "node tasks/generate_pages.js",
"build:styles": "postcss src/index.css --output dist/index.css",
"optimize": "npm-run-all -p optimize:*",
"optimize:styles": "csso dist/index.css --output dist/index.css",
"sitemap": "node tasks/generate_sitemap.js",
"rev": "node-file-rev --root=dist dist/img/* dist/index.css dist/index.js",
"prod": "npm-run-all build optimize rev build:pages sitemap",
"prettier": "prettier --write '**/*.{js,json,md}'"
},
"devDependencies": {
"autoprefixer": "10.4.20",
"browser-sync": "3.0.2",
"csso-cli": "4.0.2",
"glob": "11.0.0",
"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.45",
"postcss-calc": "10.0.2",
"postcss-cli": "11.0.0",
"postcss-custom-media": "11.0.1",
"postcss-nesting": "13.0.0",
"prettier": "3.3.3",
"pug": "3.0.3"
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none"
}
}