package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {
  2. "name": "meriyah",
  3. "version": "4.1.5",
  4. "description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability",
  5. "main": "dist/meriyah.cjs",
  6. "module": "dist/meriyah.esm.js",
  7. "jsnext:main": "dist/meriyah.esm.js",
  8. "browser": "dist/meriyah.umd.min.js",
  9. "unpkg": "dist/meriyah.umd.min.js",
  10. "type": "module",
  11. "exports": {
  12. "import": "./dist/meriyah.esm.js",
  13. "require": "./dist/meriyah.cjs"
  14. },
  15. "types": "dist/src/meriyah.d.ts",
  16. "typings": "dist/src/meriyah.d.ts",
  17. "license": "ISC",
  18. "homepage": "https://github.com/meriyah/meriyah",
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/meriyah/meriyah"
  22. },
  23. "bugs": {
  24. "url": "https://github.com/meriyah/meriyah/issues"
  25. },
  26. "author": {
  27. "name": "Kenny F.",
  28. "url": "https://github.com/KFlash"
  29. },
  30. "contributors": [
  31. {
  32. "name": "Chunpeng Huo",
  33. "url": "https://github.com/3cp"
  34. }
  35. ],
  36. "keywords": [
  37. "parsing",
  38. "ecmascript",
  39. "javascript",
  40. "parser",
  41. "performance",
  42. "estree",
  43. "es2018",
  44. "es2019",
  45. "es2020",
  46. "es2021",
  47. "esnext",
  48. "lexer",
  49. "ast",
  50. "lightweight"
  51. ],
  52. "files": [
  53. "dist",
  54. "src",
  55. "README.md",
  56. "CHANGELOG.md",
  57. "LICENSE.md"
  58. ],
  59. "publishConfig": {
  60. "access": "public"
  61. },
  62. "scripts": {
  63. "build": "tsc",
  64. "build:watch": "tsc -w",
  65. "lint": "eslint \"{src,test}/**/*.{ts,js}\"",
  66. "prettier": "node ./scripts/prettier.js write-changed",
  67. "prettier-all": "node ./scripts/prettier.js write",
  68. "bundle": "cross-env rimraf dist && node scripts/bundle.js",
  69. "bundle:bench": "cross-env rimraf dist && node scripts/bundle.js bench",
  70. "test": "mocha \"test/**/*.ts\"",
  71. "test-single": "mocha",
  72. "test:watch": "npm run test -- --watch --watch-extensions ts",
  73. "test:verbose": "npm run test -- -R spec",
  74. "test:watch:verbose": "npm run test:watch -- -R spec",
  75. "prepare-nightly": "node scripts/bump-dev-version",
  76. "coverage": "cross-env TS_NODE_PROJECT=\"test/tsconfig.json\" nyc -n \"src/**/*.ts\" -e .ts -i ts-node/register -r text-summary -r lcov -r html npm test",
  77. "post_coverage": "cross-env cat ./coverage/lcov.info | coveralls",
  78. "prepublishOnly": "npm run bundle",
  79. "preversion": "npm test",
  80. "version": "standard-changelog && git add CHANGELOG.md",
  81. "postversion": "git push && git push --tags && npm publish"
  82. },
  83. "devDependencies": {
  84. "@rollup/plugin-json": "^4.1.0",
  85. "@types/mocha": "^8.2.0",
  86. "@types/node": "^14.14.21",
  87. "@typescript-eslint/eslint-plugin": "^4.13.0",
  88. "@typescript-eslint/parser": "^4.13.0",
  89. "chalk": "^4.1.0",
  90. "coveralls": "^3.1.0",
  91. "cross-env": "^7.0.3",
  92. "eslint": "^7.17.0",
  93. "eslint-plugin-import": "^2.22.1",
  94. "eslint-plugin-node": "^11.1.0",
  95. "glob": "^7.1.6",
  96. "husky": "^4.3.7",
  97. "mocha": "^8.2.1",
  98. "nyc": "^15.1.0",
  99. "path": "^0.12.7",
  100. "prettier": "^2.2.1",
  101. "rimraf": "^3.0.2",
  102. "rollup": "^2.38.1",
  103. "rollup-plugin-terser": "^7.0.2",
  104. "rollup-plugin-typescript2": "^0.30.0",
  105. "source-map-support": "^0.5.19",
  106. "standard-changelog": "^2.0.27",
  107. "test262-parser-tests": "0.0.5",
  108. "ts-node": "^9.1.1",
  109. "tsconfig-paths": "^3.9.0",
  110. "tslib": "^2.1.0",
  111. "typescript": "^4.1.3",
  112. "unexpected": "^12.0.0",
  113. "unicode-13.0.0": "^0.8.0"
  114. },
  115. "husky": {
  116. "hooks": {
  117. "pre-commit": "node ./scripts/prettier.js check-changed"
  118. }
  119. },
  120. "engines": {
  121. "node": ">=10.4.0"
  122. }
  123. }