视频播放器仓库

package.json 3.1KB

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