package.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@paralleldrive/cuid2",
  3. "private": false,
  4. "types": "index.d.ts",
  5. "files": [
  6. "src/index.js",
  7. "index.js",
  8. "index.d.ts"
  9. ],
  10. "scripts": {
  11. "dev": "next dev",
  12. "build": "next build",
  13. "start": "next start",
  14. "lint": "next lint --fix",
  15. "typescript": "npx -p typescript tsc --esModuleInterop --rootDir . src/index-test.js --noEmit --allowJs --checkJs --target es2020 --moduleResolution node && echo 'TypeScript Complete.'",
  16. "test": "NODE_ENV=test node src/index-test.js",
  17. "test-color": "NODE_ENV=test node src/index-test.js | tap-nirvana",
  18. "collision-test": "NODE_ENV=test node src/collision-test.js | tap-nirvana",
  19. "histogram": "NODE_ENV=test node src/histogram.js | tap-nirvana",
  20. "watch": "watch 'npm run -s test | tap-nirvana && npm run -s lint && npm run -s typescript' src",
  21. "update": "updtr",
  22. "release": "release-it"
  23. },
  24. "pre-commit": [
  25. "lint",
  26. "test-color",
  27. "collision-test"
  28. ],
  29. "repository": {
  30. "type": "git",
  31. "url": "git+https://github.com/ericelliott/cuid2.git"
  32. },
  33. "keywords": [
  34. "uuid",
  35. "guid",
  36. "cuid",
  37. "unique",
  38. "id",
  39. "ids",
  40. "identifier",
  41. "identifiers"
  42. ],
  43. "author": "Eric Elliott",
  44. "license": "MIT",
  45. "bugs": {
  46. "url": "https://github.com/ericelliott/cuid2/issues"
  47. },
  48. "homepage": "https://github.com/ericelliott/cuid2#readme",
  49. "devDependencies": {
  50. "eslint": "8.30.0",
  51. "eslint-config-next": "13.1.1",
  52. "eslint-config-prettier": "8.5.0",
  53. "eslint-plugin-prettier": "4.2.1",
  54. "next": "13.1.1",
  55. "pre-commit": "1.2.2",
  56. "prettier": "2.8.1",
  57. "react": "18.2.0",
  58. "react-dom": "18.2.0",
  59. "release-it": "15.5.1",
  60. "riteway": "7.0.0",
  61. "tap-nirvana": "1.1.0",
  62. "updtr": "4.0.0",
  63. "watch": "1.0.2"
  64. },
  65. "dependencies": {
  66. "@noble/hashes": "^1.1.5"
  67. },
  68. "version": "2.3.1"
  69. }