package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "url-parse",
  3. "version": "1.5.10",
  4. "description": "Small footprint URL parser that works seamlessly across Node.js and browser environments",
  5. "main": "index.js",
  6. "scripts": {
  7. "browserify": "rm -rf dist && mkdir -p dist && browserify index.js -s URLParse -o dist/url-parse.js",
  8. "minify": "uglifyjs dist/url-parse.js --source-map -cm -o dist/url-parse.min.js",
  9. "test": "c8 --reporter=lcov --reporter=text mocha test/test.js",
  10. "test-browser": "node test/browser.js",
  11. "prepublishOnly": "npm run browserify && npm run minify",
  12. "watch": "mocha --watch test/test.js"
  13. },
  14. "files": [
  15. "index.js",
  16. "dist"
  17. ],
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/unshiftio/url-parse.git"
  21. },
  22. "keywords": [
  23. "URL",
  24. "parser",
  25. "uri",
  26. "url",
  27. "parse",
  28. "query",
  29. "string",
  30. "querystring",
  31. "stringify"
  32. ],
  33. "author": "Arnout Kazemier",
  34. "license": "MIT",
  35. "dependencies": {
  36. "querystringify": "^2.1.1",
  37. "requires-port": "^1.0.0"
  38. },
  39. "devDependencies": {
  40. "assume": "^2.2.0",
  41. "browserify": "^17.0.0",
  42. "c8": "^7.3.1",
  43. "mocha": "^9.0.3",
  44. "pre-commit": "^1.2.2",
  45. "sauce-browsers": "^2.0.0",
  46. "sauce-test": "^1.3.3",
  47. "uglify-js": "^3.5.7"
  48. }
  49. }