147 lines
4.6 KiB
JSON
147 lines
4.6 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"react-url-query@1.5.0",
|
|
"/home/zhiyuanliu/gitlink/forgeplus-react"
|
|
]
|
|
],
|
|
"_from": "react-url-query@1.5.0",
|
|
"_id": "react-url-query@1.5.0",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-mivzv+T7+qNIvY3Ho+ja318huiWamFq6MbhxgU/hn71nICd5hqNMmULOZyp6+iTB+fyjQcdjsEI5iwz++syipw==",
|
|
"_location": "/react-url-query",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "react-url-query@1.5.0",
|
|
"name": "react-url-query",
|
|
"escapedName": "react-url-query",
|
|
"rawSpec": "1.5.0",
|
|
"saveSpec": null,
|
|
"fetchSpec": "1.5.0"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/react-url-query/-/react-url-query-1.5.0.tgz",
|
|
"_spec": "1.5.0",
|
|
"_where": "/home/zhiyuanliu/gitlink/forgeplus-react",
|
|
"author": {
|
|
"name": "Peter Beshai",
|
|
"email": "peter.beshai@gmail.com",
|
|
"url": "https://github.com/pbeshai"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/pbeshai/react-url-query/issues"
|
|
},
|
|
"dependencies": {
|
|
"loose-envify": "^1.2.0",
|
|
"prop-types": "^15.5.9",
|
|
"query-string": "^4.2.3"
|
|
},
|
|
"description": "A library for managing state through query parameters in the URL in React. Works well with or without Redux and React Router.",
|
|
"devDependencies": {
|
|
"babel-cli": "6.14.0",
|
|
"babel-core": "6.14.0",
|
|
"babel-eslint": "^7.2.3",
|
|
"babel-jest": "15.0.0",
|
|
"babel-loader": "6.2.5",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "6.14.0",
|
|
"babel-preset-es2015": "^6.14.0",
|
|
"babel-preset-react": "^6.11.1",
|
|
"babel-preset-stage-0": "^6.5.0",
|
|
"babel-register": "6.14.0",
|
|
"cross-env": "3.0.0",
|
|
"enzyme": "^2.4.1",
|
|
"eslint": "^4.12.0",
|
|
"eslint-config-react-app": "^2.0.1",
|
|
"eslint-plugin-flowtype": "^2.39.1",
|
|
"eslint-plugin-import": "^2.8.0",
|
|
"eslint-plugin-jsx-a11y": "^5.1.1",
|
|
"eslint-plugin-react": "^7.5.1",
|
|
"gitbook-cli": "^2.3.0",
|
|
"jest": "15.1.1",
|
|
"prettier": "^1.8.2",
|
|
"react": "^15.0.0",
|
|
"react-addons-test-utils": "^15.3.2",
|
|
"react-dom": "^15.3.2",
|
|
"react-router": "^5.0.1",
|
|
"rimraf": "2.5.4",
|
|
"webpack": "1.13.2"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"lib",
|
|
"es",
|
|
"src"
|
|
],
|
|
"homepage": "https://github.com/pbeshai/react-url-query",
|
|
"jest": {
|
|
"testPathDirs": [
|
|
"src"
|
|
]
|
|
},
|
|
"keywords": [
|
|
"react",
|
|
"url",
|
|
"query",
|
|
"query parameter",
|
|
"url search",
|
|
"state",
|
|
"redux",
|
|
"url reducer",
|
|
"middleware"
|
|
],
|
|
"license": "MIT",
|
|
"main": "lib/index.js",
|
|
"name": "react-url-query",
|
|
"npmFileMap": [
|
|
{
|
|
"basePath": "/dist/",
|
|
"files": [
|
|
"*.js"
|
|
]
|
|
}
|
|
],
|
|
"peerDependencies": {
|
|
"react": "^15.0 || ^16.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/pbeshai/react-url-query.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:commonjs && npm run build:es && npm run build:umd && npm run build:umd:min",
|
|
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
|
|
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
|
|
"build:examples": "babel-node examples/buildAll.js",
|
|
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack src/index.js dist/react-url-query.js",
|
|
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack src/index.js dist/react-url-query.min.js",
|
|
"check:examples": "npm run build:examples && npm run lint:examples && npm run test:examples",
|
|
"check:src": "npm run lint:src && npm run test",
|
|
"clean": "rimraf lib dist es coverage",
|
|
"dev": "cross-env BABEL_ENV=commonjs babel src --watch --out-dir lib",
|
|
"docs:build": "npm run docs:prepare && gitbook build -g pbeshai/react-url-query",
|
|
"docs:clean": "rimraf _book",
|
|
"docs:prepare": "gitbook install",
|
|
"docs:publish": "npm run docs:clean && npm run docs:build && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:pbeshai/react-url-query gh-pages --force",
|
|
"docs:watch": "npm run docs:prepare && gitbook serve",
|
|
"lint": "npm run lint:src && npm run lint:examples",
|
|
"lint:examples": "eslint examples",
|
|
"lint:src": "eslint src test build",
|
|
"prepare": "npm run clean && npm run check:src && npm run build",
|
|
"prettier": "prettier --write \"src/**/*.js\"",
|
|
"test": "cross-env BABEL_ENV=commonjs jest",
|
|
"test:cov": "npm test -- --coverage",
|
|
"test:examples": "babel-node examples/testAll.js",
|
|
"test:watch": "npm test -- --watch"
|
|
},
|
|
"version": "1.5.0"
|
|
}
|