WIP: git submodules #45
3
.gitignore
vendored
3
.gitignore
vendored
@ -8,3 +8,6 @@ out
|
||||
*.swo
|
||||
*.swp
|
||||
.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",
|
||||
"scripts": {
|
||||
"prettier": "prettier . --check --cache --write"
|
||||
"prettier": "prettier . --check --cache --write",
|
||||
"postinstall": "sh tools/install_dependencies.sh"
|
||||
},
|
||||
"author": "Cory McWilliams",
|
||||
"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