forked from btcpayserver/btcpayserver-design
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 3.06 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
{
"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",
"keywords": [
"BTCPay Server"
],
"scripts": {
"clean": "rimraf dist generated && mkdir -p dist/styles dist/scripts/bootstrap generated",
"start": "npm run clean && npm-run-all -p 'start:*'",
"start:build": "npm-run-all -p 'build:* -- --serve --watch'",
"start:static": "onchange -k 'src/static/**' -- npm run build:static",
"start:styles": "npm-run-all -p 'start:styles:*'",
"start:styles:main": "onchange -k 'postcss/main/*' 'src/styles/main/**' 'src/components/**/*.css' -- npm run build:styles:main",
"start:styles:variables": "onchange -k 'postcss/variables/*' '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 && NODE_ENV=production npm-run-all -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:styles": "npm-run-all -s 'build:styles:main' 'build:styles:variables' && :",
"build:styles:main": "postcss --config postcss/main --output dist/styles/btcpayserver-main.css src/styles/main/index.css",
"build:styles:variables": "echo '' | postcss --config postcss/variables && postcss --config postcss/main --output generated/theme.css src/styles/variables/theme.css && cat generated/*.css > dist/styles/btcpayserver-variables.css",
"build:bootstrap": "npm run generate-bootstrap && :",
"optimize": "npm-run-all -p optimize:*",
"optimize:styles": "npm-run-all -p optimize:styles:*",
"optimize:styles:main": "csso dist/styles/btcpayserver-main.css --output dist/styles/btcpayserver-main.min.css",
"optimize:styles:variables": "csso dist/styles/btcpayserver-variables.css --output dist/styles/btcpayserver-variables.min.css",
"optimize:styles:bootstrap": "csso dist/styles/btcpayserver-bootstrap.css --output dist/styles/btcpayserver-bootstrap.min.css",
"prod": "npm-run-all build optimize",
"generate-color-palette": "node ./tasks/generate-color-palette.js",
"generate-bootstrap": "node ./tasks/generate-bootstrap.js"
},
"devDependencies": {
"@uiengine/adapter-html": "3.2.0",
"@uiengine/core": "3.2.0",
"autoprefixer": "10.3.1",
"bootstrap": "5.0.2",
"csso-cli": "3.0.0",
"import-fresh": "3.3.0",
"node-sass": "6.0.1",
"npm-run-all": "4.1.5",
"onchange": "7.1.0",
"postcss": "8.3.6",
"postcss-cli": "8.3.1",
"postcss-custom-properties": "11.0.0",
"postcss-extend": "1.0.5",
"postcss-import": "14.0.2",
"postcss-nesting": "8.0.1",
"postcss-prettify": "0.3.4",
"rimraf": "3.0.2"
}
}