UNPKG

es-guard

Version:

A tool to check JavaScript compatibility with target environments

103 lines (102 loc) 2.97 kB
{ "name": "es-guard", "version": "1.13.1", "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: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", "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.27.1", "@trivago/prettier-plugin-sort-imports": "^5.2.2", "chalk": "^5.4.1", "commander": "^14.0.0", "eslint": "^9.30.1", "eslint-plugin-compat": "^6.0.2", "source-map": "^0.7.4" }, "devDependencies": { "@eslint/js": "^9.30.1", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@types/babel__code-frame": "^7.0.6", "@types/chalk": "^2.2.4", "@types/eslint": "^9.6.1", "@types/node": "^20.19.4", "@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/parser": "^8.35.1", "@vitest/coverage-v8": "^3.2.4", "prettier": "^3.6.2", "rimraf": "^6.0.1", "semantic-release": "^24.2.6", "typescript": "5.9.2", "vitest": "^3.2.4" }, "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.12.4+sha512.5ea8b0deed94ed68691c9bad4c955492705c5eeb8a87ef86bc62c74a26b037b08ff9570f108b2e4dbd1dd1a9186fea925e527f141c648e85af45631074680184", "browserslist": [ "es2020", "> 1%", "last 2 versions" ] }