暫無描述

package.json 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "cts",
  3. "version": "0.0.1",
  4. "description": "cts, chat-ts-sdk",
  5. "repository": {
  6. "type": "git",
  7. "url": "https://git.links123.net/Chevalier/chat-ts-sdk"
  8. },
  9. "license": "MIT",
  10. "keywords": [
  11. "react",
  12. "redux",
  13. "mobx",
  14. "webpack",
  15. "typescript"
  16. ],
  17. "author": "Chevalier",
  18. "prettier": {
  19. "printWidth": 100,
  20. "singleQuote": true
  21. },
  22. "lint-staged": {
  23. "*.{ts,tsx,scss,less,md}": [
  24. "prettier --write",
  25. "git add"
  26. ]
  27. },
  28. "scripts": {
  29. "bootstrap": "npm install && lerna clean --yes && lerna bootstrap",
  30. "build": "npm run clean && lerna exec -- npm run build",
  31. "clean": "lerna run clean --parallel",
  32. "cleanCov": "rimraf @coverage",
  33. "dev": "webpack-dev-server --config ./scripts/webpack/webpack.config.dev.js --hot",
  34. "lint": "tslint -c tslint.json 'src/**/*.(ts|tsx)'",
  35. "precommit": "lint-staged",
  36. "prettier-all": "prettier --write 'src/**/*' '!src/{assets,datas}/**'",
  37. "start": "webpack-dashboard -- npm run dev",
  38. "test": "jest --config ./scripts/jest/jest.config.js",
  39. "test:watch": "npm test -- --watch",
  40. "test:cov": "npm run cleanCov && npm test -- --coverage",
  41. "upgrade": "./scripts/tools/upgrade_pkgs.sh"
  42. },
  43. "devDependencies": {
  44. "@types/jest": "24.0.12",
  45. "@types/react-dom": "^16.8.4",
  46. "autoprefixer": "9.5.1",
  47. "awesome-typescript-loader": "^5.2.1",
  48. "copy-webpack-plugin": "^5.0.3",
  49. "css-loader": "2.1.1",
  50. "enzyme": "^3.9.0",
  51. "file-loader": "3.0.1",
  52. "fork-ts-checker-webpack-plugin": "^1.3.0",
  53. "html-webpack-plugin": "^3.2.0",
  54. "html-webpack-template": "^6.2.0",
  55. "jest": "24.8.0",
  56. "jest-cli": "24.8.0",
  57. "json-server": "0.14.2",
  58. "lerna": "^3.13.4",
  59. "less": "^3.9.0",
  60. "less-loader": "^5.0.0",
  61. "mini-css-extract-plugin": "^0.6.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.8.4",
  66. "resolve-url-loader": "3.1.0",
  67. "rimraf": "^2.6.3",
  68. "style-loader": "0.23.1",
  69. "ts-jest": "^24.0.2",
  70. "ts-loader": "5.4.5",
  71. "tsconfig-paths-webpack-plugin": "^3.2.0",
  72. "tslint": "^5.16.0",
  73. "tslint-config-prettier": "^1.18.0",
  74. "tslint-react": "^4.0.0",
  75. "typescript": "3.4.5",
  76. "uglifyjs-webpack-plugin": "2.1.2",
  77. "url-loader": "^1.1.2",
  78. "wasm-loader": "^1.3.0",
  79. "webpack": "^4.30.0",
  80. "webpack-cli": "3.3.2",
  81. "webpack-dashboard": "3.0.5",
  82. "webpack-dev-server": "^3.3.1",
  83. "workerize-loader": "^1.0.4"
  84. }
  85. }