{ "name": "loupe", "version": "3.1.2", "description": "Inspect utility for Node.js and browsers", "homepage": "https://github.com/chaijs/loupe", "license": "MIT", "author": "Veselin Todorov ", "contributors": [ "Keith Cirkel (https://github.com/keithamus)" ], "type": "module", "main": "./lib/index.js", "module": "./lib/index.js", "browser": { "./index.js": "./loupe.js", "util": false }, "repository": { "type": "git", "url": "https://github.com/chaijs/loupe" }, "files": [ "loupe.js", "lib/*" ], "scripts": { "bench": "node bench", "lint": "eslint --ignore-path .gitignore .", "semantic-release": "semantic-release pre && npm publish && semantic-release post", "test": "npm run test:node && npm run test:browser", "pretest:browser": "npx playwright install && npm run build", "test:browser": "wtr", "pretest:node": "npm run build", "test:node": "mocha", "build": "npm run build:lib && npm run build:esm-bundle && npm run build:cjs-bundle", "build:lib": "tsc", "build:esm-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=esm", "build:cjs-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=cjs", "upload-coverage": "codecov" }, "eslintConfig": { "root": true, "parserOptions": { "ecmaVersion": 2020 }, "env": { "es6": true }, "plugins": [ "filenames", "prettier" ], "extends": [ "strict/es6" ], "rules": { "comma-dangle": "off", "func-style": "off", "no-magic-numbers": "off", "class-methods-use-this": "off", "array-bracket-spacing": "off", "array-element-newline": "off", "space-before-function-paren": "off", "arrow-parens": "off", "template-curly-spacing": "off", "quotes": "off", "generator-star-spacing": "off", "prefer-destructuring": "off", "no-mixed-operators": "off", "id-blacklist": "off", "curly": "off", "semi": [ "error", "never" ], "prettier/prettier": [ "error", { "printWidth": 120, "tabWidth": 2, "useTabs": false, "semi": false, "singleQuote": true, "trailingComma": "es5", "arrowParens": "avoid", "bracketSpacing": true } ] } }, "prettier": { "printWidth": 120, "tabWidth": 2, "useTabs": false, "semi": false, "singleQuote": true, "trailingComma": "es5", "arrowParens": "avoid", "bracketSpacing": true }, "devDependencies": { "@web/dev-server-esbuild": "^0.4.2", "@web/test-runner": "^0.17.2", "@web/test-runner-playwright": "^0.10.1", "benchmark": "^2.1.4", "chai": "^5.0.0-alpha.0", "codecov": "^3.8.1", "core-js": "^3.8.3", "cross-env": "^7.0.3", "esbuild": "^0.19.5", "eslint": "^7.18.0", "eslint-config-strict": "^14.0.1", "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-prettier": "^3.3.1", "husky": "^4.3.8", "mocha": "^10.2.0", "nyc": "^15.1.0", "prettier": "^2.2.1", "semantic-release": "^17.3.6", "simple-assert": "^1.0.0", "typescript": "^5.0.0-beta" } }