package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "name": "tiny-warning",
  3. "version": "1.0.3",
  4. "keywords": [
  5. "warning",
  6. "warn"
  7. ],
  8. "description": "A tiny warning function",
  9. "main": "dist/tiny-warning.cjs.js",
  10. "module": "dist/tiny-warning.esm.js",
  11. "types": "src/index.d.ts",
  12. "sideEffects": false,
  13. "files": [
  14. "/dist",
  15. "/src"
  16. ],
  17. "author": "Alex Reardon <alexreardon@gmail.com>",
  18. "repository": {
  19. "type": "git",
  20. "url": "https://github.com/alexreardon/tiny-warning.git"
  21. },
  22. "bugs": {
  23. "url": "https://github.com/alexreardon/tiny-warning/issues"
  24. },
  25. "license": "MIT",
  26. "scripts": {
  27. "test": "yarn jest",
  28. "lint": "yarn prettier --debug-check src/** test/**",
  29. "typecheck": "yarn flow",
  30. "validate": "yarn lint && yarn flow",
  31. "build:clean": "rimraf dist",
  32. "build:flow": "echo \"// @flow\n\nexport * from '../src';\" > dist/tiny-warning.cjs.js.flow",
  33. "build:dist": "yarn rollup --config rollup.config.js",
  34. "build": "yarn build:clean && yarn build:dist && yarn build:flow",
  35. "prepublishOnly": "yarn build"
  36. },
  37. "devDependencies": {
  38. "@babel/core": "^7.5.0",
  39. "@babel/preset-env": "^7.5.0",
  40. "@babel/preset-flow": "^7.0.0",
  41. "babel-core": "7.0.0-bridge.0",
  42. "babel-jest": "^24.8.0",
  43. "flow-bin": "0.102.0",
  44. "jest": "^24.8.0",
  45. "prettier": "1.18.2",
  46. "regenerator-runtime": "^0.13.2",
  47. "rimraf": "^2.6.3",
  48. "rollup": "^1.16.6",
  49. "rollup-plugin-babel": "^4.3.3",
  50. "rollup-plugin-replace": "^2.2.0",
  51. "rollup-plugin-uglify": "^6.0.2"
  52. }
  53. }