package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "lie",
  3. "version": "3.1.1",
  4. "description": "A basic but performant promise implementation",
  5. "license": "MIT",
  6. "repository": {
  7. "type": "git",
  8. "url": "https://github.com/calvinmetcalf/lie.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/calvinmetcalf/lie/issues"
  12. },
  13. "keywords": [
  14. "lie",
  15. "promise",
  16. "async",
  17. "aplus"
  18. ],
  19. "main": "lib/index.js",
  20. "scripts": {
  21. "pretest": "npm run build",
  22. "test": "npm run jshint && mocha -R nyan ./test/cover.js",
  23. "build-node": "copyfiles -f src/index.js lib && browserify-transform-cli inline-process-browser unreachable-branch-transform es3ify < src/index.js > lib/browser.js",
  24. "build-js": "browserify -s Promise -p bundle-collapser/plugin . | derequire > ./dist/lie.js",
  25. "build-min": "uglifyjs ./dist/lie.js -mc > ./dist/lie.min.js",
  26. "build-poly-js": "browserify -p bundle-collapser/plugin ./polyfill.js | derequire > ./dist/lie.polyfill.js",
  27. "build-poly-min": "uglifyjs ./dist/lie.polyfill.js -mc > ./dist/lie.polyfill.min.js",
  28. "build-poly": "npm run build-poly-js && npm run build-poly-min",
  29. "build": "npm run build-node && npm run build-js && npm run build-min && npm run build-poly",
  30. "prebuild": "rimraf lib dist && mkdirp lib dist",
  31. "cover": "istanbul cover _mocha ./test/cover.js -- -R spec && istanbul check-coverage --lines 100 --function 100 --statements 100 --branches 100",
  32. "jshint": "jshint src",
  33. "node": "mocha -R spec ./test/cover.js",
  34. "browser": "browserify test/cover.js > test/browser.js && mocha-phantomjs test/test.html"
  35. },
  36. "devDependencies": {
  37. "browserify": "^13.0.0",
  38. "browserify-transform-cli": "^1.1.1",
  39. "bundle-collapser": "^1.2.1",
  40. "copyfiles": "^1.0.0",
  41. "derequire": "^1.2.0",
  42. "es3ify": "^0.2.2",
  43. "inline-process-browser": "^1.0.0",
  44. "istanbul": "^0.2.6",
  45. "jshint": "^2.4.4",
  46. "mkdirp": "^0.5.1",
  47. "mocha": "^1.18.0",
  48. "mocha-phantomjs": "~3.5.0",
  49. "phantomjs": "^1.9.9",
  50. "promises-aplus-tests": "calvinmetcalf/promises-tests#phantom",
  51. "rimraf": "^2.5.4",
  52. "uglify-js": "^2.4.13",
  53. "unreachable-branch-transform": "^0.3.0"
  54. },
  55. "dependencies": {
  56. "immediate": "~3.0.5"
  57. },
  58. "browser": {
  59. "./lib/index.js": "./lib/browser.js"
  60. },
  61. "files": [
  62. "lib",
  63. "dist",
  64. "polyfill.js"
  65. ]
  66. }