-
-
Notifications
You must be signed in to change notification settings - Fork 399
/
package.json
229 lines (229 loc) · 7.83 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"name": "Athens",
"author": "athensresearch",
"version": "2.1.0-beta.5",
"description": "An open-source knowledege graph for research and notetaking",
"repository": {
"type": "git",
"url": "https://github.com/athensresearch/athens/"
},
"scripts": {
"// repo scripts": "",
"update:dry": "standard-version --dry-run -p --releaseCommitMessageFormat v{{currentTag}}",
"update": "standard-version -p --releaseCommitMessageFormat v{{currentTag}}",
"clean": "rimraf resources/public/**/*.js resources/public/**/*.js.map target .shadow-cljs src/gen",
"lint": "clojure -M:clj-kondo --lint src",
"style": "clojure -M:cljstyle check",
"style:fix": "clojure -M:cljstyle fix",
"carve": "clojure -M:carve --opts '{:paths [\"src\" \"test\"] :report {:format :text}}'",
"carve:interactive": "clojure -M:carve --opts '{:paths [\"src\" \"test\"]}'",
"clj:outdated": "clojure -M:outdated",
"notebooks": "clojure -M:notebooks",
"notebooks:static": "clojure -X:notebooks-static",
"vercel:install": "./script/vercel-setup.sh && yarn && clojure -P",
"vercel:build": "yarn notebooks:static && yarn client:web:static",
"// client scripts": "",
"dev": "yarn components && concurrently \"yarn components:watch\" \"yarn client:watch\"",
"client:watch": "shadow-cljs watch main renderer app",
"client:dev-build": "yarn components && shadow-cljs compile main renderer app",
"client:test": "yarn components && shadow-cljs compile karma-test && karma start --single-run",
"client:electron": "electron .",
"client:web:server": "serve -l 3000 vercel-static/athens/",
"client:web:static": "yarn components && shadow-cljs release app && cp -R resources/public/. vercel-static/athens/",
"client:debug":"clojure -X:flowstorm",
"components": "babel ./src/js/components/ --extensions \".ts,.tsx\" --out-dir ./src/gen/components/",
"components:watch": "yarn components --watch",
"prod": "yarn components && shadow-cljs release main renderer app",
"dist": "electron-builder -p always",
"// client e2e scripts": "",
"// add --config=playwright.electron.config.ts to any e2e script to use electron instead of web build": "",
"client:e2e": "xvfb-maybe playwright test",
"client:e2e:electron": "yarn client:e2e --config=playwright.electron.config.ts",
"client:e2e:only": "yarn client:e2e --grep",
"client:e2e:only:debug": "yarn client:e2e --debug --grep",
"client:e2e:only:verbose": "DEBUG=pw:api yarn client:e2e --grep",
"client:e2e:new": "cp test/e2e/new-test.template.ts test/e2e/new-test.spec.ts && yarn client:e2e:only:debug new-test-template",
"client:e2e:server": "serve -l 3000 resources/public/",
"// server scripts": "",
"server": "clojure -M:athens",
"server:fluree": "docker-compose up --detach fluree",
"server:fluree:down": "docker-compose down",
"server:fluree:wipe": "rm -rf athens-data/fluree",
"server:compile": "clojure -M -e \"(compile 'athens.self-hosted.core)\"",
"server:uberjar": "clojure -M:uberdeps --aliases compiled-classes --main-class athens.self-hosted.core --target target/athens-lan-party-standalone.jar",
"server:test": "clojure -X:test :excludes [:fluree]",
"server:test:fluree": "clojure -X:test :includes [:fluree]",
"server:test:only": "clojure -M:test --var",
"server:repl": "clojure -A:repl",
"server:wipe": "rimraf athens-data/fluree athens-data/datascript",
"// cli scripts": "",
"cli:save": "clojure -M:athens-cli save",
"cli:load": "clojure -M:athens-cli load",
"cli:recover": "clojure -M:athens-cli recover",
"cli:compile": "clojure -M -e \"(compile 'athens.self-hosted.save-load)\"",
"cli:uberjar": "clojure -M:uberdeps --aliases compiled-classes --main-class athens.self-hosted.save-load --target target/athens-cli.jar"
},
"main": "resources/main.js",
"build": {
"appId": "com.athensresearch.athens",
"generateUpdatesFilesForAllChannels": true,
"afterSign": "electron-builder-notarize",
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
],
"hardenedRuntime": true,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"linux": {
"target": [
"AppImage"
],
"category": "Office"
},
"publish": {
"provider": "github"
}
},
"dependencies": {
"@babel/runtime": "^7.15.4",
"@chakra-ui/react": "^1.8.6",
"@dnd-kit/core": "^6.0.5",
"@dnd-kit/sortable": "^7.0.1",
"@emotion/react": "^11",
"@emotion/styled": "^11",
"@js-joda/core": "1.12.0",
"@js-joda/locale_en-us": "3.1.1",
"@js-joda/timezone": "2.2.0",
"@sentry/integrations": "^6.17.3",
"@sentry/react": "^6.17.3",
"@sentry/tracing": "^6.17.3",
"codemirror": "^5.59.4",
"create-react-class": "^15.6.3",
"electron-log": "^4.2.4",
"electron-updater": "^4.3.4",
"electron-window-state": "^5.0.3",
"emoji-picker-element": "^1.8.2",
"framer-motion": "^6",
"highlight.js": "^11.5.1",
"katex": "^0.12.0",
"luxon": "^2.0.2",
"nedb": "^1.8.0",
"polished": "^4.1.3",
"react": "17.0.1",
"react-codemirror2": "^7.2.1",
"react-colorful": "^5.4.0",
"react-day-picker": "^7.4.10",
"react-dom": "17.0.1",
"react-error-boundary": "^3.1.4",
"react-force-graph-2d": "^1.19.0",
"react-highlight.js": "1.0.7",
"react-intersection-observer": "^8.32.1",
"react-window": "^1.8.6",
"textarea-caret": "^3.1.0",
"tslib": "^2.3.1",
"turndown": "^7.1.1"
},
"devDependencies": {
"@babel/cli": "^7.15.4",
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
"@babel/plugin-proposal-private-methods": "^7.14.5",
"@babel/plugin-proposal-private-property-in-object": "^7.15.4",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.6",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.15.0",
"@playwright/test": "^1.17.1",
"babel-loader": "^8.2.2",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-styled-components": "^1.13.2",
"babel-plugin-transform-imports": "^2.0.0",
"concurrently": "^6.2.1",
"electron": "^12.2.3",
"electron-builder": "22.14",
"electron-builder-notarize": "^1.2.0",
"gh-pages": "^2.2.0",
"karma": "^6.3.16",
"karma-chrome-launcher": "^3.1.0",
"karma-cljs-test": "^0.1.0",
"karma-junit-reporter": "^2.0.1",
"playwright": "^1.17.1",
"rimraf": "^3.0.2",
"serve": "^13.0.2",
"shadow-cljs": "2.19.5",
"source-map-support": "^0.5.19",
"standard-version": "^9.3.1",
"typescript": "^4.3.5",
"vercel": "^24.2.3",
"xvfb-maybe": "^0.2.1"
},
"resolutions-comments": {
"ua-parser-js": "See https://github.com/faisalman/ua-parser-js/issues/536"
},
"resolutions": {
"ua-parser-js": "0.7.28"
},
"standard-version": {
"types": [
{
"type": "doc",
"section": "Documentation"
},
{
"type": "enhance",
"section": "Enhancements"
},
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "rfct",
"section": "Refactors"
},
{
"type": "wip",
"section": "Work in Progress"
},
{
"type": "perf",
"section": "Performance"
},
{
"type": "style"
},
{
"type": "chore"
},
{
"type": "test"
},
{
"type": "build"
},
{
"type": "ci"
}
]
}
}