Add Note
All checks were successful
ScriptCraft/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2020-05-04 20:40:06 -04:00
parent d4a1ce6e8f
commit 5e176a84fa
3 changed files with 4 additions and 5 deletions

View File

@ -8,3 +8,4 @@ This is an example of a Minecraft mod made in TypeScript using ScriptCraft.
#### Notes #### Notes
- When updating the Minecraft version, make sure to update it in the ```src/main/ts/package.json``` file as well - When updating the Minecraft version, make sure to update it in the ```src/main/ts/package.json``` file as well
- This will also work with JavaScript if you set ```compilerOptions.allowJs``` and optionally ```compilerOptions.checkJs``` in ```src/main/ts/tsconfig.json``` to ```true``` - This will also work with JavaScript if you set ```compilerOptions.allowJs``` and optionally ```compilerOptions.checkJs``` in ```src/main/ts/tsconfig.json``` to ```true```
- NPM dependencies are not bundled

View File

@ -1,8 +1,6 @@
{ {
"devDependencies": { "devDependencies": {
"typescript": "latest" "typescript": "latest",
},
"dependencies": {
"scriptcraft-api": "https://maven.thebrokenrail.com/com/thebrokenrail/scriptcraft/1.15.2/scriptcraft-1.15.2-api.tar.gz" "scriptcraft-api": "https://maven.thebrokenrail.com/com/thebrokenrail/scriptcraft/1.15.2/scriptcraft-1.15.2-api.tar.gz"
}, },
"scripts": { "scripts": {

View File

@ -1,5 +1,5 @@
{ {
"name": "minecraft", "name": "scriptcraft-api",
"version": "1.0.0-SNAPSHOT", "version": "1.0.0-SNAPSHOT",
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "latest", "@typescript-eslint/eslint-plugin": "latest",