package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "caniuse-api",
  3. "version": "3.0.0",
  4. "description": "request the caniuse data to check browsers compatibilities",
  5. "repository": "https://github.com/nyalab/caniuse-api.git",
  6. "keywords": [
  7. "caniuse",
  8. "browserslist"
  9. ],
  10. "authors": [
  11. "nyalab",
  12. "MoOx"
  13. ],
  14. "license": "MIT",
  15. "main": "dist/index.js",
  16. "files": [
  17. "dist"
  18. ],
  19. "dependencies": {
  20. "browserslist": "^4.0.0",
  21. "caniuse-lite": "^1.0.0",
  22. "lodash.memoize": "^4.1.2",
  23. "lodash.uniq": "^4.5.0"
  24. },
  25. "devDependencies": {
  26. "babel-cli": "^6.22.2",
  27. "babel-eslint": "^5.0.0",
  28. "babel-preset-latest": "^6.22.0",
  29. "babel-tape-runner": "^2.0.1",
  30. "jshint": "^2.5.10",
  31. "npmpub": "^3.1.0",
  32. "tap-spec": "^4.1.1",
  33. "tape": "^4.6.0"
  34. },
  35. "scripts": {
  36. "build": "babel src --out-dir dist",
  37. "lint": "jshint src",
  38. "prepublish": "npm run build",
  39. "test": "npm run lint && babel-tape-runner test/*.js | tap-spec",
  40. "release": "npmpub"
  41. },
  42. "babel": {
  43. "presets": [
  44. "babel-preset-latest"
  45. ]
  46. }
  47. }