package.json 4.8 KB
Newer Older
B
BingBlog 已提交
1
{
2
    "name": "visualdl",
3
    "version": "2.0.0-beta.24",
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
    "title": "VisualDL",
    "description": "A platform to visualize the deep learning process and result.",
    "keywords": [
        "visualdl",
        "paddlepaddle",
        "visualization",
        "deep learning"
    ],
    "homepage": "https://github.com/PaddlePaddle/VisualDL",
    "bugs": {
        "url": "https://github.com/PaddlePaddle/VisualDL/issues"
    },
    "license": "Apache-2.0",
    "author": "PeterPanZH <littlepanzh@gmail.com> (https://github.com/PeterPanZH)",
    "contributors": [
        "Niandalu <littlepanzh@gmail.com> (https://github.com/Niandalu)"
    ],
    "repository": {
        "type": "git",
        "url": "https://github.com/PaddlePaddle/VisualDL.git",
        "directory": "frontend"
    },
    "scripts": {
27 28
        "dev": "cross-env NODE_ENV=development nodemon --watch server --ext ts --exec \"ts-node --project server/tsconfig.json\" server/index.ts",
        "dev:wasm": "cross-env NODE_ENV=development WITH_WASM=1 nodemon --watch server --ext ts --exec \"ts-node --project server/tsconfig.json\" server/index.ts",
29
        "build:next": "next build",
30
        "build:server": "tsc --project server/tsconfig.json",
31
        "build:wasm": "wasm-pack build --release --out-dir dist --out-name index wasm",
32
        "build": "./scripts/build.sh",
33 34
        "export": "next export -o serverless",
        "start": "pm2-runtime ecosystem.config.js",
35
        "lint": "tsc -p tsconfig.json --noEmit && tsc -p server/tsconfig.json --noEmit && eslint --ext .tsx,.jsx.ts,.js --ignore-path .gitignore .",
36
        "format": "prettier --write \"**/*.ts\" \"**/*.tsx\" \"**/*.js\"  \"**/*.jsx\"",
37
        "test": "echo \"Error: no test specified\" && exit 0",
38
        "prepublishOnly": "yarn lint && yarn test && ./scripts/build.sh",
39
        "preversion": "yarn lint",
40
        "version": "yarn format && git add -A"
41
    },
42 43 44
    "bin": "cli.js",
    "files": [
        "dist",
45
        "serverless",
46 47 48 49 50 51 52
        "public",
        "wasm/dist",
        "types",
        "index.js",
        "cli.js",
        "ecosystem.config.js"
    ],
53 54
    "dependencies": {
        "dagre-d3": "0.6.4",
P
Peter Pan 已提交
55
        "detect-node": "2.0.4",
56 57 58
        "echarts": "4.6.0",
        "echarts-gl": "1.1.1",
        "express": "4.17.1",
P
Peter Pan 已提交
59
        "hoist-non-react-statics": "3.3.2",
60 61
        "http-proxy-middleware": "1.0.3",
        "i18next": "19.3.3",
P
Peter Pan 已提交
62 63 64 65
        "i18next-browser-languagedetector": "4.0.2",
        "i18next-express-middleware": "1.9.1",
        "i18next-node-fs-backend": "2.1.3",
        "i18next-xhr-backend": "3.2.2",
66 67 68
        "isomorphic-unfetch": "3.0.0",
        "lodash": "4.17.15",
        "moment": "2.24.0",
69
        "next": "9.3.1",
70
        "nprogress": "0.2.0",
71 72
        "open": "7.0.3",
        "ora": "4.0.3",
P
Peter Pan 已提交
73
        "path-match": "1.2.4",
74
        "pm2": "4.2.3",
75
        "polished": "3.4.4",
P
Peter Pan 已提交
76 77
        "prop-types": "15.7.2",
        "query-string": "6.11.1",
78 79
        "react": "16.13.0",
        "react-dom": "16.13.0",
80
        "react-hooks-worker": "0.9.0",
P
Peter Pan 已提交
81
        "react-i18next": "11.3.3",
82 83
        "react-input-range": "1.3.0",
        "react-is": "16.13.0",
84
        "react-spinners": "0.8.1",
85 86
        "save-svg-as-png": "1.4.17",
        "styled-components": "5.0.1",
P
Peter Pan 已提交
87
        "swr": "0.1.18",
P
Peter Pan 已提交
88
        "url": "0.11.0",
89
        "yargs": "15.3.1"
90 91
    },
    "devDependencies": {
P
Peter Pan 已提交
92
        "@babel/core": "7.8.7",
93 94 95
        "@types/d3": "5.7.2",
        "@types/dagre": "0.7.42",
        "@types/echarts": "4.4.3",
P
Peter Pan 已提交
96
        "@types/express": "4.17.3",
97 98
        "@types/faker": "4.1.10",
        "@types/lodash": "4.14.149",
99
        "@types/node": "13.9.1",
100 101 102 103 104
        "@types/nprogress": "0.2.0",
        "@types/react": "16.9.23",
        "@types/react-dom": "16.9.5",
        "@types/styled-components": "5.0.1",
        "@types/webpack": "4.41.7",
P
Peter Pan 已提交
105
        "@types/yargs": "15.0.4",
106 107 108
        "@typescript-eslint/eslint-plugin": "2.24.0",
        "@typescript-eslint/parser": "2.24.0",
        "@wasm-tool/wasm-pack-plugin": "1.2.0",
P
Peter Pan 已提交
109
        "babel-plugin-emotion": "10.0.29",
110
        "babel-plugin-styled-components": "1.10.7",
111
        "babel-plugin-typescript-to-proptypes": "1.3.2",
112
        "core-js": "3",
P
Peter Pan 已提交
113
        "cross-env": "7.0.2",
114 115 116
        "eslint": "6.8.0",
        "eslint-config-prettier": "6.10.0",
        "eslint-plugin-prettier": "3.1.2",
117
        "eslint-plugin-react": "7.19.0",
118 119 120 121 122 123 124
        "eslint-plugin-react-hooks": "2.5.0",
        "faker": "4.1.0",
        "husky": "4.2.3",
        "lint-staged": "10.0.8",
        "nodemon": "2.0.2",
        "prettier": "1.19.1",
        "ts-node": "8.6.2",
P
Peter Pan 已提交
125
        "typescript": "3.8.3",
126 127
        "worker-plugin": "4.0.2",
        "yarn": "1.22.4"
128
    },
129 130 131
    "optionalDependencies": {
        "wasm-pack": "0.9.1"
    },
132 133 134 135 136 137 138 139 140
    "engines": {
        "node": ">=10",
        "npm": ">=6"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    }
B
BingBlog 已提交
141
}