视频播放器仓库

package.json 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "react-html5video",
  3. "version": "2.5.1",
  4. "description": "A customizeable HTML5 Video",
  5. "main": "dist",
  6. "files": [
  7. "dist"
  8. ],
  9. "scripts": {
  10. "start": "node scripts/start.js",
  11. "preinstall:demo": "npm run build",
  12. "install:demo": "cd demo && npm i",
  13. "i:demo": "npm run install:demo",
  14. "test": "jest --env=jsdom",
  15. "test:watch": "npm run test -- --watch",
  16. "build": "webpack --display-error-details",
  17. "build:demo": "cd demo && webpack",
  18. "deploy:demo": "node scripts/deploy:demo.js",
  19. "clean": "rm -rf node_modules && rm -rf dist && rm -rf demo/node_modules && rm -rf demo/dist",
  20. "lint": "eslint ./",
  21. "lint:fix": "npm run lint -- --fix",
  22. "preversion": "npm run clean && npm i && npm run i:demo && npm run lint && npm run test",
  23. "postversion": "git push && git push --tags"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/mderrick/react-html5video.git"
  28. },
  29. "keywords": [
  30. "react-component",
  31. "html5-video"
  32. ],
  33. "author": {
  34. "name": "Matt Derrick",
  35. "email": "me@mattderrick.co.uk",
  36. "url": "http://mattderrick.co.uk"
  37. },
  38. "license": "MIT",
  39. "jest": {
  40. "moduleFileExtensions": [
  41. "jsx",
  42. "js",
  43. "json"
  44. ],
  45. "moduleNameMapper": {
  46. "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico|vtt)$": "<rootDir>/__mocks__/fileMock.js",
  47. "^.+\\.css$": "identity-obj-proxy"
  48. },
  49. "transform": {
  50. "^.+\\.js$": "babel-jest",
  51. "^.+\\.(svg)$": "<rootDir>/__mocks__/fileTransformer.js"
  52. },
  53. "testPathIgnorePatterns": [
  54. "<rootDir>/(build|docs|node_modules)/"
  55. ],
  56. "testEnvironment": "node",
  57. "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(js|jsx)$"
  58. },
  59. "peerDependencies": {
  60. "react": ">=15.0.0",
  61. "react-dom": ">=15.0.0"
  62. },
  63. "devDependencies": {
  64. "babel": "^6.5.2",
  65. "babel-core": "^6.18.2",
  66. "babel-jest": "^18.0.0",
  67. "babel-loader": "^6.2.7",
  68. "babel-plugin-transform-object-rest-spread": "^6.19.0",
  69. "babel-plugin-transform-runtime": "^6.23.0",
  70. "babel-preset-es2015": "^6.18.0",
  71. "babel-preset-react": "^6.16.0",
  72. "babel-runtime": "^6.23.0",
  73. "case-sensitive-paths-webpack-plugin": "^1.1.4",
  74. "chalk": "^1.1.3",
  75. "copy-webpack-plugin": "^4.0.1",
  76. "css-loader": "^0.25.0",
  77. "detect-port": "^1.0.6",
  78. "enzyme": "^2.6.0",
  79. "eslint": "^3.11.1",
  80. "eslint-plugin-react": "^6.7.1",
  81. "express": "^4.14.0",
  82. "extract-text-webpack-plugin": "^1.0.1",
  83. "file-loader": "^0.9.0",
  84. "gh-pages": "^0.12.0",
  85. "html-webpack-plugin": "^2.24.1",
  86. "identity-obj-proxy": "^3.0.0",
  87. "jest": "^18.0.0",
  88. "json-loader": "^0.5.4",
  89. "open": "0.0.5",
  90. "postcss-loader": "^1.1.1",
  91. "prop-types": "^15.5.10",
  92. "react": "^15.4.0",
  93. "react-dom": "^15.4.0",
  94. "react-hot-loader": "^3.0.0-beta.6",
  95. "react-svg-loader": "^1.1.1",
  96. "react-test-renderer": "^15.5.4",
  97. "style-loader": "^0.13.1",
  98. "url-loader": "^0.5.7",
  99. "webpack": "^1.13.3",
  100. "webpack-dev-middleware": "^1.8.4",
  101. "webpack-hot-middleware": "^2.13.2"
  102. }
  103. }