This commit is contained in:
parent
d4a1ce6e8f
commit
5e176a84fa
@ -7,4 +7,5 @@ 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
|
@ -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": {
|
||||||
|
@ -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",
|
||||||
|
Reference in New Issue
Block a user