package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "name": "rollup-plugin-inject",
  3. "description": "Scan modules for global variables and inject `import` statements where necessary",
  4. "version": "3.0.2",
  5. "devDependencies": {
  6. "eslint": "^6.3.0",
  7. "mocha": "^6.2.0",
  8. "prettier": "^1.18.2",
  9. "rollup": "^1.17.0",
  10. "shx": "^0.3.2"
  11. },
  12. "main": "dist/rollup-plugin-inject.cjs.js",
  13. "module": "dist/rollup-plugin-inject.es6.js",
  14. "jsnext:main": "dist/rollup-plugin-inject.es6.js",
  15. "scripts": {
  16. "pretest": "npm run build",
  17. "test": "mocha",
  18. "prebuild": "shx rm -rf dist",
  19. "build": "rollup -c",
  20. "prepublishOnly": "npm run lint && npm run test",
  21. "prepare": "npm run build",
  22. "lint": "eslint --fix src test/test.js"
  23. },
  24. "files": [
  25. "src",
  26. "dist",
  27. "README.md"
  28. ],
  29. "dependencies": {
  30. "estree-walker": "^0.6.1",
  31. "magic-string": "^0.25.3",
  32. "rollup-pluginutils": "^2.8.1"
  33. },
  34. "repository": {
  35. "type": "git",
  36. "url": "git+https://github.com/rollup/rollup-plugin-inject.git"
  37. },
  38. "keywords": [
  39. "rollup",
  40. "rollup-plugin",
  41. "es2015",
  42. "npm",
  43. "modules"
  44. ],
  45. "author": "Rich Harris <richard.a.harris@gmail.com>",
  46. "license": "MIT",
  47. "bugs": {
  48. "url": "https://github.com/rollup/rollup-plugin-inject/issues"
  49. },
  50. "homepage": "https://github.com/rollup/rollup-plugin-inject#readme"
  51. }