package.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "growi-commons",
  3. "version": "4.0.0",
  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": "^5.15.1",
  33. "eslint-config-weseek": "^1.0.1",
  34. "eslint-plugin-import": "^2.16.0",
  35. "eslint-plugin-jest": "^22.4.1",
  36. "eslint-plugin-react": "^7.12.4",
  37. "jest": "^24.7.1",
  38. "jest-localstorage-mock": "^2.4.0",
  39. "module-alias": "^2.2.0",
  40. "prettier-stylelint": "^0.4.2"
  41. },
  42. "_moduleAliases": {
  43. "@root": ".",
  44. "@src": "src"
  45. },
  46. "jest": {
  47. "moduleNameMapper": {
  48. "@root/(.+)": "<rootDir>/$1",
  49. "@src/(.+)": "<rootDir>/src/$1"
  50. },
  51. "setupFiles": [
  52. "jest-localstorage-mock"
  53. ]
  54. },
  55. "engines": {
  56. "node": ">=8.11.1 <11",
  57. "npm": ">=5.6.0 <7",
  58. "yarn": ">=1.5.1 <2"
  59. }
  60. }