Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
dir-index-html
Commits
5b788811
Unverified
Commit
5b788811
authored
Jul 27, 2020
by
Jessica Schilling
Committed by
GitHub
Jul 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update package.json
Co-authored-by:
Peter Rabbitson
<
ribasushi@protocol.ai
>
parent
45869d35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
package.json
package.json
+1
-1
No files found.
package.json
View file @
5b788811
...
...
@@ -20,7 +20,7 @@
"build"
:
"npm run build:clean && npm run build:remove-style-links && npm run build:minify-wrap-css && npm run build:combine-html-css && npm run build:remove-unused"
,
"build:clean"
:
"rm -rf ./dist/*"
,
"build:remove-style-links"
:
"sed '/<link rel=
\"
stylesheet
\"
/d' ./src/dir-index.html > ./dist/base-html.html"
,
"build:minify-wrap-css"
:
"(echo
\"
<style>
\"
&& cat ./src/icons.css ./src/style.css | tr -d
\"\t\n\r\"
&& echo
\"
</style>
\"
) > ./dist/minified-wrapped-style.html"
,
"build:minify-wrap-css"
:
"(echo
\"
<style>
\"
&& cat ./src/icons.css ./src/style.css | tr -d
\"\t\n\r\"
&& echo
-e
\"\\
n
</style>
\"
) > ./dist/minified-wrapped-style.html"
,
"build:combine-html-css"
:
"sed '/<head>/ r ./dist/minified-wrapped-style.html' ./dist/base-html.html > ./dist/dir-index.html"
,
"build:remove-unused"
:
"rm ./dist/base-html.html && rm ./dist/minified-wrapped-style.html"
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment