package.json 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "_from": "cuid@^2.1.4",
  3. "_id": "cuid@2.1.8",
  4. "_inBundle": false,
  5. "_integrity": "sha512-xiEMER6E7TlTPnDxrM4eRiC6TRgjNX9xzEZ5U/Se2YJKr7Mq4pJn/2XEHjl3STcSh96GmkHPcBXLES8M29wyyg==",
  6. "_location": "/cuid",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "cuid@^2.1.4",
  12. "name": "cuid",
  13. "escapedName": "cuid",
  14. "rawSpec": "^2.1.4",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.1.4"
  17. },
  18. "_requiredBy": [
  19. "/warehouse"
  20. ],
  21. "_resolved": "https://registry.npmmirror.com/cuid/-/cuid-2.1.8.tgz",
  22. "_shasum": "cbb88f954171e0d5747606c0139fb65c5101eac0",
  23. "_spec": "cuid@^2.1.4",
  24. "_where": "/var/www/AfterAales/node_modules/warehouse",
  25. "author": {
  26. "name": "Eric Elliott",
  27. "url": "https://ericelliottjs.com"
  28. },
  29. "browser": {
  30. "./lib/fingerprint.js": "./lib/fingerprint.browser.js",
  31. "./lib/getRandomValue.js": "./lib/getRandomValue.browser.js"
  32. },
  33. "bugs": {
  34. "url": "https://github.com/ericelliott/cuid/issues"
  35. },
  36. "bundleDependencies": false,
  37. "dependencies": {},
  38. "deprecated": "Cuid and other k-sortable and non-cryptographic ids (Ulid, ObjectId, KSUID, all UUIDs) are all insecure. Use @paralleldrive/cuid2 instead.",
  39. "description": "Collision-resistant ids optimized for horizontal scaling and performance. For node and browsers.",
  40. "devDependencies": {
  41. "babel-polyfill": "6.26.0",
  42. "babel-preset-env": "1.7.0",
  43. "babel-register": "6.26.0",
  44. "browserify": "16.5.0",
  45. "eslint": "5.16.0",
  46. "eslint-plugin-testcafe": "0.2.1",
  47. "http-server": "^0.12.0",
  48. "mkdirp": "0.5.1",
  49. "riteway": "6.1.1",
  50. "tape": "4.11.0",
  51. "testcafe": "1.1.4",
  52. "uglify-js": "3.7.2",
  53. "updtr": "3.1.0",
  54. "watchify": "3.11.1"
  55. },
  56. "files": [
  57. "lib",
  58. "dist",
  59. "index.js",
  60. "index.d.ts"
  61. ],
  62. "homepage": "https://github.com/ericelliott/cuid#readme",
  63. "jsdelivr": "dist/cuid.min.js",
  64. "keywords": [
  65. "guid",
  66. "id",
  67. "uid",
  68. "unique id",
  69. "uuid"
  70. ],
  71. "license": "MIT",
  72. "main": "index.js",
  73. "name": "cuid",
  74. "react-native": {
  75. "./lib/fingerprint.js": "./lib/fingerprint.react-native.js",
  76. "./lib/getRandomValue.js": "./lib/getRandomValue.react-native.js"
  77. },
  78. "repository": {
  79. "type": "git",
  80. "url": "git+https://github.com/ericelliott/cuid.git"
  81. },
  82. "scripts": {
  83. "build": "mkdirp dist && browserify index.js -s cuid -o dist/cuid.js && uglifyjs dist/cuid.js -c -m -o dist/cuid.min.js",
  84. "lint": "eslint index.js lib test",
  85. "prepare": "npm run build",
  86. "test": "npm run -s lint && npm run -s test:server && npm run -s test:random && npm run -s test:browser && npm run -s test:worker",
  87. "test:browser": "testcafe chrome ./test/browser.js",
  88. "test:random": "node -r babel-register -r babel-polyfill test/getRandomValue.test.js",
  89. "test:server": "tape -r babel-register -r babel-polyfill test/server.js",
  90. "test:worker": "browserify ./test/worker/worker.js -s cuid -o ./test/worker/worker.bundled.js && testcafe chrome ./test/worker.js --app \"http-server ./test/worker -s\"",
  91. "update": "updtr"
  92. },
  93. "unpkg": "dist/cuid.min.js",
  94. "version": "2.1.8"
  95. }