package.json 3.0 KB

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