UNPKG

rollup-plugin-monkey

Version:
72 lines (71 loc) 2.25 kB
{ "name": "rollup-plugin-monkey", "version": "1.0.9", "description": "rollup plugin for GM_Script", "author": "wdssmq <wdssmq@qq.com>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/wdssmq/rollup-plugin-monkey" }, "bugs": { "url": "https://github.com/wdssmq/rollup-plugin-monkey/issues" }, "homepage": "https://github.com/wdssmq/rollup-plugin-monkey#readme", "main": "dist/index.mjs", "exports": { "import": "./dist/index.mjs", "require": "./dist/index.cjs" }, "type": "module", "keywords": [ "rollup", "rollup-plugin", "GM_Script", "Tampermonkey", "Violentmonkey", "Greasemonkey", "UserScripts", "UserScript" ], "imports": { "#monkey": "./dist/index.mjs", "#pinoPretty": "./dist/_pino-pretty.js", "#dev": "./dist/_dev.js" }, "scripts": { "build": "rollup -c", "dev": "rollup -c -w", "prepare": "npm run build", "prepublish": "npm run build", "test:spa": "npm run build && cd test/spa && rollup -w -c", "test:gm": "npm run build && cd test/gm && cross-env NODE_ENV=dev rollup -w -c", "lint": "eslint --ignore-path .gitignore --ext .js,.mjs .", "ncu:gm": "cd test/gm && ncu -u && git diff-index --quiet HEAD || (git add . && git commit -m 'up. pkg dependencies of test/gm' --no-verify)", "up:minor": "npm version minor -m 'up. pkg version minor' && git tag -n", "up:patch": "npm version patch -m 'up. pkg version patch' && git tag -n", "git:tag": "git tag -a v${npm_package_version} -m \"tag. v${npm_package_version}\" && git tag -n", "git:pub": "npm run up:patch && npm run ncu:gm", "git:push": "git push --follow-tags" }, "dependencies": { "@fastify/cors": "^8.2.0", "@fastify/static": "^6.9.0", "@fastify/websocket": "^7.1.2", "bufferutil": "^4.0.7", "chokidar": "^3.5.3", "fastify": "^4.13.0", "fastify-plugin": "^4.5.0", "femtocolor": "^2.0.3", "livereload-js": "^3.4.1", "pino-pretty": "^9.3.0", "utf-8-validate": "^6.0.2" }, "devDependencies": { "@rollup/plugin-replace": "^5.0.2", "cross-env": "^7.0.3", "eslint": "^8.34.0", "npm-check-updates": "^16.7.5", "rollup": "^2.79.1" } }