package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "_from": "@rollup/plugin-replace@^2.3.1",
  3. "_id": "@rollup/plugin-replace@2.4.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-IGcu+cydlUMZ5En85jxHH4qj2hta/11BHq95iHEyb2sbgiN0eCdzvUcHw5gt9pBL5lTi4JDYJ1acCoMGpTvEZg==",
  6. "_location": "/@rollup/plugin-replace",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "@rollup/plugin-replace@^2.3.1",
  12. "name": "@rollup/plugin-replace",
  13. "escapedName": "@rollup%2fplugin-replace",
  14. "scope": "@rollup",
  15. "rawSpec": "^2.3.1",
  16. "saveSpec": null,
  17. "fetchSpec": "^2.3.1"
  18. },
  19. "_requiredBy": [
  20. "/workbox-build"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz",
  23. "_shasum": "a2d539314fbc77c244858faa523012825068510a",
  24. "_spec": "@rollup/plugin-replace@^2.3.1",
  25. "_where": "C:\\Users\\rickh\\Desktop\\js-hw-1\\hw1\\node_modules\\workbox-build",
  26. "author": {
  27. "name": "Rich Harris",
  28. "email": "richard.a.harris@gmail.com"
  29. },
  30. "ava": {
  31. "babel": {
  32. "compileEnhancements": false
  33. },
  34. "files": [
  35. "!**/fixtures/**",
  36. "!**/helpers/**",
  37. "!**/recipes/**",
  38. "!**/types.ts"
  39. ]
  40. },
  41. "bugs": {
  42. "url": "https://github.com/rollup/plugins/issues"
  43. },
  44. "bundleDependencies": false,
  45. "dependencies": {
  46. "@rollup/pluginutils": "^3.1.0",
  47. "magic-string": "^0.25.7"
  48. },
  49. "deprecated": false,
  50. "description": "Replace strings in files while bundling",
  51. "devDependencies": {
  52. "@rollup/plugin-buble": "^0.21.3",
  53. "del-cli": "^3.0.1",
  54. "locate-character": "^2.0.5",
  55. "rollup": "^2.23.0",
  56. "source-map": "^0.7.3",
  57. "typescript": "^3.9.7"
  58. },
  59. "files": [
  60. "dist",
  61. "src",
  62. "types",
  63. "README.md"
  64. ],
  65. "homepage": "https://github.com/rollup/plugins/tree/master/packages/replace#readme",
  66. "keywords": [
  67. "rollup",
  68. "plugin",
  69. "replace",
  70. "es2015",
  71. "npm",
  72. "modules"
  73. ],
  74. "license": "MIT",
  75. "main": "dist/rollup-plugin-replace.cjs.js",
  76. "module": "dist/rollup-plugin-replace.es.js",
  77. "name": "@rollup/plugin-replace",
  78. "peerDependencies": {
  79. "rollup": "^1.20.0 || ^2.0.0"
  80. },
  81. "publishConfig": {
  82. "access": "public"
  83. },
  84. "repository": {
  85. "type": "git",
  86. "url": "git+https://github.com/rollup/plugins.git"
  87. },
  88. "scripts": {
  89. "build": "rollup -c",
  90. "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
  91. "ci:lint": "pnpm run build && pnpm run lint",
  92. "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
  93. "ci:test": "pnpm run test -- --verbose && pnpm run test:ts",
  94. "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
  95. "lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
  96. "lint:js": "eslint --fix --cache src test types --ext .js,.ts",
  97. "lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
  98. "prebuild": "del-cli dist",
  99. "prepare": "pnpm run build",
  100. "prepublishOnly": "pnpm run lint && pnpm run test",
  101. "pretest": "pnpm run build",
  102. "test": "ava",
  103. "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
  104. },
  105. "types": "types/index.d.ts",
  106. "version": "2.4.2"
  107. }