Brak opisu

package.json 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. {
  2. "keywords": [
  3. "webpack",
  4. "react"
  5. ],
  6. "name": "whiteboard",
  7. "version": "0.0.1",
  8. "private": true,
  9. "main": "dist/index.js",
  10. "types": "dist/types/index.d.ts",
  11. "prettier": {
  12. "printWidth": 100,
  13. "singleQuote": true
  14. },
  15. "lint-staged": {
  16. "*.{ts,tsx,scss,less,md}": [
  17. "prettier --write",
  18. "git add"
  19. ]
  20. },
  21. "scripts": {
  22. "clean": "rimraf dist",
  23. "build": "npm run clean && npm run build:cjs && npm run copy && npm run build:umd",
  24. "build:cjs": "tsc --project ./tsconfig.cjs.json",
  25. "build:umd": "NODE_ENV=production webpack --config ./scripts/webpack/webpack.config.umd.js",
  26. "copy": "copyfiles -u 1 './src/**/*.(less|svg)' dist/cjs/",
  27. "dev": "webpack-dev-server --config ./scripts/webpack/webpack.config.dev.js --hot",
  28. "start": "npm run dev"
  29. },
  30. "dependencies": {
  31. "eventemitter3": "^3.1.0",
  32. "prop-types": "^15.6.2",
  33. "react": "^16.8.0",
  34. "react-dom": "^16.8.0",
  35. "uuid": "^3.3.2"
  36. },
  37. "devDependencies": {
  38. "@types/classnames": "^2.2.7",
  39. "@types/eventemitter3": "^2.0.2",
  40. "@types/jest": "23.3.12",
  41. "@types/react-dom": "^16.0.11",
  42. "@types/react-router-dom": "^4.3.1",
  43. "@types/uuid": "^3.4.4",
  44. "autoprefixer": "9.4.4",
  45. "awesome-typescript-loader": "^5.2.1",
  46. "classnames": "^2.2.6",
  47. "copy-webpack-plugin": "^4.6.0",
  48. "copyfiles": "^2.1.0",
  49. "css-loader": "2.1.0",
  50. "enzyme": "^3.8.0",
  51. "file-loader": "3.0.1",
  52. "fork-ts-checker-webpack-plugin": "^0.5.2",
  53. "html-webpack-plugin": "^3.2.0",
  54. "html-webpack-template": "^6.2.0",
  55. "jest": "23.6.0",
  56. "jest-cli": "23.6.0",
  57. "json-server": "0.14.2",
  58. "lerna": "^3.8.5",
  59. "less": "^3.9.0",
  60. "less-loader": "^4.1.0",
  61. "mini-css-extract-plugin": "^0.5.0",
  62. "optimize-css-assets-webpack-plugin": "5.0.1",
  63. "parallelshell": "^3.0.2",
  64. "postcss-loader": "3.0.0",
  65. "react-hot-loader": "^4.6.3",
  66. "react-router-dom": "^4.3.1",
  67. "resolve-url-loader": "3.0.0",
  68. "rimraf": "^2.6.3",
  69. "style-loader": "0.23.1",
  70. "svg-inline-loader": "^0.8.0",
  71. "ts-jest": "^23.10.5",
  72. "ts-loader": "5.3.3",
  73. "tslint": "^5.12.0",
  74. "tslint-config-prettier": "^1.17.0",
  75. "tslint-react": "^3.6.0",
  76. "typescript": "3.2.2",
  77. "uglifyjs-webpack-plugin": "2.1.1",
  78. "url-loader": "^1.1.2",
  79. "wasm-loader": "^1.3.0",
  80. "webpack": "^4.28.3",
  81. "webpack-cli": "3.2.1",
  82. "webpack-dashboard": "2.0.0",
  83. "webpack-dev-server": "^3.1.14",
  84. "webpack-merge": "^4.2.1"
  85. },
  86. "files": [
  87. "dist/"
  88. ]
  89. }