package.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "reselect",
  3. "version": "3.0.1",
  4. "description": "Selectors for Redux.",
  5. "main": "lib/index.js",
  6. "jsnext:main": "es/index.js",
  7. "typings": "lib/index.d.ts",
  8. "files": [
  9. "lib",
  10. "src",
  11. "dist",
  12. "es"
  13. ],
  14. "bugs": {
  15. "url": "https://github.com/reactjs/reselect/issues"
  16. },
  17. "scripts": {
  18. "compile:commonjs": "better-npm-run compile:commonjs",
  19. "compile:umd": "better-npm-run compile:umd",
  20. "compile:es": "babel -d es/ src/",
  21. "compile": "npm run compile:commonjs && npm run compile:umd && npm run compile:es",
  22. "lint": "eslint src test",
  23. "prepublish": "npm run compile",
  24. "test": "better-npm-run test",
  25. "test:cov": "better-npm-run test:cov",
  26. "test:typescript": "better-npm-run test:typescript"
  27. },
  28. "betterScripts": {
  29. "test": {
  30. "command": "mocha --compilers js:babel-register --ui tdd --recursive",
  31. "env": {
  32. "NODE_ENV": "test"
  33. }
  34. },
  35. "test:cov": {
  36. "command": "nyc --reporter=lcov --reporter=text mocha --compilers js:babel-register --ui tdd",
  37. "env": {
  38. "NODE_ENV": "test",
  39. "COVERAGE": "true"
  40. }
  41. },
  42. "test:typescript": {
  43. "command": "typings-tester --dir typescript_test"
  44. },
  45. "compile:commonjs": {
  46. "command": "babel -d lib/ src/ && ncp ./src/index.d.ts ./lib/index.d.ts",
  47. "env": {
  48. "NODE_ENV": "commonjs"
  49. }
  50. },
  51. "compile:umd": {
  52. "command": "mkdirp dist/ && babel -o dist/reselect.js src/",
  53. "env": {
  54. "NODE_ENV": "umd"
  55. }
  56. }
  57. },
  58. "keywords": [
  59. "react",
  60. "redux"
  61. ],
  62. "authors": [
  63. "Lee Bannard",
  64. "Robert Binna",
  65. "Martijn Faassen",
  66. "Philip Spitzlinger"
  67. ],
  68. "repository": {
  69. "type": "git",
  70. "url": "https://github.com/reactjs/reselect.git"
  71. },
  72. "license": "MIT",
  73. "devDependencies": {
  74. "babel-cli": "^6.7.5",
  75. "babel-plugin-check-es2015-constants": "^6.7.2",
  76. "babel-plugin-transform-es2015-arrow-functions": "^6.5.2",
  77. "babel-plugin-transform-es2015-block-scoping": "^6.7.1",
  78. "babel-plugin-transform-es2015-function-name": "^6.5.0",
  79. "babel-plugin-transform-es2015-modules-commonjs": "^6.7.4",
  80. "babel-plugin-transform-es2015-modules-umd": "^6.6.5",
  81. "babel-plugin-transform-es2015-parameters": "^6.7.0",
  82. "babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
  83. "babel-plugin-transform-es2015-spread": "^6.6.5",
  84. "babel-plugin-transform-es2015-template-literals": "^6.6.5",
  85. "babel-register": "^6.7.2",
  86. "better-npm-run": "0.0.8",
  87. "chai": "^3.0.0",
  88. "codecov.io": "^0.1.6",
  89. "coveralls": "^2.11.4",
  90. "eslint": "^2.11",
  91. "eslint-plugin-react": "^5.1.1",
  92. "lodash.memoize": "^4.1.0",
  93. "mkdirp": "^0.5.1",
  94. "mocha": "^2.2.5",
  95. "ncp": "^2.0.0",
  96. "nyc": "^6.4.0",
  97. "typescript": "^2.1.4",
  98. "typings-tester": "^0.2.0"
  99. }
  100. }