package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. {
  2. "name": "jsep",
  3. "version": "1.3.8",
  4. "description": "a tiny JavaScript expression parser",
  5. "author": "Stephen Oney <swloney@gmail.com> (http://from.so/)",
  6. "maintainers": [
  7. "Eric Smekens (https://github.com/EricSmekens)",
  8. "Lea Verou (https://github.com/LeaVerou)"
  9. ],
  10. "homepage": "https://ericsmekens.github.io/jsep/",
  11. "license": "MIT",
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/EricSmekens/jsep.git"
  15. },
  16. "type": "module",
  17. "main": "./dist/cjs/jsep.cjs.js",
  18. "module": "./dist/jsep.js",
  19. "exports": {
  20. ".": {
  21. "types": "./typings/tsd.d.ts",
  22. "require": "./dist/cjs/jsep.cjs.js",
  23. "default": "./dist/jsep.js"
  24. }
  25. },
  26. "typings": "typings/tsd.d.ts",
  27. "private": false,
  28. "devDependencies": {
  29. "@commitlint/cli": "^13.1.0",
  30. "@commitlint/config-angular": "^13.1.0",
  31. "@rollup/plugin-replace": "^2.4.2",
  32. "@semantic-release/changelog": "^5.0.1",
  33. "@semantic-release/exec": "^6.0.3",
  34. "@semantic-release/git": "^9.0.0",
  35. "benchmark": "^2.1.4",
  36. "docco": "^0.8.1",
  37. "eslint": "^7.23.0",
  38. "http-server": "^0.12.3",
  39. "husky": "^7.0.0",
  40. "node-qunit-puppeteer": "^2.1.0",
  41. "puppeteer": "^5.5.0",
  42. "rollup": "^2.44.0",
  43. "rollup-plugin-delete": "^2.0.0",
  44. "rollup-plugin-terser": "^7.0.2",
  45. "semantic-release-monorepo": "^7.0.5",
  46. "semantic-release-plus": "^18.4.1"
  47. },
  48. "engines": {
  49. "node": ">= 10.16.0"
  50. },
  51. "directories": {
  52. "test": "test"
  53. },
  54. "release": {
  55. "commitPaths": [
  56. "src/",
  57. "packages/ternary/src/",
  58. "types",
  59. "typings/",
  60. ".npmignore",
  61. "package*.json",
  62. "rollup*.js"
  63. ],
  64. "branches": [
  65. "master",
  66. {
  67. "name": "alpha",
  68. "prerelease": true
  69. },
  70. {
  71. "name": "beta",
  72. "prerelease": true
  73. }
  74. ],
  75. "plugins": [
  76. [
  77. "@semantic-release/commit-analyzer",
  78. {
  79. "preset": "angular",
  80. "parserOpts": {
  81. "noteKeywords": [
  82. "BREAKING CHANGE",
  83. "BREAKING CHANGES",
  84. "BREAKING"
  85. ]
  86. }
  87. }
  88. ],
  89. [
  90. "@semantic-release/release-notes-generator",
  91. {
  92. "preset": "angular",
  93. "parserOpts": {
  94. "noteKeywords": [
  95. "BREAKING CHANGE",
  96. "BREAKING CHANGES",
  97. "BREAKING"
  98. ]
  99. },
  100. "writerOpts": {
  101. "commitsSort": [
  102. "scope",
  103. "subject"
  104. ]
  105. }
  106. }
  107. ],
  108. "@semantic-release/changelog",
  109. [
  110. "@semantic-release/exec",
  111. {
  112. "prepareCmd": "NEXT_VERSION=${nextRelease.version} pnpm run build"
  113. }
  114. ],
  115. [
  116. "@semantic-release/npm",
  117. {
  118. "tarballDir": "./"
  119. }
  120. ],
  121. [
  122. "@semantic-release/git",
  123. {
  124. "message": "build: ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
  125. }
  126. ],
  127. [
  128. "@semantic-release/github",
  129. {
  130. "assets": [
  131. {
  132. "path": "./*.tgz",
  133. "label": "build"
  134. }
  135. ]
  136. }
  137. ]
  138. ]
  139. },
  140. "scripts": {
  141. "default": "npm run lint && npm run build:all && npm run test:all && npm run docco",
  142. "build": "npx rollup -c && cp package-cjs.json dist/cjs/package.json",
  143. "build:watch": "npx rollup -c --watch",
  144. "build:all": "pnpm run build -r",
  145. "test": "npx http-server -p 49649 --silent & npx node-qunit-puppeteer http://localhost:49649/test/unit_tests.html",
  146. "test:all": "npx http-server -p 49649 --silent & pnpm run test -r",
  147. "test:performance": "node test/performance.test.js",
  148. "docco": "npx docco src/jsep.js --css=src/docco.css --output=annotated_source/",
  149. "lint": "npx eslint src/**/*.js test/*.js test/packages/**/*.js packages/**/*.js",
  150. "prepare": "husky install",
  151. "release": "./release.sh"
  152. }
  153. }