package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "_from": "hashids@^1.2.2",
  3. "_id": "hashids@1.2.2",
  4. "_inBundle": false,
  5. "_integrity": "sha512-dEHCG2LraR6PNvSGxosZHIRgxF5sNLOIBFEHbj8lfP9WWmu/PWPMzsip1drdVSOFi51N2pU7gZavrgn7sbGFuw==",
  6. "_location": "/hashids",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "hashids@^1.2.2",
  12. "name": "hashids",
  13. "escapedName": "hashids",
  14. "rawSpec": "^1.2.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.2.2"
  17. },
  18. "_requiredBy": [
  19. "/"
  20. ],
  21. "_resolved": "https://registry.npmjs.org/hashids/-/hashids-1.2.2.tgz",
  22. "_shasum": "28635c7f2f7360ba463686078eee837479e8eafb",
  23. "_spec": "hashids@^1.2.2",
  24. "_where": "/home/zorro/Documents/schild.report/bk2019",
  25. "author": {
  26. "name": "Ivan Akimov",
  27. "email": "ivan@barreleye.com",
  28. "url": "https://twitter.com/IvanAkimov"
  29. },
  30. "browser": "dist/hashids.min",
  31. "browserslist": [
  32. "last 2 version",
  33. "> 0.5%",
  34. "maintained node versions",
  35. "not dead"
  36. ],
  37. "bugs": {
  38. "url": "https://github.com/ivanakimov/hashids.js/issues"
  39. },
  40. "bundleDependencies": false,
  41. "dependencies": {},
  42. "deprecated": false,
  43. "description": "Generate YouTube-like ids from numbers. Use Hashids when you do not want to expose your database ids to the user.",
  44. "devDependencies": {
  45. "@babel/cli": "^7.0.0",
  46. "@babel/core": "^7.0.0",
  47. "@babel/plugin-syntax-dynamic-import": "7.0.0",
  48. "@babel/preset-env": "^7.0.0",
  49. "@babel/register": "^7.0.0",
  50. "babel-eslint": "9.0.0",
  51. "chai": "^4.1.2",
  52. "coveralls": "^3.0.2",
  53. "eslint": "^5.4.0",
  54. "husky": "^0.14.3",
  55. "mocha": "^5.2.0",
  56. "nyc": "^13.0.1",
  57. "uglify-js": "^3.4.8"
  58. },
  59. "homepage": "http://hashids.org/javascript",
  60. "keywords": [
  61. "hashids",
  62. "hashid",
  63. "hash",
  64. "ids",
  65. "youtube",
  66. "bitly",
  67. "obfuscate",
  68. "encode",
  69. "decode",
  70. "encrypt",
  71. "decrypt"
  72. ],
  73. "license": "MIT",
  74. "main": "dist/hashids",
  75. "module": "dist/hashids-esm",
  76. "name": "hashids",
  77. "repository": {
  78. "type": "git",
  79. "url": "git+https://github.com/ivanakimov/hashids.js.git"
  80. },
  81. "scripts": {
  82. "all": "npm run lint && npm run coverage && npm run build && npm run clean",
  83. "build": "npm run test && npm run build:node && npm run build:modules && npm run rename:global && npm run minify",
  84. "build:modules": "BABEL_MODULES=1 babel lib/hashids.js --source-maps -o dist/hashids.mjs && cp dist/hashids.mjs dist/hashids-esm.js",
  85. "build:node": "babel lib/hashids.js --source-maps -o dist/index.js",
  86. "clean": "rm -rf coverage .nyc_output npm-debug.log",
  87. "coverage": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
  88. "lint": "eslint lib tests",
  89. "minify": "cd dist && uglifyjs index.js -o hashids.min.js --source-map \"url=hashids.min.js.map\" --compress --mangle",
  90. "precommit": "npm run lint && npm run test",
  91. "rename:global": "sed -i '' 's/global.hashids/global.Hashids/g' dist/index.js",
  92. "test": "mocha tests --require @babel/register",
  93. "test-modules": "node --experimental-modules node_modules/mocha/bin/_mocha tests-mjs"
  94. },
  95. "version": "1.2.2"
  96. }