121 lines
3.6 KiB
JSON
121 lines
3.6 KiB
JSON
{
|
|
"name": "meriyah",
|
|
"version": "6.1.4",
|
|
"description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability",
|
|
"main": "dist/meriyah.cjs",
|
|
"module": "dist/meriyah.min.mjs",
|
|
"browser": "dist/meriyah.umd.min.js",
|
|
"unpkg": "dist/meriyah.umd.min.js",
|
|
"types": "dist/types/meriyah.d.ts",
|
|
"typings": "dist/types/meriyah.d.ts",
|
|
"exports": {
|
|
"types": "./dist/types/meriyah.d.ts",
|
|
"module-sync": "./dist/meriyah.mjs",
|
|
"require": "./dist/meriyah.cjs",
|
|
"default": "./dist/meriyah.mjs"
|
|
},
|
|
"license": "ISC",
|
|
"homepage": "https://github.com/meriyah/meriyah",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/meriyah/meriyah.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/meriyah/meriyah/issues"
|
|
},
|
|
"author": {
|
|
"name": "Kenny F.",
|
|
"url": "https://github.com/KFlash"
|
|
},
|
|
"contributors": [
|
|
{
|
|
"name": "Chunpeng Huo",
|
|
"url": "https://github.com/3cp"
|
|
}
|
|
],
|
|
"keywords": [
|
|
"parsing",
|
|
"ecmascript",
|
|
"javascript",
|
|
"parser",
|
|
"estree",
|
|
"esnext",
|
|
"lexer",
|
|
"ast"
|
|
],
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE.md"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/build.mjs",
|
|
"lint": "npm run lint:eslint && npm run lint:types && npm run lint:prettier && npm run lint:cspell && npm run lint:knip",
|
|
"lint:eslint": "eslint",
|
|
"lint:prettier": "prettier . --check",
|
|
"lint:cspell": "cspell . --gitignore",
|
|
"lint:types": "tsc",
|
|
"lint:knip": "knip",
|
|
"fix": "npm run fix:eslint && npm run fix:prettier",
|
|
"fix:eslint": "eslint --fix",
|
|
"fix:prettier": "prettier . --write",
|
|
"test": "vitest",
|
|
"test:watch": "vitest --watch",
|
|
"production-test": "npm run build && cross-env PRODUCTION_TEST=1 vitest test/production/production-tests.ts",
|
|
"prepare-nightly": "node scripts/bump-dev-version.mjs",
|
|
"coverage": "vitest --coverage",
|
|
"post_coverage": "cross-env cat ./coverage/lcov.info | coveralls",
|
|
"prepublishOnly": "npm run build",
|
|
"preversion": "npm test",
|
|
"version": "standard-changelog && git add CHANGELOG.md",
|
|
"postversion": "git push && git push --tags && npm publish",
|
|
"prepare": "husky",
|
|
"generate-unicode": "node scripts/generate-unicode.mjs",
|
|
"generate-test262-whitelist": "npm run build && node test262/generate-test262-whitelist.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/code-frame": "^7.27.1",
|
|
"@eslint/js": "^9.30.0",
|
|
"@rollup/plugin-json": "^6.1.0",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@types/babel__code-frame": "^7.0.6",
|
|
"@types/node": "^24.0.7",
|
|
"@unicode/unicode-16.0.0": "^1.6.6",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"acorn": "^8.15.0",
|
|
"coveralls": "^3.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"cspell": "^9.1.2",
|
|
"eslint": "^9.30.0",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import-x": "^4.16.1",
|
|
"eslint-plugin-n": "^17.20.0",
|
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
"globals": "^16.2.0",
|
|
"husky": "^9.1.7",
|
|
"knip": "^5.61.3",
|
|
"lint-staged": "^16.1.2",
|
|
"outdent": "^0.8.0",
|
|
"prettier": "3.6.2",
|
|
"rollup": "^4.44.1",
|
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
"standard-changelog": "^7.0.1",
|
|
"test262-parser-runner": "^0.5.0",
|
|
"test262-stream": "^1.4.0",
|
|
"typescript": "^5.8.3",
|
|
"typescript-eslint": "^8.35.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,mts,cts,js,mjs,cjs}": "eslint --fix",
|
|
"*": "prettier --write --ignore-unknown"
|
|
}
|
|
}
|