forked from klembot/twinejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
149 lines (149 loc) · 4.72 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
{
"name": "Twine",
"version": "2.8.0-alpha1",
"description": "a GUI for creating nonlinear stories",
"author": "Chris Klimas <[email protected]>",
"license": "GPL-3.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/klembot/twinejs"
},
"engines": {
"node": ">=14",
"npm": ">=8"
},
"dependencies": {
"@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",
"element-closest": "^3.0.2",
"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": "^3.2.3",
"react-transition-group": "^4.4.1",
"scroll": "^3.0.1",
"segseg": "^1.0.0",
"semver": "^7.3.4",
"tiny-uuid": "^1.0.0",
"ua-parser-js": "^0.7.28",
"use-error-boundary": "^2.0.6"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@electron/notarize": "^1.2.3",
"@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/element-closest": "^3.0.0",
"@types/faker": "^5.1.7",
"@types/file-saver": "^2.0.1",
"@types/jest": "^26.0.24",
"@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",
"@vitejs/plugin-react": "^4.1.0",
"@vitejs/plugin-react-swc": "^3.4.1",
"browserslist-to-esbuild": "^1.2.0",
"cpy": "^8.1.2",
"cpy-cli": "^3.1.1",
"cross-var": "^1.1.0",
"electron": "^26.2.4",
"electron-builder": "^23.3.3",
"electron-builder-notarize": "^1.5.0",
"eslint": "^8.51.0",
"eslint-config-react-app": "^7.0.1",
"faker": "^5.4.0",
"history": "^5.1.0",
"jest": "^29.7.0",
"jest-axe": "^4.1.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jest-useragent-mock": "^0.1.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"source-map-explorer": "^2.5.3",
"tiny-invariant": "^1.3.1",
"ts-jest": "^29.1.1",
"typescript": "^4.9.5",
"vite": "^4.4.11",
"vite-plugin-checker": "^0.6.2",
"vite-plugin-node-polyfills": "^0.15.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 --parents . ../../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"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"testing-library/no-render-in-setup": 0,
"testing-library/render-result-naming-convention": 0
}
},
"homepage": "./",
"main": "electron-build/electron/src/electron/main-process/index.js"
}