forked from lichess-org/lichobile
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
104 lines (104 loc) · 3.85 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
{
"name": "lichobile",
"version": "7.2.0",
"description": "lichess.org mobile application",
"repository": {
"type": "git",
"url": "https://github.com/veloce/lichobile.git"
},
"keywords": [
"lichess",
"chess",
"application",
"mobile",
"realtime",
"android",
"ios"
],
"author": "Vincent Velociter (https://github.com/veloce)",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/veloce/lichobile/issues"
},
"homepage": "https://github.com/veloce/lichobile",
"browserslist": "and_chr >= 63, ios_saf >= 11.1",
"devDependencies": {
"@types/jest": "24.0.11",
"autoprefixer-stylus": "1.0.0",
"concurrently": "5.0.0",
"jest": "24.7.1",
"jetifier": "1.6.5",
"mustache": "3.1.0",
"rimraf": "3.0.2",
"rollup": "2.10.9",
"rollup-plugin-terser": "6.0.1",
"stylus": "0.54.7",
"tslint": "5.8.0",
"typescript": "3.7.5",
"whatwg-fetch": "3.0.0"
},
"dependencies": {
"@capacitor/android": "2.1.2",
"@capacitor/cli": "2.1.2",
"@capacitor/core": "2.1.2",
"@capacitor/ios": "2.1.2",
"@rollup/plugin-commonjs": "12.0.0",
"@rollup/plugin-json": "4.0.3",
"@rollup/plugin-node-resolve": "8.0.0",
"@rollup/plugin-strip": "1.3.3",
"@types/d3": "4.5.0",
"@types/lodash-es": "4.17.3",
"@types/mithril": "2.0.0",
"capacitor-cordova-plugin-stockfish": "git+https://github.com/veloce/cordova-plugin-stockfish.git#capacitor",
"capacitor-sound-effect": "git+https://github.com/veloce/capacitor-sound-effect.git",
"cordova-plugin-fullscreen": "1.2.0",
"cordova-plugin-insomnia": "4.2.0",
"d3-axis": "1.0.8",
"d3-scale": "1.0.6",
"d3-selection": "1.1.0",
"d3-shape": "1.2.0",
"d3-time": "1.0.7",
"d3-time-format": "2.0.5",
"date-fns": "2.14.0",
"http-server": "0.12.0",
"lodash": "4.17.15",
"lodash-es": "4.17.15",
"mithril": "git+https://github.com/veloce/mithril.js.git#next",
"rlite-router": "1.1.3",
"signals": "1.0.0"
},
"scripts": {
"start": "npm run compile && concurrently 'npm run watch' 'npm run serve'",
"serve": "http-server -p 8080 -s -g -c-1 .",
"version": "node scripts/bump-version.js",
"lint": "tslint --project tsconfig.json -e '**/dts/**' -e '**/*.js'",
"test": "jest",
"i18n-update": "rimraf www/i18n/*.js && cd scripts && npm run i18n-update",
"compile-date-locales": "node scripts/compile-date-locales",
"styles": "stylus -q -u autoprefixer-stylus src/styl/index.styl -c -o www/css/compiled/app.css",
"styles-watch": "stylus -w -q -u autoprefixer-stylus src/styl/index.styl -o www/css/compiled/app.css",
"compile": "tsc --outDir build/",
"compile-watch": "tsc -w --outDir build/",
"web-clean": "rimraf www/*.js && rimraf www/*.js.map",
"web-build": "npm run web-clean && npm run compile && rollup -c",
"web-watch": "npm run web-clean && rollup -w -c",
"watch": "node scripts/inject-conf && concurrently 'npm:compile-watch' 'npm:web-watch' 'npm:styles-watch'",
"prebuild": "npm run web-clean",
"build": "node scripts/inject-conf && concurrently 'npm:compile-date-locales' 'npm:styles' 'npm:web-build' && npx cap copy",
"run-android": "npm run build && cd android && ./gradlew installDebug"
},
"jest": {
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/testPreprocessor.js"
},
"testMatch": [
"**/__tests__/*.(ts|tsx|js)"
],
"verbose": true
}
}