Today, I published my first package to NPM:
npm i typescript-playcanvas-template
It allows the use of TypeScript with PlayCanvas. It is a total rip-off of @whydoidoit’s babel-playcanvas-template. If you don’t care about TypeScript but would still like to get ES6 and NPM working on all browsers with PlayCanvas as well as develop locally and still integrate with the Editor, you should definitely check out his project.
My project comes with a full set of documented TypeScript declaration files allowing your IDE of choice to work its magic. Here is a screen cap of me coding in Visual Studio Code:
I’ve worked hard to create good quality declaration files but I have no doubt that I might have missed a few things here and there. Your help in finding bugs will be appreciated. So give it a try and tell me what your think.