-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
78 lines (78 loc) · 3.98 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "btcpayserver-design",
"description": "BTCPay Server Design System",
"version": "0.1.0",
"license": "MIT",
"author": "Dennis Reimann <[email protected]>",
"homepage": "https://github.com/btcpayserver/btcpayserver-design/",
"bugs": "https://github.com/btcpayserver/btcpayserver-design/issues",
"repository": "btcpayserver/btcpayserver-design",
"packageManager": "[email protected]",
"keywords": [
"BTCPay Server"
],
"scripts": {
"clean": "rimraf dist generated && mkdir -p dist/styles dist/scripts/bootstrap dist/svg/icons generated",
"start": "cross-env NODE_ENV=development npm run clean && run-p 'start:*'",
"start:build": "run-p 'build:* -- --serve --watch'",
"start:icons": "onchange -k 'src/icons/**/*.svg' 'tasks/generate-icon-sprite.js' 'tasks/generate-icon-files.js' -- npm run build:icons",
"start:supporters": "onchange -k 'src/supporters/**/*.svg' 'tasks/generate-supporters-sprite.js' -- npm run build:supporters",
"start:static": "onchange -k 'src/static/**' -- npm run build:static",
"start:styles": "run-p 'start:styles:*'",
"start:styles:main": "onchange -k 'postcss.config.js' 'src/styles/main/**' 'src/components/**/*.css' -- npm run build:styles:main",
"start:styles:variables": "onchange -k 'src/styles/variables/**' 'src/design/**' -- npm run build:styles:variables",
"start:bootstrap": "onchange -k 'src/bootstrap/**' 'tasks/generate-bootstrap.js' -- npm run build:bootstrap",
"build": "npm run clean && cross-env NODE_ENV=production run-p 'build:*'",
"build:static": "cp -r src/static/* dist && cp node_modules/bootstrap/dist/js/bootstrap.bundle.min.js* dist/scripts/bootstrap && :",
"build:patternlib": "uiengine build",
"build:icons": "run-p 'build:icons:*' && :",
"build:icons:files": "node tasks/generate-icon-files.js",
"build:icons:sprite": "node tasks/generate-icon-sprite.js",
"build:supporters": "node ./tasks/generate-supporters-sprite.js",
"build:styles": "run-s 'build:styles:*' && :",
"build:styles:main": "postcss --output dist/styles/btcpayserver-main.css src/styles/main/index.css",
"build:styles:variables": "echo '' | npm run generate-design && postcss --output generated/theme.css src/styles/variables/theme.css && sed -i 's/\t/ /g' generated/design.css && cat generated/*.css | sed -z 's/\\n}\\n:root {//' > dist/styles/btcpayserver-variables.css",
"build:bootstrap": "npm run generate-bootstrap && :",
"optimize": "run-p optimize:*",
"optimize:styles": "run-p optimize:styles:*",
"optimize:styles:main": "csso --output dist/styles/btcpayserver-main.min.css dist/styles/btcpayserver-main.css",
"optimize:styles:variables": "csso --output dist/styles/btcpayserver-variables.min.css dist/styles/btcpayserver-variables.css",
"optimize:styles:bootstrap": "csso --output dist/styles/btcpayserver-bootstrap.min.css dist/styles/btcpayserver-bootstrap.css ",
"prod": "run-s build optimize",
"generate-color-palette": "node ./tasks/generate-color-palette.js",
"generate-bootstrap": "node ./tasks/generate-bootstrap.js",
"generate-design": "node ./tasks/generate-design.js",
"copy-assets": "bash ./tasks/copy-assets-to-targets.sh",
"build-and-copy": "run-s clean build build:static copy-assets",
"prettier": "prettier --write '**/*.{js,json,md}'"
},
"devDependencies": {
"@uiengine/adapter-html": "3.3.19",
"@uiengine/core": "3.3.19",
"autoprefixer": "10.4.20",
"bootstrap": "5.3.3",
"color": "4.2.3",
"cross-env": "7.0.3",
"csso-cli": "4.0.2",
"glob": "11.0.0",
"import-fresh": "3.3.0",
"node-sass": "9.0.0",
"npm-run-all": "4.1.5",
"onchange": "7.1.0",
"postcss": "8.4.49",
"postcss-cli": "11.0.0",
"postcss-import": "16.1.0",
"postcss-mixins": "11.0.3",
"postcss-nesting": "13.0.1",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"svgo": "3.3.2",
"svgstore": "3.0.1"
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "none"
}
}