UNPKG

react-jw-player-ts

Version:

A fork of react-jw-player rewritten in typescript

72 lines (71 loc) 2.1 kB
{ "name": "react-jw-player-ts", "version": "0.0.3", "description": "A fork of react-jw-player rewritten in typescript", "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "lint": "eslint .", "test:unit": "jest ./tests/*.test.ts*", "test": "npm run test:unit", "clean": "rimraf dist", "build": "npm run clean && tsc -p tsconfig-build.json && babel src --out-dir dist", "prepublish": "npm run lint && npm run test && npm run clean && npm run build", "watch": "babel src --out-dir dist --watch" }, "repository": { "type": "git", "url": "git+https://github.com/dreamistus/react-jw-player-ts.git" }, "keywords": [ "react", "jwplayer", "jw-player", "video", "autoplay", "events" ], "author": "", "license": "MIT", "bugs": { "url": "https://github.com/dreamistus/react-jw-player-ts/issues" }, "homepage": "https://github.com/dreamistus/react-jw-player-ts#readme", "devDependencies": { "@babel/cli": "^7.18.6", "@babel/core": "^7.18.6", "@babel/preset-env": "^7.18.6", "@babel/preset-react": "^7.18.6", "@babel/preset-typescript": "^7.18.6", "@types/jest": "^27.5.1", "@types/jwplayer": "^8.2.10", "@types/react": "^17.0.45", "babel-cli": "^6.26.0", "babel-eslint": "^10.1.0", "babel-plugin-transform-object-assign": "^6.22.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "enzyme": "^3.11.0", "eslint": "^8.19.0", "eslint-config-airbnb-typescript": "^17.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-react": "^7.30.1", "eslint-plugin-sonarjs": "^0.13.0", "jest": "^28.1.2", "jest-environment-jsdom": "^28.1.2", "jest-tap-reporter": "^1.9.0", "jsdom": "^20.0.0", "jsdom-global": "^3.0.2", "react": "^17.0.2", "react-dom": "^17.0.2", "react-test-renderer": "^17.0.2", "rimraf": "^3.0.2", "typescript": "^4.7.4" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0" }, "dependencies": { "react-fast-compare": "^3.2.0" } }