package.json 4.8 KB
Newer Older
B
BingBlog 已提交
1
{
2
    "name": "visualdl",
P
Peter Pan 已提交
3
    "version": "2.0.0-beta.26",
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\"",
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
    "dependencies": {
54
        "bignumber.js": "9.0.0",
55
        "dagre-d3": "0.6.4",
P
Peter Pan 已提交
56
        "detect-node": "2.0.4",
57
        "echarts": "4.7.0",
58 59
        "echarts-gl": "1.1.1",
        "express": "4.17.1",
P
Peter Pan 已提交
60
        "hoist-non-react-statics": "3.3.2",
61 62
        "http-proxy-middleware": "1.0.3",
        "i18next": "19.3.3",
P
Peter Pan 已提交
63 64 65 66
        "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",
67 68 69
        "isomorphic-unfetch": "3.0.0",
        "lodash": "4.17.15",
        "moment": "2.24.0",
70
        "next": "9.3.1",
71
        "nprogress": "0.2.0",
72 73
        "open": "7.0.3",
        "ora": "4.0.3",
P
Peter Pan 已提交
74
        "path-match": "1.2.4",
75
        "pm2": "4.2.3",
76
        "polished": "3.5.1",
P
Peter Pan 已提交
77 78
        "prop-types": "15.7.2",
        "query-string": "6.11.1",
79 80
        "react": "16.13.1",
        "react-dom": "16.13.1",
81
        "react-hooks-worker": "0.9.0",
82
        "react-i18next": "11.3.4",
83
        "react-input-range": "1.3.0",
84
        "react-is": "16.13.1",
85
        "react-spinners": "0.8.1",
86 87
        "save-svg-as-png": "1.4.17",
        "styled-components": "5.0.1",
P
Peter Pan 已提交
88
        "swr": "0.1.18",
P
Peter Pan 已提交
89
        "url": "0.11.0",
90
        "yargs": "15.3.1"
91 92
    },
    "devDependencies": {
93
        "@babel/core": "7.9.0",
94
        "@types/d3": "5.7.2",
95
        "@types/dagre-d3": "^0.4.39",
96
        "@types/echarts": "4.4.3",
P
Peter Pan 已提交
97
        "@types/express": "4.17.3",
98 99
        "@types/faker": "4.1.10",
        "@types/lodash": "4.14.149",
100
        "@types/node": "13.9.3",
101
        "@types/nprogress": "0.2.0",
102
        "@types/react": "16.9.25",
103 104
        "@types/react-dom": "16.9.5",
        "@types/styled-components": "5.0.1",
105
        "@types/webpack": "4.41.8",
P
Peter Pan 已提交
106
        "@types/yargs": "15.0.4",
107 108
        "@typescript-eslint/eslint-plugin": "2.25.0",
        "@typescript-eslint/parser": "2.25.0",
109
        "@wasm-tool/wasm-pack-plugin": "1.2.0",
P
Peter Pan 已提交
110
        "babel-plugin-emotion": "10.0.29",
111
        "babel-plugin-styled-components": "1.10.7",
112
        "babel-plugin-typescript-to-proptypes": "1.3.2",
113
        "core-js": "3",
P
Peter Pan 已提交
114
        "cross-env": "7.0.2",
115
        "eslint": "6.8.0",
116
        "eslint-config-prettier": "6.10.1",
117
        "eslint-plugin-prettier": "3.1.2",
118
        "eslint-plugin-react": "7.19.0",
119
        "eslint-plugin-react-hooks": "2.5.1",
120 121
        "faker": "4.1.0",
        "husky": "4.2.3",
122
        "lint-staged": "10.0.9",
123
        "nodemon": "2.0.2",
124 125
        "prettier": "2.0.2",
        "ts-node": "8.8.1",
P
Peter Pan 已提交
126
        "typescript": "3.8.3",
127 128
        "worker-plugin": "4.0.2",
        "yarn": "1.22.4"
129
    },
130 131 132
    "optionalDependencies": {
        "wasm-pack": "0.9.1"
    },
133 134 135 136 137 138 139 140 141
    "engines": {
        "node": ">=10",
        "npm": ">=6"
    },
    "husky": {
        "hooks": {
            "pre-commit": "lint-staged"
        }
    }
B
BingBlog 已提交
142
}