UNPKG

unplugin-mtl

Version:

Import .mtl files as strings 🧵 in Vite, Rollup, Webpack + more

111 lines (110 loc) • 2.84 kB
{ "name": "unplugin-mtl", "version": "0.3.0", "description": "Import .mtl files as strings 🧵 in Vite, Rollup, Webpack + more", "keywords": [ "unplugin", "vite", "webpack", "rollup", "transform", "three.js", "svelte-cubed", "mtl", "mtl-loader", "mtl-file" ], "homepage": "https://github.com/cryptodeal/unplugin-mtl#readme", "bugs": { "url": "https://github.com/cryptodeal/unplugin-mtl/issues" }, "author": { "name": "James Deal", "email": "james.deal@balleranalytics.ai", "url": "https://github.com/cryptodeal" }, "repository": { "type": "git", "url": "git+https://github.com/cryptodeal/unplugin-mtl.git" }, "license": "MIT", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs" }, "./vite": { "require": "./dist/vite.js", "import": "./dist/vite.mjs" }, "./webpack": { "require": "./dist/webpack.js", "import": "./dist/webpack.mjs" }, "./rollup": { "require": "./dist/rollup.js", "import": "./dist/rollup.mjs" }, "./nuxt": { "require": "./dist/nuxt.js", "import": "./dist/nuxt.mjs" }, "./types": { "require": "./dist/types.js", "import": "./dist/types.mjs" }, "./*": "./*", "./mtl": { "types": "./mtl.d.ts" } }, "main": "dist/index.js", "module": "dist/index.mjs", "types": "index.d.ts", "files": [ "dist", "types", "*.d.ts" ], "scripts": { "build": "tsup", "buildAll": "tsup && pnpm recursive run build", "dev": "tsup --watch src", "build:fix": "esno scripts/postbuild.ts", "recursive:lint": "eslint \"{src,test}/**/*.ts\"", "lint": "pnpm recursive run recursive:lint", "lint:fix": "npm run lint -- --fix", "recursive:format": "prettier --config .prettierrc 'src/**/*.ts' --write", "preview": "pnpm recursive run preview", "format": "pnpm recursive run recursive:format", "play": "npm -C playground run dev", "prepublishOnly": "npm run build", "release": "bumpp --commit --push --tag", "start": "esno src/index.ts" }, "dependencies": { "@rollup/pluginutils": "^4.1.2", "sharp": "^0.30.1", "unplugin": "^0.2.21" }, "devDependencies": { "@types/node": "^16.11.22", "@types/sharp": "^0.29.5", "@typescript-eslint/eslint-plugin": "^5.11.0", "@typescript-eslint/parser": "^5.11.0", "bumpp": "^6.1.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "esno": "^0.9.1", "fast-glob": "^3.2.11", "nodemon": "^2.0.15", "prettier": "^2.5.1", "rimraf": "^3.0.2", "rollup": "^2.67.1", "tsup": "^4.14.0", "typescript": "^4.5.5", "vite": "^2.8.0", "webpack": "^5.68.0" } }