with-query
Version:
Format url with query (string or object), simple and fast, with the power of qs
92 lines (91 loc) • 2.67 kB
JSON
{
"name": "with-query",
"description": "Format url with query (string or object), simple and fast, with the power of qs",
"version": "1.3.0",
"author": "Bin Hou <houbin217jz@gmail.com> (https://twitter.com/houbin217jz)",
"dependencies": {
"@types/qs": "^6.9.1",
"qs": "^6.9.3"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-typescript": "^7.9.0",
"@types/jest": "^25.1.4",
"@types/object-assign": "^4.0.30",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0",
"assert": "^2.0.0",
"babel-core": "^7.0.0-0",
"babel-jest": "^25.2.4",
"coveralls": "^3.0.11",
"eslint": "6.8.0",
"eslint-config-airbnb": "18.1.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"jest": "^25.2.4",
"nyc": "^15.0.0",
"prettier": "^2.0.2",
"regenerator-runtime": "^0.13.5",
"rimraf": "^3.0.2",
"rollup": "^2.3.2",
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^25.3.0",
"typescript": "^3.8.3"
},
"files": [
"src",
"dist"
],
"jest": {
"preset": "ts-jest",
"moduleFileExtensions": [
"ts",
"js",
"json"
],
"testMatch": [
"**/test/*\\.spec.(js|ts)"
],
"verbose": true,
"testURL": "http://localhost/"
},
"keywords": [
"fetch",
"format",
"parse",
"query",
"stringify",
"url"
],
"license": "MIT",
"main": "dist/with-query.js",
"module": "dist/with-query.es.js",
"repository": {
"type": "git",
"url": "https://github.com/kouhin/with-query.git"
},
"scripts": {
"build": "node build.js && tsc --declaration --emitDeclarationOnly --declarationMap --allowJs false --checkJs false",
"clean": "rimraf dist coverage .nyc_output",
"coveralls": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"prepare": "npm run clean && npm run test && npm run build",
"pretest": "eslint --ext .js,.ts .",
"test": "jest --coverage"
},
"source": "src/index.ts",
"types": "dist",
"umd:main": "dist/with-query.umd.js"
}