package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "name": "ts-invariant",
  3. "version": "0.4.4",
  4. "author": "Ben Newman <ben@apollographql.com>",
  5. "description": "TypeScript implementation of invariant(condition, message)",
  6. "license": "MIT",
  7. "main": "lib/invariant.js",
  8. "module": "lib/invariant.esm.js",
  9. "types": "lib/invariant.d.ts",
  10. "keywords": [
  11. "invariant",
  12. "assertion",
  13. "precondition",
  14. "TypeScript"
  15. ],
  16. "homepage": "https://github.com/apollographql/invariant-packages",
  17. "repository": {
  18. "type": "git",
  19. "url": "git+https://github.com/apollographql/invariant-packages.git"
  20. },
  21. "bugs": {
  22. "url": "https://github.com/apollographql/invariant-packages/issues"
  23. },
  24. "scripts": {
  25. "build": "tsc && rollup -c",
  26. "mocha": "mocha --reporter spec --full-trace lib/tests.js",
  27. "prepublish": "npm run build",
  28. "test": "npm run build && npm run mocha"
  29. },
  30. "dependencies": {
  31. "tslib": "^1.9.3"
  32. },
  33. "devDependencies": {
  34. "@types/invariant": "^2.2.29",
  35. "invariant": "^2.2.4",
  36. "mocha": "^5.2.0",
  37. "rollup": "^1.1.2",
  38. "rollup-plugin-typescript2": "^0.19.2"
  39. },
  40. "gitHead": "c83c2aeb7917b93751d17706d800a7ea16d8fe3e"
  41. }