Skip to content

Latest commit

 

History

History

library-development

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

fc64js - library development

If you want to make changes to the library (note: none of this is necessary if your aim is to simply write fc64js games and demos) you will need npm installed locally. It is recommended that you also install git and vscode

git clone https://github.com/TheInvader360/fc64js.git
cd fc64js
npm ci

Rollup watches for code changes and recompiles the library bundle automatically as required. You can start it running with this command - npm run rollup-watch

Browsersync watches for file changes and reloads your browser automatically as required, and facilitates testing on devices other than localhost (e.g. a phone or tablet). You can start it running with this command - npm run browser-sync-start

Having made your changes you can run eslint, prettier, and jest tests with these commands - npm run lint, npm run prettier-check, npm run prettier-write, and npm run test