| { |
| "name": "@web/rollup-plugin-import-meta-assets", |
| "version": "1.0.7", |
| "publishConfig": { |
| "access": "public" |
| }, |
| "description": "Rollup plugin that detects assets references relative to modules using patterns such as `new URL('./path/to/asset.ext', import.meta.url)`. The assets are added to the rollup pipeline, allowing them to be transformed and hash the filenames.", |
| "license": "MIT", |
| "repository": { |
| "type": "git", |
| "url": "https://github.com/modernweb-dev/web.git", |
| "directory": "packages/rollup-plugin-import-meta-assets" |
| }, |
| "author": "modern-web", |
| "homepage": "https://github.com/modernweb-dev/web/tree/master/packages/rollup-plugin-import-meta-assets", |
| "main": "src/index.js", |
| "exports": { |
| ".": { |
| "import": "./index.mjs", |
| "require": "./src/index.js" |
| } |
| }, |
| "engines": { |
| "node": ">=10.0.0" |
| }, |
| "scripts": { |
| "test": "npm run test:node", |
| "test:node": "mocha test/**/*.test.js test/*.test.js", |
| "test:update-snapshots": "mocha test/**/*.test.js test/*.test.js --update-snapshots", |
| "test:watch": "npm run test:node -- --watch" |
| }, |
| "files": [ |
| "*.js", |
| "*.mjs", |
| "dist", |
| "src" |
| ], |
| "keywords": [ |
| "rollup", |
| "plugin", |
| "import-meta" |
| ], |
| "dependencies": { |
| "@rollup/pluginutils": "^4.1.0", |
| "estree-walker": "^2.0.2", |
| "magic-string": "^0.25.7" |
| }, |
| "types": "dist/index" |
| } |