web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
2.1 KiB

  1. {
  2. "name": "@rollup/plugin-replace",
  3. "version": "2.4.2",
  4. "publishConfig": {
  5. "access": "public"
  6. },
  7. "description": "Replace strings in files while bundling",
  8. "license": "MIT",
  9. "repository": "rollup/plugins",
  10. "author": "Rich Harris <richard.a.harris@gmail.com>",
  11. "homepage": "https://github.com/rollup/plugins/tree/master/packages/replace#readme",
  12. "bugs": "https://github.com/rollup/plugins/issues",
  13. "main": "dist/rollup-plugin-replace.cjs.js",
  14. "module": "dist/rollup-plugin-replace.es.js",
  15. "scripts": {
  16. "build": "rollup -c",
  17. "ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
  18. "ci:lint": "pnpm run build && pnpm run lint",
  19. "ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
  20. "ci:test": "pnpm run test -- --verbose && pnpm run test:ts",
  21. "lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
  22. "lint:docs": "prettier --single-quote --arrow-parens avoid --trailing-comma none --write README.md",
  23. "lint:js": "eslint --fix --cache src test types --ext .js,.ts",
  24. "lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
  25. "prebuild": "del-cli dist",
  26. "prepare": "pnpm run build",
  27. "prepublishOnly": "pnpm run lint && pnpm run test",
  28. "pretest": "pnpm run build",
  29. "test": "ava",
  30. "test:ts": "tsc types/index.d.ts test/types.ts --noEmit"
  31. },
  32. "files": [
  33. "dist",
  34. "src",
  35. "types",
  36. "README.md"
  37. ],
  38. "keywords": [
  39. "rollup",
  40. "plugin",
  41. "replace",
  42. "es2015",
  43. "npm",
  44. "modules"
  45. ],
  46. "peerDependencies": {
  47. "rollup": "^1.20.0 || ^2.0.0"
  48. },
  49. "dependencies": {
  50. "@rollup/pluginutils": "^3.1.0",
  51. "magic-string": "^0.25.7"
  52. },
  53. "devDependencies": {
  54. "@rollup/plugin-buble": "^0.21.3",
  55. "del-cli": "^3.0.1",
  56. "locate-character": "^2.0.5",
  57. "rollup": "^2.23.0",
  58. "source-map": "^0.7.3",
  59. "typescript": "^3.9.7"
  60. },
  61. "types": "types/index.d.ts",
  62. "ava": {
  63. "babel": {
  64. "compileEnhancements": false
  65. },
  66. "files": [
  67. "!**/fixtures/**",
  68. "!**/helpers/**",
  69. "!**/recipes/**",
  70. "!**/types.ts"
  71. ]
  72. }
  73. }