mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-27 17:54:39 +03:00
Add prebuild script
This command is automatically run by Next
This commit is contained in:
parent
8d225de80b
commit
70e8e8cb7f
|
@ -5,6 +5,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev",
|
"dev": "next dev",
|
||||||
"build": "next build && next export",
|
"build": "next build && next export",
|
||||||
|
"prebuild": "pip install -r setup/requirements.txt && sh setup/setup.sh",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"lint": "next lint",
|
"lint": "next lint",
|
||||||
"prettier": "prettier . --write"
|
"prettier": "prettier . --write"
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
python jinja_to_js.py ../../spacy/cli/templates/quickstart_training.jinja ../src/widgets/quickstart-training-generator.js ../../spacy/cli/templates/quickstart_training_recommendations.yml
|
python setup/jinja_to_js.py ../spacy/cli/templates/quickstart_training.jinja src/widgets/quickstart-training-generator.js ../spacy/cli/templates/quickstart_training_recommendations.yml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user