package.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "pirates",
  3. "description": "Properly hijack require, i.e., properly define require hooks and customizations",
  4. "main": "lib/index.js",
  5. "types": "index.d.ts",
  6. "scripts": {
  7. "clean": "rimraf lib",
  8. "build": "babel src -d lib",
  9. "test": "cross-env BABEL_ENV=test yarn run build && nyc ava",
  10. "lint": "eslint --report-unused-disable-directives .",
  11. "prepublishOnly": "yarn run build"
  12. },
  13. "files": [
  14. "lib",
  15. "index.d.ts"
  16. ],
  17. "repository": {
  18. "type": "git",
  19. "url": "https://github.com/danez/pirates.git"
  20. },
  21. "engines": {
  22. "node": ">= 6"
  23. },
  24. "author": {
  25. "name": "Ari Porad",
  26. "email": "ari@ariporad.com",
  27. "url": "http://ariporad.com"
  28. },
  29. "devDependencies": {
  30. "@babel/cli": "7.21.0",
  31. "@babel/core": "7.21.4",
  32. "@babel/preset-env": "7.21.4",
  33. "ava": "1.4.1",
  34. "babel-core": "7.0.0-bridge.0",
  35. "babel-eslint": "10.1.0",
  36. "babel-plugin-istanbul": "5.2.0",
  37. "cross-env": "5.2.1",
  38. "decache": "4.6.1",
  39. "eslint": "5.16.0",
  40. "eslint-config-prettier": "4.3.0",
  41. "eslint-plugin-import": "2.27.5",
  42. "eslint-plugin-prettier": "3.4.1",
  43. "mock-require": "3.0.3",
  44. "nyc": "13.3.0",
  45. "prettier": "1.19.1",
  46. "rewire": "4.0.1",
  47. "rimraf": "3.0.2"
  48. },
  49. "license": "MIT",
  50. "bugs": {
  51. "url": "https://github.com/danez/pirates/issues"
  52. },
  53. "homepage": "https://github.com/danez/pirates#readme",
  54. "ava": {
  55. "files": [
  56. "test/*.js"
  57. ],
  58. "sources": [
  59. "lib/**/*.js"
  60. ]
  61. },
  62. "nyc": {
  63. "include": [
  64. "src/*.js"
  65. ],
  66. "reporter": [
  67. "json",
  68. "text"
  69. ],
  70. "sourceMap": false,
  71. "instrument": false
  72. },
  73. "version": "4.0.6"
  74. }