Node.js 8
npm install
Copy .env.example to .env. The default language is set to GB English.
Install the browser extension for Chrome or Firefox to use the Redux Devtools.
In the project directory, you can run:
Open http://localhost:3000 to view it in the browser.
npm start
The following will build the app into the build folder.
npm run build
The following will publish a SCORM package into the dist folder as a zip file.
npm run publish-sco
The following will create a local http server which can be used to test the SCORM API between SCO sessions.
npm run publish-test-sco
npm run sco-tester
Access the server on http://192.168.0.5:8080/ScormTester.html
Run tests
npm test
Watch tests
npm run test:watch
The following will create the directory coverage/lcov-report (the index.html therein can be opened in any browser):
npm run test:coverage