forked from cory/tildefriends
remove some of the preinstalled dependencies (code_mirror, prettier)
This commit is contained in:
parent
474e39c9c3
commit
3bd827a9f7
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,3 +8,6 @@ out
|
|||||||
*.swo
|
*.swo
|
||||||
*.swp
|
*.swp
|
||||||
.zsign_cache/
|
.zsign_cache/
|
||||||
|
|
||||||
|
deps/codemirror/cm6.js
|
||||||
|
deps/prettier/standalone.mjs
|
1
deps/codemirror/cm6.js
vendored
1
deps/codemirror/cm6.js
vendored
File diff suppressed because one or more lines are too long
34
deps/prettier/standalone.mjs
vendored
34
deps/prettier/standalone.mjs
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "tildefriends",
|
"name": "tildefriends",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prettier": "prettier . --check --cache --write"
|
"prettier": "prettier . --check --cache --write",
|
||||||
|
"postinstall": "sh tools/install_dependencies.sh"
|
||||||
},
|
},
|
||||||
"author": "Cory McWilliams",
|
"author": "Cory McWilliams",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
11
tools/install_dependencies.sh
Normal file
11
tools/install_dependencies.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
cp node_modules/prettier/standalone.mjs deps/prettier
|
||||||
|
|
||||||
|
wget -O deps/lit/lit-all.min.js https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js
|
||||||
|
wget -O deps/lit/lit-all.min.js.map https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js.map
|
||||||
|
|
||||||
|
cd deps/codemirror_src
|
||||||
|
npm i
|
||||||
|
npm run build
|
||||||
|
cd ../..
|
Loading…
Reference in New Issue
Block a user