-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
81 lines (81 loc) · 2.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "Mxgraph-EasyFlowEditor",
"version": "0.1.0",
"private": true,
"homepage": "https://Jason-chen-coder.github.io/Mxgraph-EasyFlowEditor",
"pre-commit": [
"pre-commit"
],
"main": "./main.js",
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"dev": "cross-env BABEL_ENV=development ./node_modules/.bin/webpack-dev-server --progress --devtool eval-source-map --config build/webpack.dev.conf.js",
"start": "yarn lint && yarn dll && yarn dev",
"del:dll": "./node_modules/.bin/rimraf vendor",
"compile:dll": "./node_modules/.bin/webpack --config build/webpack.dll.conf.js --colors --profile",
"dll": "yarn del:dll && yarn compile:dll",
"build:report": "npm_config_report=true node --max_old_space_size=4096 build/build.js",
"pre-commit": "echo 'Pre-commit checks...' && yarn switch-source-in && yarn lint2",
"switch-source-in": "bash ./scripts/switch_source.sh i",
"lint3": "./node_modules/.bin/eslint --fix --ext .js,.jsx,.ts,.tsx,.vue src && ./node_modules/.bin/tslint --fix 'src/**/*{.ts,.tsx}'",
"test": "cross-env NODE_ENV=test jest --config jest.config.js",
"del:components": "./node_modules/.bin/rimraf components",
"copy": "./node_modules/.bin/gulp copy",
"babel": "./node_modules/.bin/babel components -d components",
"components": "yarn del:components && yarn copy && yarn babel",
"deploy": "node --max_old_space_size=4096 build/build.js",
"clean:node": "rm -Rf ./node_modules",
"change:version": "./node/node ./ci_script/changeVersion.js"
},
"dependencies": {
"core-js": "^3.6.5",
"element-ui": "^2.13.2",
"exports-loader": "^1.1.0",
"jquery": "^3.5.1",
"less-loader": "^6.1.2",
"lodash": "^4.17.20",
"mxgraph": "^4.2.0",
"mxgraph-js": "^1.0.1",
"ramda": "^0.27.1",
"vue": "^2.6.11",
"vue-codemirror": "^4.0.6",
"vue-json-viewer": "^2.2.14",
"vue-router": "^3.3.4",
"x2js": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"babel-eslint": "^10.1.0",
"compression-webpack-plugin": "^5.0.1",
"css-minimizer-webpack-plugin": "^1.0.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"progress-bar-webpack-plugin": "^2.1.0",
"uglifyjs-webpack-plugin": "^2.2.0",
"vue-template-compiler": "^2.6.11",
"webpack-bundle-analyzer": "^4.4.2"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}