package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@jridgewell/set-array",
  3. "version": "1.1.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. "types": "./dist/types/set-array.d.ts",
  15. "browser": "./dist/set-array.umd.js",
  16. "require": "./dist/set-array.umd.js",
  17. "import": "./dist/set-array.mjs"
  18. },
  19. "./package.json": "./package.json"
  20. },
  21. "files": [
  22. "dist"
  23. ],
  24. "engines": {
  25. "node": ">=6.0.0"
  26. },
  27. "scripts": {
  28. "prebuild": "rm -rf dist",
  29. "build": "run-s -n build:*",
  30. "build:rollup": "rollup -c rollup.config.js",
  31. "build:ts": "tsc --project tsconfig.build.json",
  32. "lint": "run-s -n lint:*",
  33. "lint:prettier": "npm run test:lint:prettier -- --write",
  34. "lint:ts": "npm run test:lint:ts -- --fix",
  35. "pretest": "run-s build:rollup",
  36. "test": "run-s -n test:lint test:only",
  37. "test:debug": "mocha --inspect-brk",
  38. "test:lint": "run-s -n test:lint:*",
  39. "test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
  40. "test:lint:ts": "eslint '{src,test}/**/*.ts'",
  41. "test:only": "mocha",
  42. "test:coverage": "c8 mocha",
  43. "test:watch": "mocha --watch",
  44. "prepublishOnly": "npm run preversion",
  45. "preversion": "run-s test build"
  46. },
  47. "devDependencies": {
  48. "@rollup/plugin-typescript": "8.3.0",
  49. "@types/mocha": "9.1.1",
  50. "@types/node": "17.0.29",
  51. "@typescript-eslint/eslint-plugin": "5.10.0",
  52. "@typescript-eslint/parser": "5.10.0",
  53. "c8": "7.11.0",
  54. "eslint": "8.7.0",
  55. "eslint-config-prettier": "8.3.0",
  56. "mocha": "9.2.0",
  57. "npm-run-all": "4.1.5",
  58. "prettier": "2.5.1",
  59. "rollup": "2.66.0",
  60. "typescript": "4.5.5"
  61. }
  62. }