craft-engine
Fork of the original craft by Code.org.
Building
Profiles
craft-engine
uses a custom build system, with two "profiles": prod
and dev
. The prod
profile builds, minifies and stores the generated files under the build
directory. On the other hand, dev
works directly in memory, does not minify the files, and starts a server at localhost:8000
.
Dev dependencies
The build system requires node >= 10
, npm
, and some additional packages. To install them, do:
npm install
Commands
Finally, to build craft-engine
itself, do:
# For the dev profile
npm run build-dev
# For the prod profile
npm run build-prod
Licensing
This project is licensed under an Apache 2.0 license. See the LICENSE and NOTICE files for more information.
Third-party licenses
Both Phaser.js and CodeMirror are licensed under a MIT license. Please see the third-party-licenses file.