UNPKG

pixi-basis-ktx2

Version:

Loader for the *.basis & *.ktx2 supercompressed texture file format. This package also ships with the transcoder!

94 lines (93 loc) 2.98 kB
{ "name": "pixi-basis-ktx2", "version": "0.0.22", "description": "Loader for the *.basis & *.ktx2 supercompressed texture file format. This package also ships with the transcoder!", "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "types": "lib/cjs/index.d.ts", "exports": { ".": { "import": { "types": "./lib/esm/index.d.ts", "default": "./lib/esm/index.js" }, "require": { "types": "./lib/cjs/index.d.ts", "default": "./lib/cjs/index.js" } } }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" }, "files": [ "lib/**/*", "assets/**/*" ], "engines": { "node": ">=18", "npm": ">=8", "yarn": ">=1.22" }, "scripts": { "test": "jest", "clean": "yarn clean:lib", "clean:lib": "rimraf lib", "lint": "yarn eslint src/", "build": "yarn && yarn build:esm && yarn build:cjs", "build:esm": "tsc -p ./tsconfig.esm.json", "build:cjs": "tsc -p ./tsconfig.cjs.json", "publish:login": "npm login && yarn npm login", "publish:npm": "yarn lint && yarn test && yarn clean && yarn build && yarn pack && yarn publish:login && npm publish" }, "repository": { "type": "git", "url": "git+ssh://git@github.com:Sparcks/pixi-basis-ktx2.git" }, "keywords": [ "basisu", "ktx2", "pixi", "compressed-textures", "loaders" ], "author": "Basis: Shukant Pal <shukantpal@outlook.com> | KTX2: Kristof Van Der Haeghen <kristof.vdh.gamedev@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/Sparcks/pixi-basis-ktx2/issues" }, "homepage": "https://github.com/Sparcks/pixi-basis-ktx2#readme", "peerDependencies": { "pixi.js": "^7.x.x" }, "devDependencies": { "@types/jest": "^29.5.12", "@types/node": "^20.11.17", "@typescript-eslint/eslint-plugin": "^7.0.1", "@typescript-eslint/parser": "^7.0.1", "cross-env": "^5.2.0", "esbuild": "^0.20.0", "eslint": "^8.56.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-prettier": "^5.1.1", "eslint-plugin-simple-import-sort": "^8.0.0", "glob": "^10.3.10", "jest": "^29.7.0", "jest-environment-jsdom": "29.7.0", "jest-extended": "^4.0.2", "jest-raw-loader": "^1.0.1", "npm-run-all": "^4.1.5", "pixi.js": "^7.x.x", "prettier": "^3.2.5", "rimraf": "^2.6.3", "semver": "^7.3.8", "ts-jest": "^29.0.1", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "tsconfig-paths": "^3.10.1", "typescript": "^5.3.3", "workspaces-run": "^1.0.2", "yargs-parser": "^21.1.1" } }