minecraft-utils-shared
Version:
Shared utils for Minecraft Bedrock / Forge development related utilities.
107 lines (106 loc) • 3.69 kB
JSON
{
"name": "minecraft-utils-shared",
"version": "0.7.0",
"description": "Shared utils for Minecraft Bedrock / Forge development related utilities.",
"preferGlobal": true,
"main": "./index.cjs",
"exports": {
"import": "./index.mjs",
"require": "./index.cjs"
},
"keywords": [
"Minecraft",
"Bedrock",
"Forge",
"Development",
"Utilities"
],
"author": {
"name": "Markus Bordihn",
"email": "Markus@Bordihn.de",
"url": "https://github.com/MarkusBordihn"
},
"repository": {
"type": "git",
"url": "https://github.com/MarkusBordihn/minecraft-utils-shared.git"
},
"bugs": {
"url": "https://github.com/MarkusBordihn/minecraft-utils-shared/issues"
},
"license": "Apache-2.0",
"engines": {
"npm": ">=7.0.0"
},
"engine-strict": true,
"type": "module",
"files": [
"assets/init/.gitattributes",
"assets/init/.gitignore",
"assets/items/",
"assets/logos/behavior_pack.png",
"assets/logos/mod_pack.png",
"assets/logos/resource_pack.png",
"assets/models/",
"default",
"dist",
"formats",
"generators",
"helper",
"utils",
"index.cjs",
"index.mjs",
"LICENSE.md",
"README.md"
],
"dependencies": {
"chalk": "^4.1.2",
"compare-versions": "^5.0.3",
"enquirer": "^2.3.6",
"execa": "^5.1.1",
"fs-extra": "^11.1.0",
"glob": "^8.0.3",
"path": "^0.12.7",
"rimraf": "^3.0.2",
"toml": "^3.0.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/plugin-external-helpers": "^7.18.6",
"@babel/plugin-transform-modules-commonjs": "^7.20.11",
"@babel/preset-env": "^7.20.2",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"babel-plugin-transform-import-extension": "^1.0.3",
"babel-plugin-transform-import-meta": "^2.2.0",
"eslint": "^8.31.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-prettier": "^4.2.1",
"mocha": "^10.2.0",
"npm-upgrade": "^3.1.0",
"typescript": "^4.9.4"
},
"scripts": {
"prebuild": "rimraf dist/*",
"build": "npm run build:default && npm run build:formats && npm run build:generators && npm run build:helper && npm run build:utils",
"build:default": "babel --env-name commonjs default/*.mjs --out-dir dist/default --out-file-extension .cjs --copy-files",
"build:formats": "babel --env-name commonjs formats/*.mjs --out-dir dist/formats --out-file-extension .cjs --copy-files",
"build:generators": "babel --env-name commonjs generators/bedrock/*.mjs --out-dir dist/generators/bedrock --out-file-extension .cjs --copy-files",
"build:helper": "babel --env-name commonjs helper/*.mjs --out-dir dist/helper --out-file-extension .cjs --copy-files",
"build:utils": "babel --env-name commonjs utils/*.mjs --out-dir dist/utils --out-file-extension .cjs --copy-files",
"debug": "node utils/debug.mjs",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "npm run test:units && npm run test:mapping",
"test:units": "mocha 'test/**/*_test.js' --recursive",
"test:file_finder": "mocha 'test/utils/file_finder_test.js' --recursive",
"test:default_path": "mocha 'test/utils/default_path_test.js' --recursive",
"pretest:mapping": "npm run build",
"test:mapping": "mocha 'test/mapping/*_test.*' --recursive",
"sync": "git pull && npm install && npm update && npm prune && npm audit fix",
"upgrade": "npm-upgrade & npm install & npm update & npm prune & npm audit fix & npm run test"
}
}