package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@mightyplow/jslib",
  3. "version": "0.21.1",
  4. "description": "js helpers library",
  5. "main": "dist/index.js",
  6. "private": true,
  7. "devDependencies": {
  8. "babel-cli": "^6.26.0",
  9. "babel-preset-env": "^1.6.0",
  10. "babel-preset-stage-2": "^6.24.1",
  11. "jsdoc-to-markdown": "^3.0.0",
  12. "nodeunit": "^0.10.2",
  13. "rimraf": "^2.6.1"
  14. },
  15. "scripts": {
  16. "createPackageJson": "BABEL_ENV=modules babel-node bin/createPackageJson.js",
  17. "doc": "jsdoc2md -f src/**/*.js > dist/README.md",
  18. "nodeunit": "nodeunit",
  19. "test": "BABEL_ENV=modules babel-node node_modules/.bin/nodeunit src/**/__tests__/*.test.js",
  20. "build": "rimraf dist && babel src -d dist --ignore __tests__",
  21. "watch": "npm run build -- --watch",
  22. "postbuild": "npm run doc",
  23. "prepublish": "npm run test && npm run build && npm run createPackageJson",
  24. "publish": "cd dist && npm publish"
  25. },
  26. "keywords": [
  27. "js",
  28. "javascript",
  29. "helpers",
  30. "library"
  31. ],
  32. "author": {
  33. "name": "mightyplow",
  34. "email": "mightyplow@gmail.com",
  35. "url": "http://mightyplow.net"
  36. },
  37. "license": "ISC",
  38. "babel": {
  39. "presets": [
  40. [
  41. "env",
  42. {
  43. "modules": false
  44. }
  45. ],
  46. "stage-2"
  47. ],
  48. "env": {
  49. "modules": {
  50. "presets": [
  51. [
  52. "env",
  53. {
  54. "modules": "commonjs"
  55. }
  56. ]
  57. ]
  58. }
  59. }
  60. },
  61. "dependencies": {
  62. "core-js": "^2.5.1"
  63. }
  64. }