package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@jridgewell/set-array",
  3. "version": "1.2.1",
  4. "description": "Like a Set, but provides the index of the `key` in the backing array",
  5. "keywords": [],
  6. "author": "Justin Ridgewell <justin@ridgewell.name>",
  7. "license": "MIT",
  8. "repository": "https://github.com/jridgewell/set-array",
  9. "main": "dist/set-array.umd.js",
  10. "module": "dist/set-array.mjs",
  11. "typings": "dist/types/set-array.d.ts",
  12. "exports": {
  13. ".": [
  14. {
  15. "types": "./dist/types/set-array.d.ts",
  16. "browser": "./dist/set-array.umd.js",
  17. "require": "./dist/set-array.umd.js",
  18. "import": "./dist/set-array.mjs"
  19. },
  20. "./dist/set-array.umd.js"
  21. ],
  22. "./package.json": "./package.json"
  23. },
  24. "files": [
  25. "dist"
  26. ],
  27. "engines": {
  28. "node": ">=6.0.0"
  29. },
  30. "scripts": {
  31. "prebuild": "rm -rf dist",
  32. "build": "run-s -n build:*",
  33. "build:rollup": "rollup -c rollup.config.js",
  34. "build:ts": "tsc --project tsconfig.build.json",
  35. "lint": "run-s -n lint:*",
  36. "lint:prettier": "npm run test:lint:prettier -- --write",
  37. "lint:ts": "npm run test:lint:ts -- --fix",
  38. "test": "run-s -n test:lint test:only",
  39. "test:debug": "mocha --inspect-brk",
  40. "test:lint": "run-s -n test:lint:*",
  41. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  42. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  43. "test:only": "mocha",
  44. "test:coverage": "c8 mocha",
  45. "test:watch": "mocha --watch",
  46. "prepublishOnly": "npm run preversion",
  47. "preversion": "run-s test build"
  48. },
  49. "devDependencies": {
  50. "@rollup/plugin-typescript": "8.3.0",
  51. "@types/mocha": "9.1.1",
  52. "@types/node": "17.0.29",
  53. "@typescript-eslint/eslint-plugin": "5.10.0",
  54. "@typescript-eslint/parser": "5.10.0",
  55. "c8": "7.11.0",
  56. "eslint": "8.7.0",
  57. "eslint-config-prettier": "8.3.0",
  58. "mocha": "9.2.0",
  59. "npm-run-all": "4.1.5",
  60. "prettier": "2.5.1",
  61. "rollup": "2.66.0",
  62. "tsx": "4.7.1",
  63. "typescript": "4.5.5"
  64. }
  65. }