package.json 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "setprototypeof",
  3. "version": "1.2.0",
  4. "description": "A small polyfill for Object.setprototypeof",
  5. "main": "index.js",
  6. "typings": "index.d.ts",
  7. "scripts": {
  8. "test": "standard && mocha",
  9. "testallversions": "npm run node010 && npm run node4 && npm run node6 && npm run node9 && npm run node11",
  10. "testversion": "docker run -it --rm -v $(PWD):/usr/src/app -w /usr/src/app node:${NODE_VER} npm install mocha@${MOCHA_VER:-latest} && npm t",
  11. "node010": "NODE_VER=0.10 MOCHA_VER=3 npm run testversion",
  12. "node4": "NODE_VER=4 npm run testversion",
  13. "node6": "NODE_VER=6 npm run testversion",
  14. "node9": "NODE_VER=9 npm run testversion",
  15. "node11": "NODE_VER=11 npm run testversion",
  16. "prepublishOnly": "npm t",
  17. "postpublish": "git push origin && git push origin --tags"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "https://github.com/wesleytodd/setprototypeof.git"
  22. },
  23. "keywords": [
  24. "polyfill",
  25. "object",
  26. "setprototypeof"
  27. ],
  28. "author": "Wes Todd",
  29. "license": "ISC",
  30. "bugs": {
  31. "url": "https://github.com/wesleytodd/setprototypeof/issues"
  32. },
  33. "homepage": "https://github.com/wesleytodd/setprototypeof",
  34. "devDependencies": {
  35. "mocha": "^6.1.4",
  36. "standard": "^13.0.2"
  37. }
  38. }