package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "uri-js",
  3. "version": "4.2.2",
  4. "description": "An RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.",
  5. "main": "dist/es5/uri.all.js",
  6. "types": "dist/es5/uri.all.d.ts",
  7. "directories": {
  8. "test": "tests"
  9. },
  10. "scripts": {
  11. "build:esnext": "node_modules/.bin/tsc",
  12. "build:es5": "node_modules/.bin/rollup -c && cp dist/esnext/uri.d.ts dist/es5/uri.all.d.ts && npm run build:es5:fix-sourcemap",
  13. "build:es5:fix-sourcemap": "node_modules/.bin/sorcery -i dist/es5/uri.all.js",
  14. "build:es5:min": "node_modules/.bin/uglifyjs dist/es5/uri.all.js --support-ie8 --output dist/es5/uri.all.min.js --in-source-map dist/es5/uri.all.js.map --source-map uri.all.min.js.map --comments --compress --mangle --pure-funcs merge subexp && mv uri.all.min.js.map dist/es5/ && cp dist/es5/uri.all.d.ts dist/es5/uri.all.min.d.ts",
  15. "build": "npm run build:esnext && npm run build:es5 && npm run build:es5:min",
  16. "test": "node_modules/.bin/mocha -u mocha-qunit-ui dist/es5/uri.all.js tests/tests.js"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "http://github.com/garycourt/uri-js"
  21. },
  22. "keywords": [
  23. "URI",
  24. "IRI",
  25. "IDN",
  26. "URN",
  27. "UUID",
  28. "HTTP",
  29. "HTTPS",
  30. "MAILTO",
  31. "RFC3986",
  32. "RFC3987",
  33. "RFC5891",
  34. "RFC2616",
  35. "RFC2818",
  36. "RFC2141",
  37. "RFC4122",
  38. "RFC4291",
  39. "RFC5952",
  40. "RFC6068",
  41. "RFC6874"
  42. ],
  43. "author": "Gary Court <gary.court@gmail.com>",
  44. "license": "BSD-2-Clause",
  45. "bugs": {
  46. "url": "https://github.com/garycourt/uri-js/issues"
  47. },
  48. "homepage": "https://github.com/garycourt/uri-js",
  49. "devDependencies": {
  50. "babel-cli": "^6.26.0",
  51. "babel-plugin-external-helpers": "^6.22.0",
  52. "babel-preset-latest": "^6.24.1",
  53. "mocha": "^3.2.0",
  54. "mocha-qunit-ui": "^0.1.3",
  55. "rollup": "^0.41.6",
  56. "rollup-plugin-babel": "^2.7.1",
  57. "rollup-plugin-node-resolve": "^2.0.0",
  58. "sorcery": "^0.10.0",
  59. "typescript": "^2.8.1",
  60. "uglify-js": "^2.8.14"
  61. },
  62. "dependencies": {
  63. "punycode": "^2.1.0"
  64. }
  65. }