mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 20:05:50 +00:00
Move styles building up to the project root
This will make development much easier by having all commands at the project root. This also removes the deprecated `node-sass` Fix build-css-watch
This commit is contained in:
File diff suppressed because one or more lines are too long
6
content/static/css/devportal2024-v1.css
Normal file
6
content/static/css/devportal2024-v1.css
Normal file
File diff suppressed because one or more lines are too long
@@ -5,12 +5,14 @@
|
||||
"type": "module",
|
||||
"description": "The XRP Ledger Dev Portal is the authoritative source for XRP Ledger documentation, including the `rippled` server, client libraries, and other open-source XRP Ledger software.",
|
||||
"scripts": {
|
||||
"build-css": "sass --load-path styles/scss styles/xrpl.scss ./content/static/css/devportal2024-v1.css --style compressed --no-source-map",
|
||||
"build-css-watch": "sass --watch --load-path styles/scss styles/xrpl.scss ./content/static/css/devportal2024-v1.css --style compressed --no-source-map",
|
||||
"start": "portal develop -d content"
|
||||
},
|
||||
"keywords": [],
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@redocly/portal": "^0.66.0",
|
||||
"@redocly/portal": "^0.66.1",
|
||||
"clsx": "^2.0.0",
|
||||
"lottie-react": "^2.4.0",
|
||||
"moment": "^2.29.4",
|
||||
@@ -21,6 +23,8 @@
|
||||
"react": "^17.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"htmltojsx": "^0.3.0"
|
||||
"htmltojsx": "^0.3.0",
|
||||
"sass": "1.26.10",
|
||||
"bootstrap": "^4.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"bootstrap": "^4.6.1",
|
||||
"node-sass": "^7.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build-css": "node-sass --include-path scss xrpl.scss ../assets/css/devportal2022-v25.css --output-style compressed",
|
||||
"build-css-out": "node-sass --include-path scss xrpl.scss ../out/assets/css/devportal2022-v25.css --output-style compressed --source-map true",
|
||||
"build-css-watch-out": "node-sass --recursive --watch --include-path scss xrpl.scss ../out/assets/css/devportal2022-v25.css --output-style compressed --source-map true"
|
||||
},
|
||||
"dependencies": {
|
||||
"sass": "^1.26.10"
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,7 @@ $base-size: 16px;
|
||||
$line-height-base: 1.5;
|
||||
|
||||
// Bootstrap v4
|
||||
@import "node_modules/bootstrap/scss/bootstrap.scss";
|
||||
@import "../node_modules/bootstrap/scss/bootstrap.scss";
|
||||
|
||||
// Import site styles
|
||||
@import "_font.scss";
|
||||
|
||||
1804
styles/yarn.lock
1804
styles/yarn.lock
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user