-
-
Notifications
You must be signed in to change notification settings - Fork 191
/
package.json
168 lines (168 loc) · 5.7 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "universal-data-tool",
"version": "0.14.26",
"license": "MIT",
"main": "desktop/main.js",
"homepage": "https://universaldatatool.com/app/",
"proxy": "http://localhost:3000",
"scripts": {
"start": "cross-env PORT=6001 react-scripts start",
"start:desktop": "cross-env BROWSER=none USE_DEV_SERVER=yes concurrently 'start' 'electron ./desktop'",
"start:desktop:static": "electron ./desktop",
"start:web:static": "concurrently 'node ./add-preloaded-app-config.js && serve -s build -p 3000' 'udt-collaboration-server --port 3001'",
"build": "npm run build:web",
"build:all": "npm run build:babel && npm run build:vanilla && npm run build:desktop",
"build:lib": "npm run build:babel && npm run build:vanilla",
"build:babel": "cross-env NODE_ENV=production babel ./src --out-dir=./lib --copy-files && cp ./package.json ./lib/package.json && cp ./README.md ./lib/README.md && node ./lib/lib/fix-deps.js",
"build:vanilla": "parcel build -d ./lib -o vanilla.js ./src/vanilla/index.js",
"build:vanilla:dev": "parcel ./src/vanilla/index.js",
"build:web": "rimraf build && react-scripts build && cp -r build ./build-copy && mv build-copy build/app",
"build:desktop": "cross-env REACT_APP_DESKTOP=true PUBLIC_URL=./ react-scripts build && electron-builder build && cp ./desktop/entitlements.mac.plist ./build/entitlements.mac.plist",
"postinstall:desktop": "electron-builder install-app-deps",
"release:lib": "npm run build && cd lib && npm publish",
"release:desktop": "npm run build:desktop && cross-env EP_RELEASE=true electron-builder --linux --publish always",
"release:all": "npm run release:desktop && npm run release:lib",
"test": "ava **/*.test.js",
"storybook": "start-storybook -p 6002 -s public",
"build-storybook": "build-storybook -s public",
"gh-pages": "npm run build:web && npm run build:vanilla && cp lib/vanilla.js build/vanilla.js && cp ./CNAME ./build/CNAME && gh-pages -d build",
"prettier": "prettier --write .",
"test:prettier": "prettier --check \"src/**/*.js\"",
"test:lint": "eslint src --max-warnings=0",
"test:integration:dev": "dotenv cypress open",
"test:integration": "dotenv cypress run failOnSnapshotDiff=false"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
],
"test": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/cli": "^7.12.13",
"@babel/core": "^7.12.13",
"@cypress/react": "^4.16.4",
"@material-ui/core": "^4.9.5",
"@material-ui/icons": "^4.9.1",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/react": "^5.3.19",
"ava": "^3.15.0",
"babel-eslint": "^10.1.0",
"concurrently": "^5.3.0",
"cypress": "^6.7.0",
"cypress-file-upload": "^4.0.6",
"cypress-image-snapshot": "^3.1.1",
"cypress-terminal-report": "^2.4.0",
"electron": "^11.2.3",
"electron-builder": "^22.8.0",
"electron-builder-notarize": "^1.2.0",
"eslint-plugin-cypress": "^2.11.2",
"gh-pages": "^2.1.1",
"parcel": "^1.12.4",
"prettier": "^2.2.1",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-markdown": "^4.1.0",
"react-nlp-annotate": "^1.0.2",
"rimraf": "^3.0.2",
"spelling": "^2.0.1"
},
"dependencies": {
"@material-ui/styles": "^4.9.0",
"@semantic-release/git": "^9.0.0",
"@sentry/browser": "^5.15.4",
"any-shell-escape": "^0.1.1",
"aws-amplify": "^3.3.18",
"aws4fetch": "^1.0.12",
"axios": "^0.21.1",
"bent": "^7.1.0",
"brace": "^0.11.1",
"cross-env": "^7.0.3",
"detect-browser": "^5.0.0",
"dotenv-cli": "^4.0.0",
"download-file": "^0.1.5",
"duration": "^0.2.2",
"fast-xml-parser": "^3.17.4",
"ffmpeg-static": "^4.2.4",
"i18next": "^19.9.2",
"i18next-browser-languagedetector": "^4.2.0",
"in-browser-download": "^2.0.0",
"jac-format": "^1.1.3",
"js-md5": "^0.7.3",
"material-survey": "^1.0.41",
"mime-types": "^2.1.28",
"moment": "^2.24.0",
"nan": "^2.14.1",
"qs": "^6.9.4",
"react-ace": "^7.0.4",
"react-data-table-component": "^6.2.2",
"react-dropzone": "^11.0.3",
"react-hotkeys": "^2.0.0",
"react-i18next": "^11.4.0",
"react-icons": "^3.9.0",
"react-image-annotate": "^1.7.11",
"react-material-workspace-layout": "^1.0.9",
"react-scripts": "^3.4.1",
"react-select": "^3.0.8",
"react-time-series": "^1.0.21",
"recoil": "^0.0.13",
"rfc6902": "^3.0.4",
"seamless-immutable": "^7.1.4",
"seamless-immutable-patch": "^1.0.4",
"seed-random": "^2.2.0",
"serve": "^11.3.2",
"styled-components": "^5.0.0",
"udt-collaboration-server": "^1.0.8",
"udt-dataset-managers": "^1.0.16",
"udt-format": "^0.0.1",
"use-async-effect": "^2.2.2",
"use-event-callback": "^0.1.0",
"wavesurfer.js": "^3.3.3",
"ytdl-core": "^2.0.1"
},
"build": {
"appId": "com.universaldatatool",
"productName": "Universal Data Tool",
"afterSign": "electron-builder-notarize",
"mac": {
"category": "public.app-category.developer-tools",
"hardenedRuntime": true
},
"dmg": {
"icon": false
},
"linux": {
"target": [
"AppImage"
],
"category": "Development"
},
"extends": null,
"files": [
"**/*",
"build/"
],
"publish": {
"provider": "github",
"releaseType": "release"
},
"ava": {
"nodeArguments": [
"--experimental-modules"
]
}
}
}