-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
206 lines (206 loc) · 8.95 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
{
"name": "cesium",
"version": "2.0.0-alpha42",
"description": "Manage G1 wallet",
"author": "Benoit Lavenier <benoit.lavenier@e-is.pro>",
"homepage": "https://cesium.app",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git.duniter.org:clients/cesium-grp/cesium2.git"
},
"scripts": {
"ng": "ng",
"clean": "rm -rf www .angular/cache out-tsc",
"start": "ng serve",
"start:dev": "ng serve --host 0.0.0.0 --disable-host-check",
"start:prod": "ng serve --configuration production",
"build": "ng build",
"build:prod": "ng build --configuration production && npm run i18n:build",
"build:ci": "ng build --configuration ci",
"i18n:build": "node scripts/node/build-i18n.js",
"android:init": "ionic capacitor add android && npm run resources",
"android:sync": "ionic capacitor sync android",
"android:start": "ionic capacitor run android -l --external",
"android:build": "ionic capacitor build android --no-open",
"android:build:prod": "ionic capacitor build android --no-open --configuration production --release && npm run android:i18n:build",
"android:i18n:build": "npm run i18n:build android/app/src/main/assets/public/assets/i18n",
"android:package": "cd android && ./gradlew assembleDebug --warning-mode all",
"android:package:prod": "cd android && ./gradlew assembleRelease",
"android:install": "node scripts/node/android-install.js",
"android:clean": "cd android && ./gradlew clean",
"android:list": "native-run android --list",
"electron:sync": "ionic capacitor sync electron",
"electron:start": "ionic capacitor build electron",
"electron:build": "ionic capacitor sync electron && cd electron && npm run build",
"electron:build:prod": "ionic capacitor sync electron --configuration production && npm run electron:i18n:build && cd electron && npm run build",
"electron:i18n:build": "npm run i18n:build electron/app/assets/i18n",
"electron:install": "npm install @capacitor-community/electron && cd electron && npm install",
"electron:package": "cd electron && npm run package:linux",
"electron:package:prod": "cd electron && npm run package:linux && npm run package:windows",
"release:create": "node scripts/node/release.js --token=${npm_config_token} --release",
"release:upload_file": "node scripts/node/release.js --token=${npm_config_token} --upload",
"release:link": "node scripts/node/release.js --token=${npm_config_token} --link",
"resources": "cordova-res ios && cordova-res android && node scripts/node/resources.js",
"test": "ng test",
"lint": "ng lint",
"lint:fix": "ng lint --fix",
"typegen": "npm run typegen:prod",
"typegen:dev": "npm run get:meta:dev && npm run generate",
"typegen:prod": "npm run get:meta:prod && npm run generate",
"get:meta:dev": "curl -H \"Content-Type: application/json\" -d '{\"id\":1, \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://localhost:9944 > src/interfaces/types.json",
"get:meta:prod": "curl -H \"Content-Type: application/json\" -d '{\"id\":\"1\", \"jsonrpc\":\"2.0\", \"method\": \"state_getMetadata\", \"params\":[]}' http://gdev.cgeek.fr/http > src/interfaces/types.json",
"generate": "npm run generate:defs && npm run generate:meta && npm run generate:graphql",
"generate:defs": "ts-node --skip-project node_modules/.bin/polkadot-types-from-defs --package @duniter/interfaces --input src/interfaces --endpoint src/interfaces/types.json",
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @duniter/interfaces --output src/interfaces --endpoint src/interfaces/types.json",
"generate:graphql": "graphql-codegen --project indexer && graphql-codegen --project pod",
"generate:graphql:indexer": "graphql-codegen --project indexer",
"generate:graphql:pod": "graphql-codegen --project pod",
"prepare": "husky install",
"version:get": "node scripts/node/version.js",
"version:set": "node scripts/node/version.js --set",
"webext:start": "npm run webext:build:prod && node scripts/node/webext.js --run",
"webext:build:prod": "ng build --configuration webext && npm run webext:i18n:build",
"webext:i18n:build": "npm run i18n:build webext/assets/i18n",
"webext:package:prod": "node scripts/node/webext.js --package",
"webext:deploy": "npm run webext:build:prod && node scripts/node/webext.js --sign",
"webext:deploy:test": "npm run webext:deploy",
"webext:deploy:prod": "npm run webext:deploy --release"
},
"lint-staged": {
"src/**/*.{ts,html}": [
"prettier --write",
"eslint --fix"
],
"src/**/*.{css,json,md,scss}": "prettier --write"
},
"peerDependencies": {
"@apollo/client": "~3.8.5",
"localforage": "~1.10.0",
"rxjs": "~7.5.7"
},
"dependencies": {
"@angular/animations": "^17.3.5",
"@angular/common": "^17.3.5",
"@angular/core": "^17.3.5",
"@angular/forms": "^17.3.5",
"@angular/platform-browser": "^17.3.5",
"@angular/platform-browser-dynamic": "^17.3.5",
"@angular/router": "^17.3.5",
"@apollo/client": "~3.8.5",
"@capacitor-community/barcode-scanner": "~4.0.1",
"@capacitor/android": "^5.0.0",
"@capacitor/app": "^5.0.0",
"@capacitor/assets": "^3.0.4",
"@capacitor/browser": "^5.0.0",
"@capacitor/camera": "^5.0.0",
"@capacitor/clipboard": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/haptics": "^5.0.0",
"@capacitor/ios": "5.6.0",
"@capacitor/keyboard": "^5.0.0",
"@capacitor/network": "^5.0.6",
"@capacitor/splash-screen": "^5.0.0",
"@capacitor/status-bar": "^5.0.0",
"@ionic/angular": "^7.8.5",
"@ionic/pwa-elements": "^3.2.2",
"@ionic/storage-angular": "^4.0.0",
"@maskito/angular": "^1.9.0",
"@maskito/core": "^1.9.0",
"@ngx-translate/core": "^15.0.0",
"@ngx-translate/http-loader": "^8.0.0",
"@polkadot/api": "^10.11.2",
"@polkadot/keyring": "^10.4.2",
"@polkadot/networks": "^10.4.2",
"@polkadot/ui-keyring": "^2.12.1",
"@polkadot/ui-settings": "^2.12.1",
"@polkadot/util": "^10.4.2",
"@polkadot/util-crypto": "^10.4.2",
"@rx-angular/cdk": "^17.1.0",
"@rx-angular/state": "^17.2.0",
"@rx-angular/template": "^17.3.1",
"apollo-angular": "~6.0.0",
"apollo-link-logger": "~2.0.1",
"apollo-link-queue": "~3.1.0",
"apollo-link-serialize": "~4.0.0",
"apollo3-cache-persist": "~0.14.1",
"bs58": "^5.0.0",
"graphql-tag": "~2.12.6",
"graphql-ws": "~5.14.3",
"ionicons": "~7.2.2",
"jdenticon": "^3.2.0",
"localforage": "~1.10.0",
"moment": "^2.30.1",
"moment-timezone": "^0.5.44",
"ng-qrcode": "^17.0.0",
"ngx-color-picker": "^16.0.0",
"ngx-jdenticon": "^2.0.0",
"ngx-markdown": "^17.1.1",
"ngx-material-timepicker": "~13.1.1",
"qrcode": "^1.5.3",
"rxjs": "~7.5.7",
"stream-browserify": "^3.0.0",
"swiper": "^11.0.5",
"tslib": "^2.6.2",
"uuid": "^9.0.1",
"zone.js": "~0.14.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.3.5",
"@angular-devkit/core": "~17.3.5",
"@angular-eslint/builder": "~17.1.1",
"@angular-eslint/eslint-plugin": "~17.1.1",
"@angular-eslint/eslint-plugin-template": "~17.1.1",
"@angular-eslint/template-parser": "~17.1.1",
"@angular/cli": "^17.3.5",
"@angular/compiler": "^17.3.5",
"@angular/compiler-cli": "^17.3.5",
"@angular/language-service": "^17.3.5",
"@capacitor/cli": "^5.0.0",
"@gitbeaker/rest": "^39.34.2",
"@graphql-codegen/add": "^5.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/fragment-matcher": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-apollo-angular": "^4.0.0",
"@graphql-codegen/typescript-apollo-client-helpers": "^3.0.0",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@ionic/angular-toolkit": "^10.1.1",
"@ionic/cli": "^7.2.0",
"@polkadot/typegen": "^10.11.2",
"@polkadot/types": "^10.11.2",
"@rx-angular/eslint-plugin": "~2.0.0",
"@types/jasmine": "~4.0.3",
"@types/jasminewd2": "~2.0.10",
"@types/node": "^18.18.13",
"@types/react": "^18.2.47",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "~9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsdoc": "~46.9.1",
"eslint-plugin-prefer-arrow": "~1.2.3",
"eslint-plugin-prettier": "~5.1.2",
"husky": "^8.0.3",
"jasmine-core": "~4.2.0",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.4.2",
"karma-chrome-launcher": "~3.2.0",
"karma-coverage": "~2.2.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"lint-staged": "^15.2.0",
"prettier": "~3.1.1",
"shelljs": "~0.8.5",
"stdio": "^2.1.3",
"ts-node": "^8.10.2",
"typescript": "~5.4.5"
},
"engines": {
"node": ">= 18.18.2",
"npm": ">= 9.9.1",
"yarn": ">= 1.22.19"
}
}