package.json 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "@logicflow/extension",
  3. "version": "1.2.1",
  4. "description": "LogicFlow extension",
  5. "main": "cjs/index.js",
  6. "module": "es/index.js",
  7. "homepage": "http://logic-flow.org/",
  8. "types": "es/index.d.ts",
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/didi/LogicFlow",
  12. "directory": "packages/extension"
  13. },
  14. "license": "Apache-2.0",
  15. "scripts": {
  16. "dev": "cross-env NODE_ENV=development webpack-dev-server --client-log-level warning --config scripts/webpack.config.dev.js",
  17. "test": "echo \"Error: no test specified\" && exit 1",
  18. "copy": "node ./scripts/copy.js",
  19. "types": "tsc -d --declarationDir ./types --outDir temp && rimraf -R temp",
  20. "build:esm": "tsc --module esnext --target es5 --outDir ./es -d",
  21. "build:cjs": "tsc --module commonjs --target es5 --outDir ./cjs",
  22. "build:umd": "cross-env NODE_ENV=production webpack --config scripts/webpack.config.build.js",
  23. "build": "rimraf ./es ./cjs ./lib && npm run build:esm & npm run build:cjs & npm run build:umd && npm run copy",
  24. "publish-lib": "npm run build && npm publish"
  25. },
  26. "author": "",
  27. "files": [
  28. "cjs",
  29. "es",
  30. "lib",
  31. "types",
  32. "readme.md"
  33. ],
  34. "dependencies": {
  35. "@logicflow/core": "^1.2.1",
  36. "ids": "^1.0.0",
  37. "lodash-es": "^4.17.21",
  38. "preact": "^10.4.8"
  39. },
  40. "standard-version": {
  41. "skip": {
  42. "tag": true,
  43. "commit": true
  44. }
  45. },
  46. "keywords": [
  47. "logicflow",
  48. "flowchart",
  49. "diagram"
  50. ],
  51. "devDependencies": {
  52. "@babel/core": "^7.9.0",
  53. "@babel/plugin-proposal-decorators": "^7.12.1",
  54. "@babel/plugin-syntax-jsx": "^7.8.3",
  55. "@babel/plugin-transform-react-jsx": "^7.10.4",
  56. "@babel/preset-env": "^7.9.5",
  57. "@babel/preset-typescript": "^7.9.0",
  58. "@commitlint/config-conventional": "^8.3.4",
  59. "@typescript-eslint/eslint-plugin": "^4.7.0",
  60. "@typescript-eslint/parser": "^3.2.0",
  61. "babel-core": "^7.0.0-bridge.0",
  62. "babel-loader": "^8.1.0",
  63. "babel-plugin-import": "^1.13.0",
  64. "case-sensitive-paths-webpack-plugin": "^2.3.0",
  65. "core-js": "^3.6.5",
  66. "cross-env": "^7.0.2",
  67. "css-loader": "^4.2.1",
  68. "eslint": "^7.0.0",
  69. "eslint-config-airbnb-typescript": "^9.0.0",
  70. "eslint-plugin-import": "^2.22.0",
  71. "eslint-plugin-jsx-a11y": "^6.3.1",
  72. "eslint-plugin-react": "^7.20.6",
  73. "eslint-plugin-standard": "^4.0.1",
  74. "eslint-webpack-plugin": "^2.1.0",
  75. "html-webpack-plugin": "^4.2.0",
  76. "less-loader": "^6.0.0",
  77. "prettier": "^2.2.1",
  78. "rimraf": "^3.0.2",
  79. "standard-version": "^9.0.0",
  80. "style-loader": "^1.2.0",
  81. "typescript": "^3.8.3",
  82. "url-loader": "^4.1.0",
  83. "webpack": "^4.43.0",
  84. "webpack-bundle-analyzer": "^4.1.0",
  85. "webpack-cli": "^3.3.11",
  86. "webpack-dev-server": "^3.10.3"
  87. },
  88. "gitHead": "ab8cc6126e9dfa5c4fb18037538a374d3a0b0521"
  89. }