UNPKG

es-guard

Version:

A tool to check JavaScript compatibility with target environments

107 lines (106 loc) 3.13 kB
{ "name": "es-guard", "version": "1.20.0", "description": "A tool to check JavaScript compatibility with target environments", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.js" }, "./cli": { "import": "./dist/cli.js", "require": "./dist/cli.js" } }, "bin": { "es-guard": "dist/cli.js", "esguard": "dist/cli.js" }, "files": [ "dist" ], "scripts": { "build": "tsc", "dev": "tsc --watch", "start": "node dist/cli.js", "test:dev": "npm run build && vitest", "test": "npm run build && vitest run", "test:watch": "vitest", "test:only": "vitest run", "test:junit": "npm run build && vitest run --reporter=junit --outputFile=test-report.junit.xml", "test:junit:coverage": "npm run build && vitest run --reporter=junit --outputFile=test-report.junit.xml --coverage", "coverage": "vitest run --coverage", "coverage:check": "vitest run --coverage --reporter=verbose", "lint": "eslint src/**/*.ts && tsc --noEmit", "lint:check": "eslint src/**/*.ts --max-warnings 0", "format": "prettier --write src/**/*.ts", "format:check": "prettier --check src/**/*.ts", "clean": "rimraf dist", "prepublishOnly": "npm run clean && npm run build && npm run coverage:check", "semantic-release": "semantic-release" }, "keywords": [ "javascript", "compatibility", "eslint", "browser-support", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020" ], "author": "", "license": "MIT", "dependencies": { "@babel/code-frame": "^7.29.0", "@trivago/prettier-plugin-sort-imports": "^6.0.2", "baseline-browser-mapping": "^2.10.0", "chalk": "^5.6.2", "commander": "^14.0.3", "eslint": "^10.0.2", "eslint-plugin-compat": "^7.0.0", "source-map": "^0.7.6", "strip-json-comments": "^5.0.3" }, "devDependencies": { "@eslint/js": "^10.0.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/babel__code-frame": "^7.27.0", "@types/chalk": "^2.2.4", "@types/eslint": "^9.6.1", "@types/node": "^20.19.35", "@typescript-eslint/eslint-plugin": "^8.56.1", "@typescript-eslint/parser": "^8.56.1", "@vitest/coverage-v8": "^4.0.18", "prettier": "^3.8.1", "rimraf": "^6.1.3", "semantic-release": "^25.0.3", "typescript": "5.9.3", "vitest": "^4.0.18" }, "engines": { "node": ">=14.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/mkayander/es-guard.git" }, "bugs": { "url": "https://github.com/mkayander/es-guard/issues" }, "homepage": "https://github.com/mkayander/es-guard#readme", "packageManager": "pnpm@10.30.3+sha512.c961d1e0a2d8e354ecaa5166b822516668b7f44cb5bd95122d590dd81922f606f5473b6d23ec4a5be05e7fcd18e8488d47d978bbe981872f1145d06e9a740017", "browserslist": [ "es2020", "> 1%", "last 2 versions" ] }