/
package.json
139 lines (139 loc) · 3.44 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
{
"name": "PDMan",
"version": "2.2.0",
"description": "Model design tool",
"main": "build/main.js",
"scripts": {
"rebuild": "./node_modules/.bin/electron-rebuild",
"test": "echo \"Error: no test specified\" && exit 1",
"electron": "electron ./src/main",
"start": "node bin/start.js",
"build": "node bin/build.js",
"package-win": "npm run build && build --win ",
"package-linux": "npm run build && build --linux",
"package-all": "npm run build && build -mwl",
"package-mac": "npm run build && build --mac"
},
"repository": {
"type": "git",
"url": "https://gitee.com/robergroup/pdman"
},
"homepage": "http://www.pdman.cn",
"author": {
"name": "robergroup",
"email": "qliu@405go.cn"
},
"license": "ISC",
"dependencies": {
"@antv/g6": "^1.2.8",
"antd": "^3.0.1",
"brace": "^0.11.1",
"dot": "^1.1.2",
"hoist-non-react-statics": "^2.3.1",
"lodash": "^4.17.5",
"moment": "^2.22.2",
"officegen": "^0.4.7",
"pdfkit": "^0.8.3",
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-ace": "^6.1.1",
"react-dom": "^16.2.0"
},
"devDependencies": {
"autoprefixer": "^7.2.2",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-loader": "^7.1.2",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"copy-webpack-plugin": "^4.3.1",
"css-loader": "^0.28.7",
"electron": "^3.0.0",
"electron-builder": "^20.4.1",
"electron-rebuild": "^1.7.3",
"eslint": "^4.13.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-loader": "^1.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.5.1",
"extract-text-webpack-plugin": "^3.0.2",
"html-webpack-plugin": "^2.30.1",
"imports-loader": "^0.7.1",
"less": "^2.7.3",
"less-loader": "^4.0.5",
"optimize-css-assets-webpack-plugin": "^3.2.0",
"postcss-loader": "^2.0.9",
"react-dev-utils": "^4.2.1",
"style-loader": "^0.19.0",
"url-loader": "^0.6.2",
"webpack": "^3.10.0",
"webpack-dev-server": "^2.9.7",
"file-loader": "^1.1.11",
"json-loader": "^0.5.7",
"script-ext-html-webpack-plugin": "^2.0.1",
"xml-loader": "^1.2.1"
},
"build": {
"appId": "com.pdman.robergroup",
"productName": "PDMan",
"artifactName": "${name}-${platform}_v${version}.${ext}",
"directories": {
"buildResources": "build",
"output": "dist"
},
"files": [
"build/"
],
"npmRebuild": false,
"asar": true,
"asarUnpack": [
"build/jar/",
"build/word/"
],
"dmg": {
"icon": "build/icon.icns",
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"linux": {
"icon": "build/256x256.png",
"target": [
"zip",
"deb",
"AppImage"
]
}
}
}