package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "tapable",
  3. "version": "2.3.3",
  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. "tapable.d.ts"
  24. ],
  25. "scripts": {
  26. "lint": "npm run lint:code && npm run fmt:check",
  27. "lint:code": "eslint --cache .",
  28. "fmt": "npm run fmt:base -- --log-level warn --write",
  29. "fmt:check": "npm run fmt:base -- --check",
  30. "fmt:base": "node ./node_modules/prettier/bin/prettier.cjs --cache --ignore-unknown .",
  31. "fix": "npm run fix:code && npm run fmt",
  32. "fix:code": "npm run lint:code -- --fix",
  33. "test": "jest",
  34. "benchmark": "node --max-old-space-size=4096 --hash-seed=1 --random-seed=1 --no-opt --predictable --predictable-gc-schedule --interpreted-frames-native-stack --allow-natives-syntax --expose-gc --no-concurrent-sweeping ./benchmark/run.mjs",
  35. "version": "changeset version",
  36. "release": "changeset publish"
  37. },
  38. "jest": {
  39. "transform": {
  40. "test[\\\\/].+\\.js$": "babel-jest"
  41. },
  42. "snapshotFormat": {
  43. "escapeString": true,
  44. "printBasicPrototype": true
  45. }
  46. },
  47. "devDependencies": {
  48. "@babel/core": "^7.4.4",
  49. "@babel/preset-env": "^7.4.4",
  50. "@changesets/cli": "^2.31.0",
  51. "@changesets/get-github-info": "^0.8.0",
  52. "@codspeed/core": "^5.3.0",
  53. "@stylistic/eslint-plugin": "^5.2.3",
  54. "babel-jest": "^30.3.0",
  55. "eslint": "^9.28.0",
  56. "eslint-config-webpack": "^4.6.3",
  57. "jest": "^30.3.0",
  58. "prettier": "^3.8.3",
  59. "prettier-1": "npm:prettier@^1",
  60. "tinybench": "^6.0.0"
  61. },
  62. "engines": {
  63. "node": ">=6"
  64. }
  65. }