Sean Johnson, Shane Afsar and Tao Ning is buiding this parser
git clone https://github.com/taoning2014/srt-validator
cd srt-validator
npm install
npm run serve
Open browser console, visit http://127.0.0.1:8080/
, the console should log validation errors:
Tests are automatically run on precommit, but you can also run them manually:
npm test
npm run test:watch
- watches files for changes
- Implement a master function to: 1, call each validator 2, catch error in parser 3, aggregate errors and output
- Add tests
- Add precommit hook (eslint, prettier)
- Implement file picker in UI, bind master validator function to onchange event, display error in UI
- Implement text editor in UI, which will parse the input file and display it in the editor. User can use it to change the caption content and valide it.
- Add hot reload