mirror of
https://github.com/PokeAPI/api-data.git
synced 2024-11-22 15:42:30 +01:00
Update build script
This commit is contained in:
parent
f26a17bf29
commit
2388dfeeef
5
build.sh
5
build.sh
@ -4,8 +4,5 @@ set -e
|
||||
set -o pipefail
|
||||
set -x
|
||||
|
||||
yarn install
|
||||
yarn run netlify-lambda build functions
|
||||
|
||||
poetry install --no-dev
|
||||
poetry run ditto transform --base-url='https://pokeapi-prod.netlify.com/' --dest-dir='_dist'
|
||||
ditto transform --base-url='https://pokeapi-prod.netlify.com/' --dest-dir='_dist'
|
||||
|
@ -1,6 +1,6 @@
|
||||
[build]
|
||||
publish = "_dist"
|
||||
command = "pip install poetry && bash build.sh"
|
||||
command = "bash build.sh"
|
||||
functions = "_functions"
|
||||
|
||||
[[redirects]]
|
||||
|
18
requirements.txt
Normal file
18
requirements.txt
Normal file
@ -0,0 +1,18 @@
|
||||
certifi==2018.8.24
|
||||
chardet==3.0.4
|
||||
click==6.7
|
||||
Flask==1.0.2
|
||||
Flask-Cors==3.0.6
|
||||
genson==1.0.1
|
||||
gevent==1.3.6
|
||||
greenlet==0.4.15
|
||||
idna==2.7
|
||||
itsdangerous==0.24
|
||||
Jinja2==2.10
|
||||
MarkupSafe==1.0
|
||||
pokeapi-ditto==0.3.0
|
||||
requests==2.19.1
|
||||
six==1.11.0
|
||||
tqdm==4.26.0
|
||||
urllib3==1.23
|
||||
Werkzeug==0.14.1
|
1
runtime.txt
Normal file
1
runtime.txt
Normal file
@ -0,0 +1 @@
|
||||
3.6
|
Loading…
Reference in New Issue
Block a user