package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "reselect",
  3. "version": "4.1.8",
  4. "description": "Selectors for Redux.",
  5. "main": "./lib/index.js",
  6. "jsnext:main": "./es/index.js",
  7. "module": "./es/index.js",
  8. "types": "./es/index.d.ts",
  9. "unpkg": "./dist/reselect.js",
  10. "typesVersions": {
  11. "<4.2": {
  12. "*": [
  13. "./src/legacyTypes/ts4.1/index.d.ts"
  14. ]
  15. }
  16. },
  17. "files": [
  18. "lib",
  19. "src",
  20. "dist",
  21. "es"
  22. ],
  23. "sideEffects": false,
  24. "bugs": {
  25. "url": "https://github.com/reduxjs/reselect/issues"
  26. },
  27. "scripts": {
  28. "build:commonjs": "cross-env BABEL_ENV=commonjs babel src/*.ts --ignore src/types.ts --extensions .ts --out-dir lib ",
  29. "build:es": "babel src/*.ts --ignore src/types.ts --extensions .ts --out-dir es && cp src/versionedTypes/package.dist.json es/versionedTypes/package.json",
  30. "build:umd": "cross-env NODE_ENV=development rollup -c -o dist/reselect.js",
  31. "build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/reselect.min.js",
  32. "build:types": "tsc",
  33. "build": "rimraf dist lib es && yarn build:types && yarn build:commonjs && yarn build:es && yarn build:umd && yarn build:umd:min",
  34. "clean": "rimraf lib dist es coverage",
  35. "api-types": "api-extractor run --local",
  36. "format": "prettier --write \"{src,test}/**/*.{js,ts}\" \"docs/**/*.md\"",
  37. "lint": "eslint src test",
  38. "prepack": "yarn build",
  39. "test": "vitest run",
  40. "test:cov": "vitest run --coverage",
  41. "test:typescript": "tsc --noEmit -p typescript_test/tsconfig.json"
  42. },
  43. "keywords": [
  44. "react",
  45. "redux"
  46. ],
  47. "authors": [
  48. "Lee Bannard",
  49. "Robert Binna",
  50. "Martijn Faassen",
  51. "Philip Spitzlinger"
  52. ],
  53. "repository": {
  54. "type": "git",
  55. "url": "https://github.com/reduxjs/reselect.git"
  56. },
  57. "license": "MIT",
  58. "devDependencies": {
  59. "@babel/cli": "^7.15.7",
  60. "@babel/core": "^7.15.8",
  61. "@babel/preset-env": "^7.15.8",
  62. "@babel/preset-typescript": "^7.15.0",
  63. "@babel/register": "^7.15.3",
  64. "@reduxjs/toolkit": "^1.9.3",
  65. "@rollup/plugin-babel": "^5.3.0",
  66. "@rollup/plugin-commonjs": "^21.0.1",
  67. "@rollup/plugin-node-resolve": "^13.0.6",
  68. "@rollup/plugin-replace": "^3.0.0",
  69. "@types/jest": "^27.0.2",
  70. "@types/lodash": "^4.14.175",
  71. "@typescript-eslint/eslint-plugin": "5.1.0",
  72. "@typescript-eslint/eslint-plugin-tslint": "5.1.0",
  73. "@typescript-eslint/parser": "5.1.0",
  74. "cross-env": "^7.0.3",
  75. "eslint": "^8.0.1",
  76. "eslint-plugin-react": "^7.26.1",
  77. "eslint-plugin-typescript": "0.14.0",
  78. "jest": "^27.3.1",
  79. "lodash.memoize": "^4.1.2",
  80. "memoize-one": "^6.0.0",
  81. "micro-memoize": "^4.0.9",
  82. "mkdirp": "^1.0.4",
  83. "ncp": "^2.0.0",
  84. "nyc": "^15.1.0",
  85. "prettier": "^2.7.1",
  86. "react-redux": "^7.2.6",
  87. "rimraf": "^3.0.2",
  88. "rollup": "^2.58.0",
  89. "rollup-plugin-terser": "^7.0.2",
  90. "tslint": "6.1.3",
  91. "typescript": "^4.9",
  92. "vitest": "^0.29.8"
  93. }
  94. }