/
package.json
179 lines (179 loc) · 4.91 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
{
"name": "xes-games",
"version": "0.7.0",
"description": "",
"main": "src/main.js",
"repository": {
"type": "git",
"url": "https://github.com/Xesenix/xes-games"
},
"scripts": {
"analyze": "cross-env ANALYZE=true npm run build:prod",
"tdd": "cross-env BABEL_ENV=test ENV=test karma start",
"test": "cross-env BABEL_ENV=test ENV=test karma start --single-run",
"lint": "tslint -p ./ -c ./tslint.json",
"lint:fix": "tslint -p ./ -c ./tslint.json --fix",
"start": "http-server ./dist",
"serve": "cross-env ENV=development HMR=true webpack-dev-server --config webpack.config.js",
"build:dev": "cross-env ENV=development parallel-webpack --config webpack.config.js",
"build:prod": "cross-env ENV=production webpack --config webpack.config.js",
"xi18n": "ts-node ./scripts/extract.ts",
"game-00:analyze": "cross-env APP=game-00 npm run analyze",
"game-00:tdd": "cross-env APP=game-00 npm run tdd",
"game-00:test": "cross-env APP=game-00 npm run test",
"game-00:start": "http-server ./dist/game-00",
"game-00:serve": "cross-env APP=game-00 npm run serve",
"game-00:build:dev": "cross-env APP=game-00 npm run build:dev",
"game-00:build:prod": "cross-env APP=game-00 npm run build:prod",
"game-00:xi18n": "cross-env APP=game-00 ts-node ./scripts/extract.ts",
"game-01:analyze": "cross-env APP=game-01 npm run analyze",
"game-01:tdd": "cross-env APP=game-01 npm run tdd",
"game-01:test": "cross-env APP=game-01 npm run test",
"game-01:start": "http-server ./dist/game-01 -g",
"game-01:serve": "cross-env APP=game-01 npm run serve",
"game-01:build:dev": "cross-env APP=game-01 npm run build:dev",
"game-01:build:prod": "cross-env APP=game-01 npm run build:prod",
"game-01:xi18n": "cross-env APP=game-01 ts-node ./scripts/extract.ts",
"game-01:report-coverage": "cat ./coverage/game-01/lcov.info | coveralls",
"lib:tdd": "cross-env APP=lib npm run tdd",
"lib:test": "cross-env APP=lib npm run test",
"tsc": "tsc -p tsconfig.json --diagnostics --pretty",
"report-coverage": "cat ./coverage/lcov.info | coveralls"
},
"apps": {
"lib": {
"rootDir": "src/lib",
"outDir": "dist/lib",
"main": [
"index.ts"
],
"moduleImportPaths": [
"src"
],
"test": "main.test.ts",
"templateData": {
"title": "Libraries",
"author": "Paweł Kapalla aka Xesenix"
},
"assets": [],
"styles": [],
"stylesImportPaths": [],
"vendor": [],
"languages": []
},
"game-00": {
"rootDir": "src/game-00",
"outDir": "dist/game-00",
"main": [
"main.ts"
],
"moduleImportPaths": [
"src"
],
"test": "main.test.ts",
"templateData": {
"title": "Ancient Maze",
"author": "Paweł Kapalla aka Xesenix"
},
"assets": [
"assets"
],
"stylesImportPaths": [
"src/game-00/styles",
"src/styles"
],
"vendor": []
},
"game-01": {
"rootDir": "src/game-01",
"outDir": "dist/game-01",
"main": [
"main.tsx"
],
"moduleImportPaths": [
"src"
],
"test": "main.test.ts",
"templateData": {
"title": "Ancient Maze",
"author": "Paweł Kapalla aka Xesenix"
},
"assets": [
"assets"
],
"stylesImportPaths": [
"src/game-01/styles",
"src/styles"
],
"vendor": [],
"languages": [
"en",
"pl"
],
"externalDirs": [
"src/lib"
]
}
},
"author": "Xesenix",
"license": "ISC",
"devDependencies": {
"@types/inversify": "^2.0.33",
"@types/react": "^16.3.14",
"@types/react-dom": "^16.0.4",
"@types/react-hot-loader": "^4.1.0",
"@types/react-test-renderer": "^16.0.1",
"@types/redux": "^3.6.0",
"@types/redux-logger": "^3.0.5",
"@types/tinycolor2": "^1.4.0",
"@types/typescript": "^2.0.0",
"bootstrap-sass": "^3.3.7",
"cross-env": "^5.2.0",
"font-awesome": "^4.7.0",
"glslify": "^6.1.1",
"http-server": "^0.11.1",
"inversify": "^4.11.1",
"inversify-vanillajs-helpers": "^2.0.0",
"mkdirp": "^0.5.1",
"node-gettext": "^2.0.0",
"node-sass": "^4.9.2",
"parallel-webpack": "^2.3.0",
"path-exists": "^3.0.0",
"po-gettext-loader": "^0.1.1",
"react-hot-loader": "^4.3.3",
"react-test-renderer": "^16.2.0",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"reflect-metadata": "^0.1.12",
"tsc": "^1.20150623.0",
"tslint": "^5.10.0",
"typescript": "^2.9.2"
},
"dependencies": {
"@material-ui/core": "^1.4.3",
"@material-ui/icons": "^2.0.1",
"@material-ui/lab": "^1.0.0-alpha.9",
"@types/fscreen": "^1.0.0",
"@types/lodash.clonedeep": "^4.5.3",
"@types/react-loadable": "^5.4.1",
"@types/redux-thunk": "^2.1.0",
"@types/vis": "^4.21.7",
"fscreen": "^1.0.2",
"istanbul": "github:Xesenix/istanbul",
"lodash.clonedeep": "^4.5.0",
"ngrok": "^3.0.1",
"phaser": "^3.12.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-loadable": "^5.5.0",
"redux-thunk": "^2.3.0",
"rxjs": "^6.3.2",
"ts-node": "^7.0.0",
"vis": "^4.21.0",
"webpack-dev-server": "^3.1.4",
"xes-webpack-core": "^0.8.1"
},
"engines": {
"node": ">= 8.0.0"
}
}