package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "tapable",
  3. "version": "2.3.2",
  4. "description": "Just a little module for plugins.",
  5. "homepage": "https://github.com/webpack/tapable",
  6. "repository": {
  7. "type": "git",
  8. "url": "http://github.com/webpack/tapable.git"
  9. },
  10. "funding": {
  11. "type": "opencollective",
  12. "url": "https://opencollective.com/webpack"
  13. },
  14. "license": "MIT",
  15. "author": "Tobias Koppers @sokra",
  16. "main": "lib/index.js",
  17. "browser": {
  18. "util": "./lib/util-browser.js"
  19. },
  20. "types": "./tapable.d.ts",
  21. "files": [
  22. "lib",
  23. "!lib/__tests__",
  24. "tapable.d.ts"
  25. ],
  26. "scripts": {
  27. "lint": "npm run lint:code && npm run fmt:check",
  28. "lint:code": "eslint --cache .",
  29. "fmt": "npm run fmt:base -- --log-level warn --write",
  30. "fmt:check": "npm run fmt:base -- --check",
  31. "fmt:base": "node ./node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .",
  32. "fix": "npm run fix:code && npm run fmt",
  33. "fix:code": "npm run lint:code -- --fix",
  34. "test": "jest",
  35. "version": "changeset version",
  36. "release": "changeset publish"
  37. },
  38. "jest": {
  39. "transform": {
  40. "__tests__[\\\\/].+\\.js$": "babel-jest"
  41. },
  42. "snapshotFormat": {
  43. "escapeString": true,
  44. "printBasicPrototype": true
  45. }
  46. },
  47. "devDependencies": {
  48. "@changesets/cli": "^2.30.0",
  49. "@changesets/get-github-info": "^0.8.0",
  50. "@babel/core": "^7.4.4",
  51. "@babel/preset-env": "^7.4.4",
  52. "@stylistic/eslint-plugin": "^5.2.3",
  53. "babel-jest": "^30.3.0",
  54. "eslint": "^9.28.0",
  55. "eslint-config-webpack": "^4.6.3",
  56. "jest": "^30.3.0",
  57. "prettier": "^3.5.3",
  58. "prettier-1": "npm:prettier@^1"
  59. },
  60. "engines": {
  61. "node": ">=6"
  62. }
  63. }