package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "runjs",
  3. "version": "4.3.2",
  4. "description": "Minimalistic building tool",
  5. "keywords": [
  6. "build",
  7. "system",
  8. "make",
  9. "tool"
  10. ],
  11. "main": "lib/index.js",
  12. "bin": {
  13. "run": "bin/run.js"
  14. },
  15. "scripts": {
  16. "lint": "eslint src/** bin/run.js test/**",
  17. "build": "babel src/ --out-dir lib/",
  18. "test": "yarn lint && flow check && yarn build && yarn sandbox:dev && jest ./test --coverage",
  19. "test:unit": "jest ./test/unit/",
  20. "test:e2e": "jest ./test/e2e/",
  21. "test:prod": "yarn sandbox:setup:prod && jest ./test/e2e/",
  22. "sandbox:clean": "rm -rf ./test/e2e/sandbox/node_modules && mkdir -p ./test/e2e/sandbox/node_modules/.bin",
  23. "sandbox:dev": "yarn sandbox:clean && ln -s ../../../../ ./test/e2e/sandbox/node_modules/runjs",
  24. "sandbox:prod": "yarn sandbox:clean && (cd ./test/e2e/sandbox && yarn add runjs)",
  25. "clean": "rm -rf node_modules && yarn sandbox:clean",
  26. "precommit": "lint-staged"
  27. },
  28. "lint-staged": {
  29. "*.js": [
  30. "eslint --fix",
  31. "git add"
  32. ]
  33. },
  34. "engines": {
  35. "node": ">=6.11.1"
  36. },
  37. "repository": {
  38. "type": "git",
  39. "url": "git+https://github.com/pawelgalazka/runjs.git"
  40. },
  41. "author": "Pawel Galazka",
  42. "license": "MIT",
  43. "bugs": {
  44. "url": "https://github.com/pawelgalazka/runjs/issues"
  45. },
  46. "homepage": "https://github.com/pawelgalazka/runjs#readme",
  47. "dependencies": {
  48. "chalk": "2.3.0",
  49. "lodash.padend": "4.6.1",
  50. "microcli": "1.3.1",
  51. "omelette": "0.4.5"
  52. },
  53. "devDependencies": {
  54. "babel-cli": "6.26.0",
  55. "babel-eslint": "8.0.1",
  56. "babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
  57. "babel-preset-flow": "6.23.0",
  58. "eslint": "4.10.0",
  59. "eslint-config-prettier": "2.7.0",
  60. "eslint-plugin-flowtype": "2.39.1",
  61. "eslint-plugin-prettier": "2.3.1",
  62. "flow-bin": "0.58.0",
  63. "husky": "0.14.3",
  64. "jest": "22.4.2",
  65. "lint-staged": "4.3.0",
  66. "prettier": "1.7.4"
  67. },
  68. "babel": {
  69. "plugins": [
  70. "transform-es2015-modules-commonjs"
  71. ],
  72. "presets": [
  73. "flow"
  74. ]
  75. },
  76. "jest": {
  77. "testEnvironment": "node",
  78. "collectCoverageFrom": [
  79. "src/**/*.js",
  80. "bin/**/*.js"
  81. ],
  82. "coverageReporters": [
  83. "text"
  84. ],
  85. "coverageThreshold": {
  86. "global": {
  87. "lines": 55
  88. }
  89. }
  90. }
  91. }