forked from polkascan/polkadapt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 4.1 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
{
"name": "polkadapt",
"version": "1.0.0",
"license": "Apache-2.0",
"author": "Polkascan Foundation <info@polkascan.org>",
"description": "A pluggable framework for heterogeneous data retrieval and augmentation.",
"bugs": "https://github.com/polkascan/polkadapt/issues",
"homepage": "https://github.com/polkascan/polkadapt",
"engines": {
"node": ">=14.0.0"
},
"scripts": {
"postinstall": "npm update",
"ng": "ng",
"prestart": "npm run build && npm run symlink",
"build-core": "cd projects/core && npm install && npm update && cd .. && ng build --configuration production core",
"build-substrate-rpc": "cd projects/substrate-rpc && npm install && npm update && cd .. && ng build --configuration production substrate-rpc",
"build-polkascan-explorer": "cd projects/polkascan-explorer && npm install && npm update && cd .. && ng build --configuration production polkascan-explorer",
"build-coingecko": "cd projects/coingecko && npm install && npm update && cd .. && ng build --configuration production coingecko",
"symlink": "concurrently \"npm run link-substrate-rpc\" \"npm run link-polkascan-explorer\"",
"link-substrate-rpc": "cd projects/substrate-rpc/node_modules/@polkadapt && rm -rf core && ln -s ../../../../dist/core",
"link-polkascan-explorer": "cd projects/polkascan-explorer/node_modules/@polkadapt && rm -rf core && ln -s ../../../../dist/core",
"link-coingecko": "cd projects/coingecko/node_modules/@polkadapt && rm -rf core && ln -s ../../../../dist/core",
"start": "npm run watch",
"copy-license": "find dist -mindepth 1 -maxdepth 1 -type d -exec cp LICENSE ./{} \\;",
"build": "npm run build-core && concurrently \"npm run build-substrate-rpc\" \"npm run build-polkascan-explorer\" \"npm run build-coingecko\" && npm run copy-license",
"watch": "ng build core --configuration development && concurrently \"ng build substrate-rpc --watch --configuration development\" \"ng build polkascan-explorer --watch --configuration development\" \"ng build coingecko --watch --configuration development\" \"sleep 20 && ng build core --watch --configuration development\"",
"test": "ng test",
"test:prod": "ng test --browsers=ChromeHeadlessNoSandbox --watch=false --code-coverage",
"lint:coingecko": "cd projects/coingecko && eslint src/** --ext .ts",
"lint:core": "cd projects/core && eslint src/** --ext .ts",
"lint:polkascan-explorer": "cd projects/polkascan-explorer && eslint src/** --ext .ts",
"lint:substrate-rpc": "cd projects/substrate-rpc && eslint src/** --ext .ts",
"lint": "npm run lint:coingecko && npm run lint:core && npm run lint:polkascan-explorer && npm run lint:substrate-rpc",
"publish:all": "find dist -mindepth 1 -maxdepth 1 -type d -exec npm publish --access public ./{} \\;",
"publish:dry-run": "find dist -mindepth 1 -maxdepth 1 -type d -exec npm publish --dry-run --access public ./{} \\;"
},
"private": true,
"dependencies": {
"@angular/compiler": "~13.2.6",
"@angular/core": "~13.2.6",
"@angular/platform-browser": "~13.2.6",
"@angular/platform-browser-dynamic": "~13.2.6",
"rxjs": "~7.5.5",
"tslib": "^2.3.1",
"zone.js": "^0.11.5"
},
"devDependencies": {
"@angular-devkit/build-angular": "^13.2.6",
"@angular-eslint/builder": "13.1.0",
"@angular-eslint/eslint-plugin": "13.1.0",
"@angular-eslint/eslint-plugin-template": "13.1.0",
"@angular-eslint/schematics": "13.1.0",
"@angular-eslint/template-parser": "13.1.0",
"@angular/cli": "^13.2.6",
"@angular/compiler-cli": "~13.2.6",
"@types/jasmine": "~3.10.3",
"@types/node": "^12.11.1",
"@typescript-eslint/eslint-plugin": "5.14.0",
"@typescript-eslint/parser": "5.14.0",
"concurrently": "^7.0.0",
"eslint": "^8.10.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-prefer-arrow": "^1.2.3",
"jasmine-core": "~4.0.1",
"karma": "~6.3.17",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.2.0",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.7.0",
"ng-packagr": "^13.2.1",
"typescript": "~4.5.5"
}
}