package.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "es6-shim",
  3. "version": "0.35.8",
  4. "author": "Paul Miller (http://paulmillr.com)",
  5. "description": "ECMAScript 6 (Harmony) compatibility shims for legacy JavaScript engines",
  6. "keywords": [
  7. "ecmascript",
  8. "harmony",
  9. "es6",
  10. "shim",
  11. "promise",
  12. "promises",
  13. "setPrototypeOf",
  14. "map",
  15. "set",
  16. "__proto__"
  17. ],
  18. "homepage": "https://github.com/paulmillr/es6-shim/",
  19. "license": "MIT",
  20. "repository": {
  21. "type": "git",
  22. "url": "git://github.com/paulmillr/es6-shim.git"
  23. },
  24. "main": "es6-shim",
  25. "scripts": {
  26. "prepublishOnly": "safe-publish-latest && npm run minify",
  27. "prepublih": "not-in-publish || npm run prepublishOnly",
  28. "pretest": "npm run lint && evalmd *.md",
  29. "test": "NODE_OPTIONS='--unhandled-rejections=none' npm run tests-only",
  30. "posttest": "aud --production",
  31. "tests-only": "nyc mocha 'test/**/*.js' 'test-sham/*.js'",
  32. "test:shim": "nyc mocha 'test/**/*.js'",
  33. "test:sham": "nyc mocha 'test-sham/*.js'",
  34. "test:native": "NO_ES6_SHIM=1 npm run tests-only",
  35. "lint": "npm run lint:shim && npm run lint:sham",
  36. "lint:shim": "eslint es6-shim.js test/*.js test/*/*.js",
  37. "lint:sham": "eslint es6-sham.js test-sham/*.js",
  38. "minify": "npm run minify:shim && npm run minify:sham",
  39. "minify:shim": "uglifyjs es6-shim.js --support-ie8 --keep-fnames --comments --source-map=es6-shim.map -m -b ascii_only=true,beautify=false > es6-shim.min.js",
  40. "minify:sham": "uglifyjs es6-sham.js --support-ie8 --keep-fnames --comments --source-map=es6-sham.map -m -b ascii_only=true,beautify=false > es6-sham.min.js",
  41. "sauce-connect": "curl -L https://gist.githubusercontent.com/henrikhodne/9322897/raw/sauce-connect.sh | bash && export TRAVIS_SAUCE_CONNECT=true",
  42. "sauce": "npm run sauce-connect && grunt sauce"
  43. },
  44. "testling": {
  45. "html": "testling.html",
  46. "browsers": [
  47. "iexplore/6.0..latest",
  48. "firefox/3.0..6.0",
  49. "firefox/10.0",
  50. "firefox/15.0..latest",
  51. "firefox/nightly",
  52. "chrome/4.0..10.0",
  53. "chrome/20.0..latest",
  54. "chrome/canary",
  55. "opera/10.0..latest",
  56. "opera/next",
  57. "safari/4.0..latest",
  58. "ipad/6.0..latest",
  59. "iphone/6.0..latest",
  60. "android-browser/4.2..latest"
  61. ]
  62. },
  63. "devDependencies": {
  64. "@ljharb/eslint-config": "^21.0.1",
  65. "aud": "^2.0.2",
  66. "chai": "^3.5.0",
  67. "es5-shim": "^4.6.7",
  68. "eslint": "=8.8.0",
  69. "evalmd": "^0.0.19",
  70. "grunt": "^0.4.5",
  71. "grunt-contrib-connect": "^1.0.2",
  72. "grunt-contrib-watch": "^1.1.0",
  73. "grunt-saucelabs": "^8.6.3",
  74. "in-publish": "^2.0.1",
  75. "mocha": "^3.5.3",
  76. "nyc": "^10.3.2",
  77. "promises-aplus-tests": "^2.1.2",
  78. "promises-es6-tests": "^0.5.0",
  79. "safe-publish-latest": "^2.0.0",
  80. "tape": "^5.6.3",
  81. "uglify-js": "2.7.3"
  82. }
  83. }