mturk-helper
Package for supporting recruitment and payment of participants in multiplayer experiments
scripts
node --experimental-json-modules public/js/app.js
- this runs the program, note the --experimental... enables node to detect config.json file\
npm run build
- this cleans all js files in the /public folder and compiles from TS, source maps excluded\
npm run test
- this runs tests in src/test
setup
- install editorconfig as an extension in VSCode
- the .editorconfig file sets the formats for coding
- create a config.json under public/js folder and src/ts and fill in the content as follows
{
"accessKeyID": "YOUR_AWS_ACCESS_KEY",
"secretAccessKey": "YOUR_AWS_SECRET_KEY",
"sandbox": [boolean value]
}