UNPKG

use-script-loader

Version:
49 lines (48 loc) 1.13 kB
{ "name": "use-script-loader", "version": "1.1.2", "description": "React.js script loader hook", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "build": "tsc", "prepare": "npm run build", "prepublishOnly": "npm run test", "test": "jest --config jest.config.js" }, "files": [ "lib/**/*" ], "repository": { "type": "git", "url": "git+https://github.com/essaji/useScriptLoader.git" }, "keywords": [ "reactjs", "hook", "load", "script" ], "author": "EESA", "license": "MIT", "bugs": { "url": "https://github.com/essaji/useScriptLoader/issues" }, "homepage": "https://github.com/essaji/useScriptLoader#readme", "peerDependencies": { "react": "^16.13.1", "react-dom": "^16.13.1" }, "devDependencies": { "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.0.4", "@types/jest": "^26.0.13", "@types/react": "^16.9.49", "jest": "^26.4.2", "jest-extended": "^0.11.5", "react": "^16.13.1", "react-dom": "^16.13.1", "ts-jest": "^26.3.0", "typescript": "^4.0.2" } }