es-check
Version:
Checks the ECMAScript version of .js glob against a specified version of ECMAScript with a shell command
156 lines (155 loc) • 4.59 kB
JSON
{
"name": "es-check",
"version": "9.4.4",
"description": "Checks the ECMAScript version of .js glob against a specified version of ECMAScript with a shell command",
"main": "index.js",
"license": "MIT",
"exports": {
".": {
"import": "./esm-wrapper.mjs",
"require": "./index.js"
}
},
"files": [
"index.js",
"utils.js",
"detectFeatures.js",
"constants.js",
"browserslist.js",
"polyfillDetector.js",
"esm-wrapper.mjs",
"cache.js"
],
"bin": {
"es-check": "index.js"
},
"scripts": {
"commit": "git-cz",
"commit-msg": "commitlint --edit $1",
"dev": "pnpm site:dev",
"lint": "eslint index.js --fix",
"lint:ci": "eslint index.js utils.js detectFeatures.js constants.js browserslist.js polyfillDetector.js",
"pre-commit": "pnpm lint && pnpm test",
"prepare": "husky",
"prepublishOnly": "pnpm test",
"release": "release-it --no-git.requireUpstream",
"changelog": "node scripts/update-changelog.mjs",
"report:coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"setup": "pnpm install --reporter=silent",
"test": "nyc mocha test.js utils.test.js browserslist.test.js polyfillDetector.test.js detectFeatures.test.js --timeout 10s && npm run test:e2e",
"test:e2e": "npm run test:e2e:cli && npm run test:e2e:esm && npm run test:e2e:package-files",
"test:e2e:cli": "node e2e/test-cli.js",
"test:e2e:esm": "node e2e/test-esm-import.mjs",
"test:e2e:package-files": "node e2e/test-package-files.mjs",
"update": "codependence --update",
"benchmark": "./benchmarks/run-benchmarks.sh",
"site:dev": "pnpm --filter es-check-docs run dev",
"site:build": "pnpm --filter es-check-docs run build",
"site:preview": "pnpm --filter es-check-docs run preview",
"site:install": "pnpm --filter es-check-docs install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/yowainwright/es-check.git"
},
"author": "Jeff Wainwright <yowainwright@gmail.com> (https://jeffry.in), Brian Gonzalez <me@briangonzalez.org>",
"bugs": {
"url": "https://github.com/yowainwright/es-check/issues"
},
"homepage": "https://github.com/yowainwright/es-check#readme",
"devDependencies": {
"@babel/parser": "^7.27.1",
"@commitlint/cli": "20.0.0",
"@commitlint/config-conventional": "20.0.0",
"@commitlint/format": "^19.3.0",
"@commitlint/prompt": "20.0.0",
"@swc/core": "^1.11.24",
"are-you-es5": "^2.1.2",
"assert": "^2.1.0",
"codecov": "^3.8.3",
"codependence": "^0.3.1",
"commitizen": "4.3.1",
"conventional-changelog-cli": "^5.0.0",
"eslint": "9.36.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-es5": "^1.5.0",
"husky": "9.1.7",
"inquirer": "^12.9.1",
"is-ci": "^3.0.1",
"mocha": "11.7.2",
"nyc": "^17.1.0",
"path-exists-cli": "^2.0.0",
"prettier": "3.6.2",
"release-it": "19.0.5"
},
"dependencies": {
"acorn": "8.15.0",
"acorn-walk": "^8.3.4",
"browserslist": "^4.23.3",
"commander": "14.0.1",
"fast-brake": "^0.1.4",
"fast-glob": "^3.3.3",
"lilconfig": "^3.1.3",
"source-map": "^0.7.4",
"supports-color": "8.1.1",
"winston": "3.17.0"
},
"engines": {
"node": ">= 4"
},
"keywords": [
"check for es6",
"check for modules",
"es",
"es check",
"es matching",
"es version",
"ecmascript",
"ecmascript check",
"ecmascript matching",
"ecmascript version",
"js",
"js version",
"js version check",
"js version matching",
"test js version",
"test ecmascript version"
],
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
2,
"always",
120
]
}
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version}",
"requireBranch": "main",
"requireCleanWorkingDir": true
},
"github": {
"release": true,
"web": true
},
"npm": {
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
}
},
"hooks": {
"before:init": [
"pnpm run lint",
"pnpm test"
],
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}. && pnpm run changelog"
}
},
"packageManager": "pnpm@10.6.5+sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af"
}