package.json 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "api-check",
  3. "version": "7.5.5",
  4. "description": "Validate the api to your functions to help people use them correctly. This is pretty much React's propTypes without React.",
  5. "main": "dist/api-check.js",
  6. "dependencies": {},
  7. "devDependencies": {
  8. "babel": "5.5.8",
  9. "babel-core": "5.8.25",
  10. "babel-eslint": "3.1.17",
  11. "babel-loader": "5.1.4",
  12. "bootstrap": "3.3.5",
  13. "chai": "3.3.0",
  14. "codecov.io": "0.1.4",
  15. "commitizen": "2.3.0",
  16. "cz-conventional-changelog": "1.1.4",
  17. "eslint": "1.5.1",
  18. "eslint-config-kentcdodds": "4.0.0",
  19. "eslint-loader": "1.0.0",
  20. "eslint-plugin-mocha": "0.5.1",
  21. "ghooks": "0.3.2",
  22. "isparta": "3.0.3",
  23. "isparta-loader": "0.2.0",
  24. "istanbul": "0.3.21",
  25. "json-stringify-safe": "5.0.0",
  26. "karma": "0.12.36",
  27. "karma-chai": "0.1.0",
  28. "karma-chrome-launcher": "0.1.12",
  29. "karma-coverage": "0.4.2",
  30. "karma-firefox-launcher": "0.1.6",
  31. "karma-mocha": "0.1.10",
  32. "karma-webpack": "1.7.0",
  33. "kcd-common-tools": "1.0.0-beta.9",
  34. "lodash": "3.10.1",
  35. "mocha": "2.3.3",
  36. "node-libs-browser": "0.5.3",
  37. "publish-latest": "1.1.2",
  38. "semantic-release": "4.3.5",
  39. "surge": "0.14.2",
  40. "uglify-loader": "1.2.0",
  41. "validate-commit-msg": "1.0.0",
  42. "webpack": "1.9.11"
  43. },
  44. "scripts": {
  45. "commit": "git-cz",
  46. "start": "COVERAGE=true NODE_ENV=test karma start",
  47. "test": "COVERAGE=true NODE_ENV=test karma start --single-run",
  48. "test:debug": "echo 'WARNING: This is currently not working quite right...' && NODE_ENV=test karma start --browsers Chrome",
  49. "build:dist": "NODE_ENV=development webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors",
  50. "build:prod": "NODE_ENV=production webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors",
  51. "build": "npm run build:dist & npm run build:prod",
  52. "check-coverage": "./node_modules/istanbul/lib/cli.js check-coverage --statements 100 --functions 100 --lines 100 --branches 100",
  53. "report-coverage": "cat ./coverage/lcov.info | codecov",
  54. "deploy": "npm run deployClean && npm run deployCopy && npm run deploySurge",
  55. "deploySurge": "surge -p deploy.ignored -d api-check.surge.sh",
  56. "deployCopy": "cp index.html deploy.ignored/ && cp dist/api-check.js deploy.ignored/dist/",
  57. "deployClean": "rm -rf deploy.ignored/ && mkdir deploy.ignored/ && mkdir deploy.ignored/dist/",
  58. "code-checks": "eslint src/",
  59. "semantic-release": "semantic-release pre && npm run build && npm publish && publish-latest && semantic-release post"
  60. },
  61. "repository": {
  62. "type": "git",
  63. "url": "https://github.com/kentcdodds/api-check"
  64. },
  65. "keywords": [
  66. "javascript",
  67. "validation",
  68. "api",
  69. "function",
  70. "propTypes"
  71. ],
  72. "author": "Kent C. Dodds <kent@doddsfamily.us> (http://kent.doddsfamily.us)",
  73. "license": "MIT",
  74. "bugs": {
  75. "url": "https://github.com/kentcdodds/api-check/issues"
  76. },
  77. "homepage": "https://github.com/kentcdodds/api-check",
  78. "config": {
  79. "ghooks": {
  80. "pre-commit": "./node_modules/.bin/validate-commit-msg && npm run code-checks && npm t && npm run check-coverage"
  81. },
  82. "commitizen": {
  83. "path": "node_modules/cz-conventional-changelog"
  84. }
  85. },
  86. "kcdCommon": {
  87. "webpack": {
  88. "output": {
  89. "library": "apiCheck",
  90. "libraryTarget": "umd"
  91. }
  92. }
  93. }
  94. }