2020-01-28 13:08:03 +08:00
|
|
|
{
|
2020-03-31 20:57:48 +08:00
|
|
|
"name": "uri-js",
|
|
|
|
"version": "4.2.2",
|
2020-01-28 13:08:03 +08:00
|
|
|
"description": "An RFC 3986/3987 compliant, scheme extendable URI/IRI parsing/validating/resolving library for JavaScript.",
|
2020-03-31 20:57:48 +08:00
|
|
|
"main": "dist/es5/uri.all.js",
|
|
|
|
"types": "dist/es5/uri.all.d.ts",
|
2020-01-28 13:08:03 +08:00
|
|
|
"directories": {
|
|
|
|
"test": "tests"
|
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"scripts": {
|
|
|
|
"build:esnext": "node_modules/.bin/tsc",
|
|
|
|
"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",
|
|
|
|
"build:es5:fix-sourcemap": "node_modules/.bin/sorcery -i dist/es5/uri.all.js",
|
|
|
|
"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",
|
|
|
|
"build": "npm run build:esnext && npm run build:es5 && npm run build:es5:min",
|
|
|
|
"test": "node_modules/.bin/mocha -u mocha-qunit-ui dist/es5/uri.all.js tests/tests.js"
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "http://github.com/garycourt/uri-js"
|
|
|
|
},
|
2020-01-28 13:08:03 +08:00
|
|
|
"keywords": [
|
|
|
|
"URI",
|
|
|
|
"IRI",
|
|
|
|
"IDN",
|
|
|
|
"URN",
|
|
|
|
"UUID",
|
|
|
|
"HTTP",
|
|
|
|
"HTTPS",
|
|
|
|
"MAILTO",
|
|
|
|
"RFC3986",
|
|
|
|
"RFC3987",
|
|
|
|
"RFC5891",
|
|
|
|
"RFC2616",
|
|
|
|
"RFC2818",
|
|
|
|
"RFC2141",
|
|
|
|
"RFC4122",
|
|
|
|
"RFC4291",
|
|
|
|
"RFC5952",
|
|
|
|
"RFC6068",
|
|
|
|
"RFC6874"
|
|
|
|
],
|
2020-03-31 20:57:48 +08:00
|
|
|
"author": "Gary Court <gary.court@gmail.com>",
|
2020-01-28 13:08:03 +08:00
|
|
|
"license": "BSD-2-Clause",
|
2020-03-31 20:57:48 +08:00
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/garycourt/uri-js/issues"
|
2020-01-28 13:08:03 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"homepage": "https://github.com/garycourt/uri-js",
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-cli": "^6.26.0",
|
|
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
|
|
"babel-preset-latest": "^6.24.1",
|
|
|
|
"mocha": "^3.2.0",
|
|
|
|
"mocha-qunit-ui": "^0.1.3",
|
|
|
|
"rollup": "^0.41.6",
|
|
|
|
"rollup-plugin-babel": "^2.7.1",
|
|
|
|
"rollup-plugin-node-resolve": "^2.0.0",
|
|
|
|
"sorcery": "^0.10.0",
|
|
|
|
"typescript": "^2.8.1",
|
|
|
|
"uglify-js": "^2.8.14"
|
2020-01-28 13:08:03 +08:00
|
|
|
},
|
2020-03-31 20:57:48 +08:00
|
|
|
"dependencies": {
|
|
|
|
"punycode": "^2.1.0"
|
|
|
|
}
|
2020-01-28 13:08:03 +08:00
|
|
|
}
|