Commit f4223a29 authored by Peiling Jiang's avatar Peiling Jiang

add setup command

parent 591a457f
[build]
environment = { PYTHON_VERSION = "3.8" }
command = "pip install -r lib/legacy/requirements.txt && python lib/legacy/preprocessor.py experiment.csv && cd psychojs && npm i && npm run build:css && npm run build:js"
command = "npm run setup"
publish = "."
{
"name": "threshold",
"version": "0.0.1",
"description": "Threshold Participant.",
"main": "threshold.js",
"directories": {
"lib": "lib"
},
"scripts": {
"setup": "pip install -r lib/legacy/requirements.txt && python lib/legacy/preprocessor.py experiment.csv && cd psychojs && npm i && npm run build:css && npm run build:js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EasyEyes/threshold.git"
},
"keywords": [
"psychology"
],
"author": "EasyEyes",
"license": "MIT",
"bugs": {
"url": "https://github.com/EasyEyes/threshold/issues"
},
"homepage": "https://github.com/EasyEyes/threshold#readme"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment