-
-
Notifications
You must be signed in to change notification settings - Fork 310
/
package.json
141 lines (141 loc) · 4.6 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
{
"name": "Twine",
"version": "2.10.0",
"description": "a GUI for creating nonlinear stories",
"author": "Chris Klimas <chris@twinery.org>",
"license": "GPL-3.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/klembot/twinejs"
},
"engines": {
"node": ">=14",
"npm": ">=8"
},
"dependencies": {
"@lukeed/uuid": "^2.0.1",
"@popperjs/core": "^2.9.1",
"@tabler/icons": "^1.119.0",
"@testing-library/dom": "^9.3.1",
"classnames": "^2.2.6",
"codemirror": "^5.65.1",
"detect-it": "^4.0.1",
"eases": "^1.0.8",
"file-saver": "^2.0.5",
"focus-trap-react": "^8.9.2",
"focus-visible": "^5.2.0",
"fs-extra": "^10.0.0",
"fuse.js": "^6.6.2",
"i18next": "^19.9.2",
"i18next-http-backend": "^1.1.1",
"is-absolute-url": "^3.0.3",
"jsonp": "^0.2.1",
"lodash": "^4.17.21",
"minimist": "^1.2.8",
"mkdir-promise": "^1.0.0",
"node-fetch": "^2.6.7",
"react": "^16.14.0",
"react-codemirror2": "^7.2.1",
"react-dom": "^16.14.0",
"react-draggable": "^4.4.3",
"react-helmet": "^6.1.0",
"react-hook-thunk-reducer": "^0.2.4",
"react-hotkeys-hook": "^3.4.4",
"react-i18next": "^11.8.9",
"react-popper": "^2.2.4",
"react-router-dom": "^5.2.0",
"react-scrollbar-size": "^3.2.0",
"react-tabs": "^4.3.0",
"react-transition-group": "^4.4.1",
"scroll": "^3.0.1",
"segseg": "^1.0.0",
"semver": "^7.3.4",
"ua-parser-js": "^0.7.33",
"use-error-boundary": "^2.0.6"
},
"devDependencies": {
"@electron/notarize": "^2.1.0",
"@faker-js/faker": "^8.4.1",
"@playwright/test": "^1.27.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^5.1.1",
"@testing-library/user-event": "^12.1.10",
"@types/classnames": "^2.2.11",
"@types/codemirror": "0.0.108",
"@types/eases": "^1.0.2",
"@types/electron-devtools-installer": "^2.2.0",
"@types/file-saver": "^2.0.1",
"@types/jest": "^29.5.12",
"@types/jest-axe": "^3.5.1",
"@types/jsonp": "^0.2.1",
"@types/lodash": "^4.14.168",
"@types/minimist": "^1.2.3",
"@types/node": "^20.8.4",
"@types/node-fetch": "^2.6.1",
"@types/react": "^16.14.0",
"@types/react-dom": "^16.9.0",
"@types/react-helmet": "^6.1.1",
"@types/react-router-dom": "^5.1.7",
"@types/react-tabs": "^2.3.3",
"@types/react-transition-group": "^4.4.1",
"@types/scroll": "^3.0.0",
"@types/semver": "^7.3.4",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/parser": "^7.14.1",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"browserslist-to-esbuild": "^1.2.0",
"cpy": "^11.0.1",
"cpy-cli": "^5.0.0",
"cross-var": "^1.1.0",
"electron": "^26.2.4",
"electron-builder": "^23.6.0",
"electron-builder-notarize": "^1.5.0",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-testing-library": "^6.2.2",
"history": "^5.1.0",
"jest": "^29.7.0",
"jest-axe": "^9.0.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-useragent-mock": "^0.1.1",
"jest-watch-typeahead": "^2.2.2",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"source-map-explorer": "^2.5.3",
"ts-jest": "^29.1.1",
"typescript": "^4.9.5",
"typescript-eslint": "^7.14.1",
"vite": "^5.3.1",
"vite-plugin-checker": "^0.6.4",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-pwa": "^0.20.0"
},
"scripts": {
"analyze": "run-s build:web build:analyze",
"build": "run-s clean build:electron",
"build:analyze": "source-map-explorer 'dist/web/static/js/*.js'",
"build:docs": "cd docs/en && mdbook build",
"build:web": "tsc && vite build",
"postbuild:web": "cpy --cwd 'dist/web' './**' '../../electron-build/renderer'; cd dist && cross-var zip -r twine-$npm_package_version-web.zip web && cd ..",
"build:electron": "npm-run-all --parallel build:web build:electron-main --serial build:electron-bundle",
"build:electron-main": "tsc --project tsconfig.electron.json",
"build:electron-bundle": "electron-builder --config electron-builder.config.js --linux --mac --windows --publish=never",
"clean": "rimraf dist electron-build",
"e2e": "playwright test",
"lint": "eslint src",
"start": "vite",
"start:docs": "cd docs/en && mdbook serve",
"start:electron": "NODE_ENV=development npm-run-all --serial clean --parallel build:web build:electron-main --serial start:electron:boot",
"start:electron:boot": "electron electron-build/main/src/electron/main-process/index.js",
"test": "jest --watch",
"test:coverage": "jest --coverage"
},
"homepage": "./",
"main": "electron-build/electron/src/electron/main-process/index.js"
}