57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "whatwg-url",
|
|
"version": "6.5.0",
|
|
"description": "An implementation of the WHATWG URL Standard's URL API and parsing machinery",
|
|
"main": "lib/public-api.js",
|
|
"files": [
|
|
"lib/"
|
|
],
|
|
"author": "Sebastian Mayr <github@smayr.name>",
|
|
"license": "MIT",
|
|
"repository": "jsdom/whatwg-url",
|
|
"dependencies": {
|
|
"lodash.sortby": "^4.7.0",
|
|
"tr46": "^1.0.1",
|
|
"webidl-conversions": "^4.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^16.2.2",
|
|
"domexception": "^1.0.1",
|
|
"eslint": "^4.19.1",
|
|
"istanbul": "~0.4.5",
|
|
"jest": "^22.4.3",
|
|
"jsdom": "^11.8.0",
|
|
"recast": "~0.14.7",
|
|
"request": "^2.85.0",
|
|
"webidl2js": "^7.4.0"
|
|
},
|
|
"scripts": {
|
|
"build": "node scripts/transform.js && node scripts/convert-idl.js",
|
|
"coverage": "jest --coverage",
|
|
"lint": "eslint .",
|
|
"prepublish": "node scripts/transform.js && node scripts/convert-idl.js",
|
|
"pretest": "node scripts/get-latest-platform-tests.js && node scripts/transform.js && node scripts/convert-idl.js",
|
|
"build-live-viewer": "browserify lib/public-api.js --standalone whatwgURL > live-viewer/whatwg-url.js",
|
|
"test": "jest"
|
|
},
|
|
"jest": {
|
|
"collectCoverageFrom": [
|
|
"lib/**/*.js",
|
|
"!lib/utils.js"
|
|
],
|
|
"coverageDirectory": "coverage",
|
|
"coverageReporters": [
|
|
"lcov",
|
|
"text-summary"
|
|
],
|
|
"testEnvironment": "node",
|
|
"testMatch": [
|
|
"<rootDir>/test/**/*.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"^<rootDir>/test/testharness.js$",
|
|
"^<rootDir>/test/web-platform-tests/"
|
|
]
|
|
}
|
|
}
|