-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
139 lines (139 loc) · 3.99 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": "rapid_power_estimator",
"version": "0.0.1",
"description": "Rapid Power Estimation Tool allows you to estimate power consumption at various stages of your design cycle. It simplifies the input of design information through intuitive wizards and delivers comprehensive power and thermal data analysis.",
"author": "Rapid Silicon",
"main": "main.js",
"scripts": {
"start": "webpack --mode development && electron . --development",
"compile": "webpack --mode development",
"build": "webpack --mode production && electron .",
"test": "jest --coverage --coverageDirectory=coverage",
"test:jest": "jest --coverage --coverageDirectory=coverage",
"test:playwright": "npx playwright test",
"postinstall": "electron-builder install-app-deps",
"pack": "electron-builder --dir",
"dist": "pyinstaller --distpath backend --workpath dist -y --clean -n restapi_server.exe backend/restapi_server.py && webpack --mode development && electron-builder -p never"
},
"build": {
"appId": "org.rapidsilicon.rapid_power_estimator",
"productName": "Rapid Power Estimator",
"copyright": "©2024 Rapid Silicon, Inc.",
"files": [
"build/**/*",
"src/**/*",
"main.js",
"preload.js",
"rpe.config.json",
"node_modules/**/*",
"package.json",
"cleanup.js",
"imgs/*",
"projectFile.js"
],
"directories": {
"buildResources": "resources"
},
"extraFiles": [
{
"from": "backend/restapi_server.exe",
"to": "./backend/restapi_server.exe"
},
{
"from": "backend/etc/devices",
"to": "./backend/etc/devices"
},
{
"from": "backend/etc/device.xml",
"to": "./backend/etc/device.xml"
}
],
"linux": {
"category": "FPGA,DigitalLogicDesign,PowerEstimator",
"description": "Rapid Silicon FPGA RPE for Linux",
"target": [
"tar.gz",
"AppImage"
],
"artifactName": "${name}_linux_installer"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"publisherName": "Rapid Silicon, Inc.",
"icon": "imgs/rpeicon.png",
"artifactName": "${name}_windows_installer.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"installerSidebar": "imgs/rpesidebar.png"
},
"mac": {
"category": "public.app-category.productivity",
"target": [
{
"target": "tar.gz",
"arch": [
"x64"
]
}
],
"artifactName": "${name}_macos_installer.${ext}"
}
},
"keywords": [],
"license": "GNU",
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.24.4",
"@babel/preset-react": "^7.24.1",
"@playwright/test": "^1.48.1",
"@testing-library/jest-dom": "^6.5.0",
"@testing-library/react": "^14.3.1",
"@testing-library/user-event": "^14.5.2",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^7.0.0",
"css-loader": "^6.10.0",
"electron": "^28.2.2",
"electron-builder": "^24.13.3",
"eslint": "^8.57.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-react": "^7.34.0",
"html-webpack-plugin": "^5.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"playwright": "^1.48.1",
"react-test-renderer": "^18.3.1",
"style-loader": "^3.3.4",
"webpack": "^5.90.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"antd": "^5.15.4",
"electron-log": "^5.1.2",
"electron-store": "^8.2.0",
"moment": "^2.30.1",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-icons": "^5.0.1",
"react-switch": "^7.0.0",
"tree-kill": "^1.2.2"
},
"files": [
"build/**/*"
],
"repository": {
"type": "git",
"url": "https://github.com/os-fpga/rapid_power_estimator.git"
}
}