package.json 4.8 KB
Newer Older
B
BingBlog 已提交
1
{
2 3
    "name": "visualdl",
    "version": "2.0.0-beta.11",
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
        "export": "next export",
34
        "start": "NODE_ENV=production node dist/server/index.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 38 39 40
        "test": "echo \"Error: no test specified\" && exit 0",
        "prepublishOnly": "yarn lint && yarn test && ./scripts/prepare.sh",
        "preversion": "yarn lint",
        "version": "yarn format"
41
    },
42 43 44 45 46 47 48 49 50 51 52 53
    "main": "index.js",
    "bin": "cli.js",
    "files": [
        "dist",
        "out",
        "public",
        "wasm/dist",
        "types",
        "index.js",
        "cli.js",
        "ecosystem.config.js"
    ],
54
    "dependencies": {
55
        "app-root-path": "3.0.0",
56
        "dagre-d3": "0.6.4",
P
Peter Pan 已提交
57
        "detect-node": "2.0.4",
58 59 60
        "echarts": "4.6.0",
        "echarts-gl": "1.1.1",
        "express": "4.17.1",
P
Peter Pan 已提交
61 62 63 64 65 66 67
        "hoist-non-react-statics": "3.3.2",
        "http-proxy-middleware": "1.0.1",
        "i18next": "19.3.2",
        "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",
68 69 70 71 72
        "isomorphic-unfetch": "3.0.0",
        "lodash": "4.17.15",
        "moment": "2.24.0",
        "next": "9.2.2",
        "nprogress": "0.2.0",
73 74
        "open": "7.0.3",
        "ora": "4.0.3",
P
Peter Pan 已提交
75
        "path-match": "1.2.4",
76
        "pm2": "4.2.3",
77
        "polished": "3.4.4",
P
Peter Pan 已提交
78 79
        "prop-types": "15.7.2",
        "query-string": "6.11.1",
80 81
        "react": "16.13.0",
        "react-dom": "16.13.0",
82
        "react-hooks-worker": "0.9.0",
P
Peter Pan 已提交
83
        "react-i18next": "11.3.3",
84 85
        "react-input-range": "1.3.0",
        "react-is": "16.13.0",
86
        "react-spinners": "0.8.1",
87 88
        "save-svg-as-png": "1.4.17",
        "styled-components": "5.0.1",
P
Peter Pan 已提交
89
        "swr": "0.1.18",
P
Peter Pan 已提交
90 91
        "url": "0.11.0",
        "yargs": "15.1.0"
92 93
    },
    "devDependencies": {
P
Peter Pan 已提交
94
        "@babel/core": "7.8.7",
95 96 97
        "@types/d3": "5.7.2",
        "@types/dagre": "0.7.42",
        "@types/echarts": "4.4.3",
P
Peter Pan 已提交
98
        "@types/express": "4.17.3",
99 100
        "@types/faker": "4.1.10",
        "@types/lodash": "4.14.149",
101
        "@types/node": "13.9.0",
102 103 104 105 106
        "@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 已提交
107
        "@types/yargs": "15.0.4",
P
Peter Pan 已提交
108 109
        "@typescript-eslint/eslint-plugin": "2.22.0",
        "@typescript-eslint/parser": "2.22.0",
110
        "@wasm-tool/wasm-pack-plugin": "1.1.0",
P
Peter Pan 已提交
111
        "babel-plugin-emotion": "10.0.29",
112
        "babel-plugin-styled-components": "1.10.7",
P
Peter Pan 已提交
113
        "babel-plugin-typescript-to-proptypes": "1.3.0",
114
        "core-js": "3",
P
Peter Pan 已提交
115
        "cross-env": "7.0.2",
116 117 118
        "eslint": "6.8.0",
        "eslint-config-prettier": "6.10.0",
        "eslint-plugin-prettier": "3.1.2",
119
        "eslint-plugin-react": "7.19.0",
120 121 122 123 124 125 126
        "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 已提交
127
        "typescript": "3.8.3",
128 129
        "worker-plugin": "3.2.0",
        "yarn": "1.22.1"
130
    },
131 132 133
    "optionalDependencies": {
        "wasm-pack": "0.9.1"
    },
134 135 136 137 138 139 140 141 142
    "engines": {
        "node": ">=10",
        "npm": ">=6"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    }
B
BingBlog 已提交
143
}