package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "name": "min-dash",
  3. "version": "4.2.1",
  4. "description": "Minimum utility toolbelt",
  5. "main": "dist/index.cjs",
  6. "module": "dist/index.esm.js",
  7. "types": "dist/index.d.ts",
  8. "type": "module",
  9. "exports": {
  10. ".": {
  11. "import": "./dist/index.esm.js",
  12. "require": "./dist/index.cjs",
  13. "types": "./dist/index.d.ts"
  14. },
  15. "./package.json": "./package.json"
  16. },
  17. "files": [
  18. "dist"
  19. ],
  20. "scripts": {
  21. "all": "run-s lint test distro test:types",
  22. "bundle": "rollup -c --bundleConfigAsCjs",
  23. "copy": "cpx 'lib/*.d.ts' dist",
  24. "distro": "run-s copy bundle test:integration test:bundle",
  25. "dev": "npm test -- --watch",
  26. "lint": "eslint .",
  27. "prepublishOnly": "run-s distro",
  28. "test": "mocha -r source-map-support/register --full-trace test/*.spec.js",
  29. "test:bundle": "rollup -c test/bundling/rollup.config.js",
  30. "test:integration": "mocha --full-trace test/integration/*.spec.{cjs,js}",
  31. "test:types": "run-s test:types:*",
  32. "test:types:cjs": "tsc --noEmit",
  33. "test:types:esm": "tsc --noEmit --module node16"
  34. },
  35. "repository": {
  36. "type": "git",
  37. "url": "git+https://github.com/bpmn-io/min-dash.git"
  38. },
  39. "keywords": [
  40. "lodash",
  41. "utility",
  42. "tool",
  43. "belt"
  44. ],
  45. "author": "bpmn.io <http://bpmn.io>",
  46. "license": "MIT",
  47. "bugs": {
  48. "url": "https://github.com/bpmn-io/min-dash/issues"
  49. },
  50. "sideEffects": false,
  51. "homepage": "https://github.com/bpmn-io/min-dash",
  52. "devDependencies": {
  53. "@rollup/plugin-node-resolve": "^15.2.3",
  54. "@rollup/plugin-terser": "^0.4.4",
  55. "@types/mocha": "^10.0.6",
  56. "@types/node": "^20.11.5",
  57. "@types/sinon": "^17.0.3",
  58. "@types/sinon-chai": "^3.2.12",
  59. "chai": "^4.4.1",
  60. "cpx": "^1.5.0",
  61. "eslint": "^8.56.0",
  62. "eslint-plugin-bpmn-io": "^1.0.0",
  63. "mocha": "^10.2.0",
  64. "npm-run-all": "^4.1.1",
  65. "rollup": "^4.9.5",
  66. "sinon": "^17.0.1",
  67. "sinon-chai": "^3.7.0",
  68. "source-map-support": "^0.5.19",
  69. "typescript": "^5.3.3"
  70. }
  71. }