package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "regexpp",
  3. "version": "3.2.0",
  4. "description": "Regular expression parser for ECMAScript.",
  5. "engines": {
  6. "node": ">=8"
  7. },
  8. "main": "index",
  9. "files": [
  10. "index.*"
  11. ],
  12. "exports": {
  13. ".": {
  14. "import": "./index.mjs",
  15. "default": "./index.js"
  16. },
  17. "./package.json": "./package.json"
  18. },
  19. "dependencies": {},
  20. "devDependencies": {
  21. "@mysticatea/eslint-plugin": "^11.0.0",
  22. "@types/eslint": "^4.16.2",
  23. "@types/jsdom": "^12.2.4",
  24. "@types/mocha": "^5.2.2",
  25. "@types/node": "^12.6.8",
  26. "codecov": "^3.5.0",
  27. "dts-bundle": "^0.7.3",
  28. "eslint": "^6.1.0",
  29. "jsdom": "^15.1.1",
  30. "mocha": "^6.2.0",
  31. "npm-run-all": "^4.1.5",
  32. "nyc": "^14.1.1",
  33. "rimraf": "^2.6.2",
  34. "rollup": "^1.17.0",
  35. "rollup-plugin-node-resolve": "^5.2.0",
  36. "rollup-plugin-sourcemaps": "^0.4.2",
  37. "ts-node": "^8.3.0",
  38. "typescript": "^3.5.3"
  39. },
  40. "scripts": {
  41. "prebuild": "npm run -s clean",
  42. "build": "run-s build:*",
  43. "build:tsc": "tsc --module es2015",
  44. "build:rollup": "rollup -c",
  45. "build:dts": "dts-bundle --name regexpp --main .temp/index.d.ts --out ../index.d.ts",
  46. "clean": "rimraf .temp index.*",
  47. "codecov": "nyc report -r lcovonly && codecov -t ${CODECOV_TOKEN} --disable=gcov",
  48. "lint": "eslint scripts src test --ext .ts",
  49. "pretest": "run-s build lint",
  50. "test": "nyc _mocha \"test/*.ts\" --reporter dot --timeout 10000",
  51. "update:test": "ts-node scripts/update-fixtures.ts",
  52. "update:unicode": "run-s update:unicode:*",
  53. "update:unicode:ids": "ts-node scripts/update-unicode-ids.ts",
  54. "update:unicode:props": "ts-node scripts/update-unicode-properties.ts",
  55. "preversion": "npm test",
  56. "version": "npm run -s build",
  57. "postversion": "git push && git push --tags",
  58. "prewatch": "npm run -s clean",
  59. "watch": "_mocha \"test/*.ts\" --require ts-node/register --reporter dot --timeout 10000 --watch-extensions ts --watch --growl"
  60. },
  61. "repository": {
  62. "type": "git",
  63. "url": "git+https://github.com/mysticatea/regexpp.git"
  64. },
  65. "keywords": [
  66. "regexp",
  67. "regular",
  68. "expression",
  69. "parser",
  70. "validator",
  71. "ast",
  72. "abstract",
  73. "syntax",
  74. "tree",
  75. "ecmascript",
  76. "es2015",
  77. "es2016",
  78. "es2017",
  79. "es2018",
  80. "es2019",
  81. "es2020",
  82. "annexB"
  83. ],
  84. "author": "Toru Nagashima (https://github.com/mysticatea)",
  85. "license": "MIT",
  86. "bugs": {
  87. "url": "https://github.com/mysticatea/regexpp/issues"
  88. },
  89. "homepage": "https://github.com/mysticatea/regexpp#readme",
  90. "funding": "https://github.com/sponsors/mysticatea"
  91. }