Browse Source

初始化

haojianlong 5 years ago
commit
7e4ba66e14
4 changed files with 53 additions and 0 deletions
  1. 8 0
      .gitignore
  2. 3 0
      README.md
  3. 42 0
      package.json
  4. 0 0
      src/index.js

+ 8 - 0
.gitignore

@@ -0,0 +1,8 @@
+/.idea
+*.iml
+coverage
+node_modules
+package-lock.json
+lib
+api
+docs

+ 3 - 0
README.md

@@ -0,0 +1,3 @@
+# saga-topo
+
+> A typescript npm package

+ 42 - 0
package.json

@@ -0,0 +1,42 @@
+{
+    "name": "@saga-web/cad-engine",
+    "version": "1.0.0",
+    "description": "上格云拓扑图引擎",
+    "main": "lib/index.js",
+    "types": "lib/index.d.js",
+    "scripts": {
+        "build": "tsc",
+        "publish": "npm publish",
+        "lint": "eslint src/**/*.{js,ts,tsx}",
+        "test": "echo \"Error: no test specified\" && exit 1",
+        "typedoc": "typedoc --hideGenerator src"
+    },
+    "keywords": [
+        "topo"
+    ],
+    "author": "郝建龙 (1061851420@qq.com)",
+    "license": "ISC",
+    "publishConfig": {
+        "registry": "http://dev.dp.sagacloud.cn:8082/repository/npm-hosted/"
+    },
+    "devDependencies": {
+        "@types/jest": "^24.0.15",
+        "@typescript-eslint/eslint-plugin": "^1.12.0",
+        "@typescript-eslint/parser": "^1.12.0",
+        "eslint": "^6.0.1",
+        "eslint-config-prettier": "^6.0.0",
+        "eslint-plugin-prettier": "^3.1.0",
+        "prettier": "^1.18.2",
+        "ts-jest": "^24.0.2",
+        "typescript": "^3.5.3"
+    },
+    "dependencies": {
+        "@saga-web/base": "2.1.9",
+        "@saga-web/draw": "2.1.75",
+        "@saga-web/graphy": "2.1.40",
+        "axios": "^0.18.0",
+        "pako": "^1.0.10",
+        "poly-decomp": "^0.3.0",
+        "polybooljs": "^1.2.0"
+    }
+}

+ 0 - 0
src/index.js