package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "_from": "tiny-invariant@^1.0.2",
  3. "_id": "tiny-invariant@1.1.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==",
  6. "_location": "/tiny-invariant",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "tiny-invariant@^1.0.2",
  12. "name": "tiny-invariant",
  13. "escapedName": "tiny-invariant",
  14. "rawSpec": "^1.0.2",
  15. "saveSpec": null,
  16. "fetchSpec": "^1.0.2"
  17. },
  18. "_requiredBy": [
  19. "/react-router",
  20. "/react-router-dom",
  21. "/react-router-dom/history",
  22. "/react-router/history"
  23. ],
  24. "_resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz",
  25. "_shasum": "634c5f8efdc27714b7f386c35e6760991d230875",
  26. "_spec": "tiny-invariant@^1.0.2",
  27. "_where": "E:\\a-level\\project_js2\\node_modules\\react-router-dom",
  28. "author": {
  29. "name": "Alex Reardon",
  30. "email": "alexreardon@gmail.com"
  31. },
  32. "bugs": {
  33. "url": "https://github.com/alexreardon/tiny-invariant/issues"
  34. },
  35. "bundleDependencies": false,
  36. "deprecated": false,
  37. "description": "A tiny invariant function",
  38. "devDependencies": {
  39. "@rollup/plugin-replace": "^2.3.0",
  40. "@rollup/plugin-typescript": "^3.0.0",
  41. "@types/jest": "^25.1.0",
  42. "jest": "^25.1.0",
  43. "prettier": "^1.19.1",
  44. "rimraf": "^3.0.1",
  45. "rollup": "^1.30.1",
  46. "rollup-plugin-terser": "^5.2.0",
  47. "ts-expect": "^1.1.0",
  48. "ts-jest": "^25.0.0",
  49. "tslib": "^1.10.0",
  50. "typescript": "^3.7.5"
  51. },
  52. "files": [
  53. "/dist",
  54. "/src"
  55. ],
  56. "homepage": "https://github.com/alexreardon/tiny-invariant#readme",
  57. "keywords": [
  58. "invariant",
  59. "error"
  60. ],
  61. "license": "MIT",
  62. "main": "dist/tiny-invariant.cjs.js",
  63. "module": "dist/tiny-invariant.esm.js",
  64. "name": "tiny-invariant",
  65. "repository": {
  66. "type": "git",
  67. "url": "git+https://github.com/alexreardon/tiny-invariant.git"
  68. },
  69. "scripts": {
  70. "build": "yarn build:clean && yarn build:dist && yarn build:typescript",
  71. "build:clean": "rimraf dist",
  72. "build:dist": "yarn rollup --config rollup.config.js",
  73. "build:flow": "cp src/tiny-invariant.js.flow dist/tiny-invariant.cjs.js.flow",
  74. "build:typescript": "tsc ./src/tiny-invariant.ts --emitDeclarationOnly --declaration --outDir ./dist",
  75. "lint": "yarn prettier:check",
  76. "prepublishOnly": "yarn build",
  77. "prettier:check": "yarn prettier --write src/** test/**",
  78. "prettier:write": "yarn prettier --debug-check src/** test/**",
  79. "test": "yarn jest",
  80. "typecheck": "yarn tsc --noEmit src/*.ts test/*.ts",
  81. "validate": "yarn lint && yarn typecheck"
  82. },
  83. "sideEffects": false,
  84. "types": "dist/tiny-invariant.d.ts",
  85. "version": "1.1.0"
  86. }