UNPKG

window-getters

Version:
61 lines (60 loc) 1.43 kB
{ "name": "window-getters", "description": "Safe Window Getters", "version": "1.0.1", "author": "Pedro Gomes <github.com/pedrouid>", "license": "MIT", "keywords": [ "window", "undefined", "isomorphic", "getters", "throw" ], "files": [ "dist" ], "main": "dist/cjs/index.js", "types": "dist/cjs/index.d.ts", "unpkg": "dist/umd/index.min.js", "homepage": "https://github.com/pedrouid/window-getters", "repository": { "type": "git", "url": "git+https://github.com/pedrouid/window-getters.git" }, "bugs": { "url": "https://github.com/pedrouid/window-getters/issues" }, "scripts": { "start": "tsdx watch", "clean": "rm -rf dist", "build:cjs": "./node_modules/.bin/tsc -p tsconfig.cjs.json", "build:umd": "webpack", "build": "yarn clean && yarn build:cjs && yarn build:umd", "test": "tsdx test ./test", "lint": "tsdx lint src test", "prepare": "yarn lint && yarn build && yarn test" }, "devDependencies": { "@types/bn.js": "4.11.6", "@types/jest": "25.1.1", "@types/node": "13.7.0", "husky": "4.2.1", "tsdx": "0.12.3", "tslib": "1.10.0", "typescript": "3.7.5", "webpack": "4.41.6", "webpack-cli": "3.3.11" }, "husky": { "hooks": { "pre-commit": "yarn lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" } }