package.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. {
  2. "name": "angular-formly",
  3. "version": "6.26.1",
  4. "author": "Astrism <astrisms@gmail.com>",
  5. "contributors": [
  6. "Astrism <astrisms@gmail.com>",
  7. "Kent C. Dodds <kent@doddsfamily.us>"
  8. ],
  9. "homepage": "http://formly-js.github.io/angular-formly/",
  10. "repository": {
  11. "type": "git",
  12. "url": "https://github.com/formly-js/angular-formly.git"
  13. },
  14. "main": "dist/formly.js",
  15. "license": "MIT",
  16. "scripts": {
  17. "build:dist": "better-npm-run build:dist",
  18. "build:prod": "better-npm-run build:prod",
  19. "build": "npm run build:dist & npm run build:prod",
  20. "test": "better-npm-run test test:single",
  21. "test:mac": "COVERAGE=true NODE_ENV=test karma start",
  22. "test:watch": "better-npm-run test",
  23. "test:debug": "better-npm-run test:debug",
  24. "test:ci": "better-npm-run test:ci",
  25. "start:mac": "npm run test:mac",
  26. "start": "npm run test:watch",
  27. "check-coverage": "istanbul check-coverage --statements 93 --branches 89 --functions 92 --lines 92",
  28. "report-coverage": "cat ./coverage/lcov.info | node_modules/.bin/codecov",
  29. "code-checks": "eslint src/",
  30. "commit": "git-cz",
  31. "publish:latest": "with-package scripts/publish-latest.sh pkg.version",
  32. "semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post && npm run publish:latest"
  33. },
  34. "betterScripts": {
  35. "build:dist": {
  36. "env": {
  37. "NODE_ENV": "development"
  38. },
  39. "command": "webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors"
  40. },
  41. "build:prod": {
  42. "env": {
  43. "NODE_ENV": "production"
  44. },
  45. "command": "webpack --config node_modules/kcd-common-tools/shared/webpack.config.js --progress --colors"
  46. },
  47. "test:watch": {
  48. "env": {
  49. "COVERAGE": "true",
  50. "NODE_ENV": "test"
  51. },
  52. "command": "karma start"
  53. },
  54. "test": {
  55. "env": {
  56. "COVERAGE": "true",
  57. "NODE_ENV": "test"
  58. },
  59. "command": "karma start --single-run"
  60. },
  61. "test:debug": {
  62. "env": {
  63. "NODE_ENV": "test"
  64. },
  65. "command": "karma start --browsers Chrome"
  66. },
  67. "test:ci": {
  68. "env": {
  69. "NODE_ENV": "test:ci"
  70. },
  71. "command": "karma start"
  72. }
  73. },
  74. "config": {
  75. "ghooks": {
  76. "commit-msg": "node scripts/pre-commit-git-check.js && npm run code-checks && npm run test && npm run check-coverage"
  77. }
  78. },
  79. "description": "AngularJS directive which takes JSON representing a form and renders to HTML",
  80. "peerDependencies": {
  81. "angular": "^1.2.x || >= 1.4.0-beta.0 || >= 1.5.0-beta.0",
  82. "api-check": "^7.0.0"
  83. },
  84. "devDependencies": {
  85. "angular": "1.4.3",
  86. "angular-mocks": "1.4.3",
  87. "api-check": "^7.3.0",
  88. "babel": "5.8.9",
  89. "babel-core": "5.8.9",
  90. "babel-eslint": "4.0.5",
  91. "babel-loader": "5.3.2",
  92. "better-npm-run": "benoror/better-npm-run#0.0.1",
  93. "chai": "3.2.0",
  94. "codecov.io": "0.1.5",
  95. "commitizen": "1.0.4",
  96. "cz-conventional-changelog": "1.1.0",
  97. "eslint": "0.24.1",
  98. "eslint-loader": "0.14.2",
  99. "eslint-plugin-mocha": "0.4.0",
  100. "ghooks": "0.3.2",
  101. "http-server": "0.8.0",
  102. "isparta": "3.0.3",
  103. "isparta-loader": "0.2.0",
  104. "istanbul": "0.3.17",
  105. "karma": "0.12.37",
  106. "karma-chai": "0.1.0",
  107. "karma-chrome-launcher": "0.2.0",
  108. "karma-coverage": "0.4.2",
  109. "karma-firefox-launcher": "0.1.6",
  110. "karma-mocha": "0.2.0",
  111. "karma-sinon": "1.0.4",
  112. "karma-sinon-chai": "1.0.0",
  113. "karma-webpack": "1.6.0",
  114. "kcd-common-tools": "1.0.0-beta.23",
  115. "lodash": "3.10.0",
  116. "mocha": "2.2.5",
  117. "ng-annotate": "1.0.2",
  118. "ng-annotate-loader": "0.0.6",
  119. "node-libs-browser": "0.5.2",
  120. "raw-loader": "0.5.1",
  121. "semantic-release": "^4.3.4",
  122. "sinon": "1.15.4",
  123. "sinon-chai": "2.8.0",
  124. "uglify-loader": "1.2.0",
  125. "webpack": "1.10.2",
  126. "with-package": "0.2.0"
  127. },
  128. "jspm": {
  129. "peerDependencies": {
  130. "angular": "*"
  131. }
  132. },
  133. "kcdCommon": {
  134. "webpack": "scripts/webpack-overrides.js",
  135. "karma": "scripts/karma-overrides.js"
  136. },
  137. "czConfig": {
  138. "path": "node_modules/cz-conventional-changelog"
  139. }
  140. }