UNPKG

is-it-type

Version:
88 lines (87 loc) 2.84 kB
{ "name": "is-it-type", "version": "5.1.3", "description": "Determine type of a variable", "main": "index.js", "module": "es/index.js", "files": [ "dist/**/*.js", "dist/**/*.map", "es/**/*.js", "**/package.json" ], "exports": { ".": { "import": "./es/index.js", "require": "./index.js" }, "./es": "./es/index.js" }, "sideEffects": false, "author": { "name": "Overlook Motel" }, "repository": { "type": "git", "url": "https://github.com/overlookmotel/is-it-type.git" }, "bugs": { "url": "https://github.com/overlookmotel/is-it-type/issues" }, "dependencies": { "globalthis": "^1.0.2" }, "devDependencies": { "@babel/runtime": "^7.16.7", "@babel/core": "^7.16.12", "@babel/plugin-transform-runtime": "^7.16.10", "@babel/preset-env": "^7.16.11", "@overlookmotel/eslint-config": "^9.0.7", "@overlookmotel/eslint-config-jest": "^5.0.1", "@overlookmotel/eslint-config-node": "^3.0.1", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-node-resolve": "^13.1.3", "cross-env": "^7.0.3", "eslint": "^7.32.0", "jest": "^27.4.7", "jest-extended": "^2.0.0", "npm-run-all": "^4.1.5", "rollup": "^2.66.1", "rollup-plugin-babel": "^4.4.0", "rollup-plugin-copy": "^3.4.0", "rollup-plugin-terser": "^7.0.2" }, "keywords": [ "is", "type" ], "scripts": { "build": "rm -rf ./dist && rollup -c", "prepublishOnly": "npm run build", "test": "npm run lint && npm run test-main", "test-main": "cross-env BABEL_ENV=test jest", "test-prod": "cross-env NODE_ENV=production npm run test-main", "test-all": "npm run test-all-dev && npm run test-all-prod", "test-all-dev": "npm run test-main && npm run test-cjs-dev && npm run test-esm-dev && npm run test-umd-dev", "test-all-prod": "npm run test-prod && npm run test-cjs-prod && npm run test-esm-prod && npm run test-umd-prod", "test-cjs": "npm run test-cjs-dev && npm run test-cjs-prod", "test-cjs-dev": "cross-env TEST_ENV=cjs npm run test-main", "test-cjs-prod": "cross-env TEST_ENV=cjs npm run test-prod", "test-esm": "npm run test-esm-dev && npm run test-esm-prod", "test-esm-dev": "cross-env TEST_ENV=esm npm run test-main", "test-esm-prod": "cross-env TEST_ENV=esm npm run test-prod", "test-umd": "npm run test-umd-dev && npm run test-umd-prod", "test-umd-dev": "cross-env TEST_ENV=umd npm run test-main", "test-umd-prod": "cross-env TEST_ENV=umd npm run test-prod", "lint": "eslint .", "lint-fix": "eslint . --fix", "cover": "npm-run-all -c cover-main cover-cleanup", "cover-main": "jest --coverage", "cover-cleanup": "rm -rf coverage" }, "engines": { "node": ">=12" }, "readmeFilename": "README.md", "license": "MIT" }