package.json 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. "/history",
  20. "/react-router",
  21. "/react-router-dom"
  22. ],
  23. "_resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz",
  24. "_shasum": "634c5f8efdc27714b7f386c35e6760991d230875",
  25. "_spec": "tiny-invariant@^1.0.2",
  26. "_where": "G:\\micro\\react\\cld2_react\\node_modules\\react-router-dom",
  27. "author": {
  28. "name": "Alex Reardon",
  29. "email": "alexreardon@gmail.com"
  30. },
  31. "bugs": {
  32. "url": "https://github.com/alexreardon/tiny-invariant/issues"
  33. },
  34. "bundleDependencies": false,
  35. "deprecated": false,
  36. "description": "A tiny invariant function",
  37. "devDependencies": {
  38. "@rollup/plugin-replace": "^2.3.0",
  39. "@rollup/plugin-typescript": "^3.0.0",
  40. "@types/jest": "^25.1.0",
  41. "jest": "^25.1.0",
  42. "prettier": "^1.19.1",
  43. "rimraf": "^3.0.1",
  44. "rollup": "^1.30.1",
  45. "rollup-plugin-terser": "^5.2.0",
  46. "ts-expect": "^1.1.0",
  47. "ts-jest": "^25.0.0",
  48. "tslib": "^1.10.0",
  49. "typescript": "^3.7.5"
  50. },
  51. "files": [
  52. "/dist",
  53. "/src"
  54. ],
  55. "homepage": "https://github.com/alexreardon/tiny-invariant#readme",
  56. "keywords": [
  57. "invariant",
  58. "error"
  59. ],
  60. "license": "MIT",
  61. "main": "dist/tiny-invariant.cjs.js",
  62. "module": "dist/tiny-invariant.esm.js",
  63. "name": "tiny-invariant",
  64. "repository": {
  65. "type": "git",
  66. "url": "git+https://github.com/alexreardon/tiny-invariant.git"
  67. },
  68. "scripts": {
  69. "build": "yarn build:clean && yarn build:dist && yarn build:typescript",
  70. "build:clean": "rimraf dist",
  71. "build:dist": "yarn rollup --config rollup.config.js",
  72. "build:flow": "cp src/tiny-invariant.js.flow dist/tiny-invariant.cjs.js.flow",
  73. "build:typescript": "tsc ./src/tiny-invariant.ts --emitDeclarationOnly --declaration --outDir ./dist",
  74. "lint": "yarn prettier:check",
  75. "prepublishOnly": "yarn build",
  76. "prettier:check": "yarn prettier --write src/** test/**",
  77. "prettier:write": "yarn prettier --debug-check src/** test/**",
  78. "test": "yarn jest",
  79. "typecheck": "yarn tsc --noEmit src/*.ts test/*.ts",
  80. "validate": "yarn lint && yarn typecheck"
  81. },
  82. "sideEffects": false,
  83. "types": "dist/tiny-invariant.d.ts",
  84. "version": "1.1.0"
  85. }