package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "growi-commons",
  3. "version": "5.0.4",
  4. "description": "GROWI Commons Libraries",
  5. "keywords": [
  6. "growi"
  7. ],
  8. "main": "src/index.js",
  9. "files": [
  10. "src"
  11. ],
  12. "scripts": {
  13. "lint:js:fix": "eslint **/*.{js,jsx} --fix",
  14. "lint:js": "eslint **/*.{js,jsx}",
  15. "lint:styles:fix": "prettier-stylelint --quiet --write src/styles/scss/**/*.scss",
  16. "lint:styles": "stylelint src/styles/scss/**/*.scss",
  17. "lint": "npm-run-all -p lint:js lint:styles",
  18. "test": "jest --verbose"
  19. },
  20. "repository": "https://github.com/weseek/growi-commons.git",
  21. "author": "Yuki Takei <yuki@weseek.co.jp>",
  22. "license": "MIT",
  23. "bugs": {
  24. "url": "https://github.com/weseek/growi-commons/issues"
  25. },
  26. "dependencies": {},
  27. "homepage": "https://github.com/weseek/growi-commons#readme",
  28. "devDependencies": {
  29. "@babel/preset-env": "^7.4.3",
  30. "babel-eslint": "^10.0.1",
  31. "babel-plugin-rewire": "^1.2.0",
  32. "eslint": "^6.0.1",
  33. "eslint-config-weseek": "^1.0.2",
  34. "eslint-plugin-import": "^2.18.0",
  35. "eslint-plugin-jest": "^22.7.2",
  36. "eslint-plugin-react": "^7.14.2",
  37. "jest": "^24.7.1",
  38. "jest-localstorage-mock": "^2.4.0",
  39. "module-alias": "^2.2.0",
  40. "npm-run-all": "^4.1.5",
  41. "prettier-stylelint": "^0.4.2"
  42. },
  43. "_moduleAliases": {
  44. "@root": ".",
  45. "@src": "src"
  46. },
  47. "jest": {
  48. "moduleNameMapper": {
  49. "@root/(.+)": "<rootDir>/$1",
  50. "@src/(.+)": "<rootDir>/src/$1"
  51. },
  52. "setupFiles": [
  53. "jest-localstorage-mock"
  54. ]
  55. },
  56. "engines": {
  57. "node": ">=8.11.1 <15",
  58. "npm": ">=5.6.0 <7",
  59. "yarn": ">=1.5.1 <2"
  60. }
  61. }