-
Notifications
You must be signed in to change notification settings - Fork 51
/
package.json
49 lines (49 loc) · 2.19 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
{
"private": true,
"name": "btcpayserver.org",
"version": "1.0.0",
"license": "MIT",
"description": "BTCPay Server Official Website",
"homepage": "https://btcpayserver.org/",
"repository": "btcpayserver/btcpayserver.github.io",
"bugs": "https://github.com/btcpayserver/btcpayserver.github.io/issues",
"scripts": {
"clean": "rimraf dist && mkdir -p dist transifex/download/video transifex/download/website",
"init": "npm-run-all clean -p d:*",
"d:translations": "node -r dotenv/config tasks/download_translations.js && cp transifex/resources/video.json transifex/download/video/en_GB.json && cp transifex/resources/website.json transifex/download/website/en_GB.json",
"d:contributors": "node -r dotenv/config tasks/download_contributors.js",
"start": "npm-run-all clean -p start:*",
"start:static": "onchange -i -k 'src/static/**/*' -- npm run build:static",
"start:scripts": "onchange -i -k 'src/js/**/*' -- npm run build:scripts",
"start:styles": "onchange -i -k 'src/css/**/*' -- npm run build:styles",
"start:html": "onchange -i -k 'src/{html,json}/**/*' 'tasks/{render_html,util}.js' -- npm run build:html",
"start:vtt": "onchange -i -k 'src/vtt/**/*' 'tasks/{render_vtt,util}.js' -- npm run build:vtt",
"start:serve": "browser-sync start --no-open --watch --server dist",
"build": "npm-run-all clean -p build:*",
"build:static": "cp -rT src/static dist",
"build:scripts": "cp -r src/js dist",
"build:styles": "cp -r src/css dist",
"build:html": "node tasks/render_html.js",
"build:vtt": "node tasks/render_vtt.js",
"optimize": "npm-run-all -p optimize:*",
"optimize:styles": "csso dist/css/styles.css --output dist/css/styles.css",
"optimize:page-styles": "csso dist/css/page-styles.css --output dist/css/page-styles.css",
"prod": "NODE_ENV=production npm-run-all build optimize",
"netlify": "npm run init && npm run prod"
},
"keywords": [
"BTCPayServer"
],
"devDependencies": {
"browser-sync": "3.0.2",
"csso-cli": "4.0.2",
"dotenv": "16.4.5",
"npm-run-all": "4.1.5",
"onchange": "7.1.0",
"rimraf": "5.0.5",
"sync-request": "6.1.0"
},
"dependencies": {
"@transifex/api": "7.1.0"
}
}