cic-staff-client/package.json

141 lines
5.0 KiB
JSON
Raw Normal View History

2020-10-30 16:16:05 +01:00
{
"name": "cic-staff-client",
2021-05-26 08:54:55 +02:00
"version": "0.0.1",
"author": "Spencer Ofwiti <maxspencer56@gmail.com>",
"description": "A fully featured admin client for managing users and transactions in the CIC network.",
"main": "dist/main.js",
"license": "GPL-3.0-or-later",
2020-10-30 16:16:05 +01:00
"scripts": {
2021-03-18 18:31:50 +01:00
"config:dev": "ts-node set-env.ts --environment=dev",
"config:prod": "ts-node set-env.ts --environment=prod",
"start:dev": "ng serve -c dev",
"start:prod": "ng serve --prod",
"build:dev": "ng build -c dev",
2021-04-12 05:32:24 +02:00
"build:prod": "ng build --prod",
2021-03-22 20:13:11 +01:00
"start:pwa": "npm run build:prod && http-server -p 4200 dist/cic-staff-client",
2021-05-12 16:12:02 +02:00
"test": "ng test",
2021-05-10 14:19:54 +02:00
"format:check": "prettier --config ./.prettierrc --list-different \"src/{app,environments,assets}/**/*.{ts,js,json,css,scss}\"",
2021-05-10 18:38:16 +02:00
"format:refactor": "prettier --config ./.prettierrc --write \"src/{app,environments,assets}/**/*.{ts,js,json,css,scss}\"",
2021-05-10 18:28:14 +02:00
"format:fix": "pretty-quick --staged",
2021-05-12 16:12:02 +02:00
"format:lint": "npm run format:refactor && npm run lint",
2020-10-30 16:16:05 +01:00
"lint": "ng lint",
2021-02-28 09:13:04 +01:00
"e2e": "ng e2e",
2021-05-12 16:12:02 +02:00
"precommit": "npm run format:fix && npm run lint",
2021-05-10 18:28:14 +02:00
"postinstall": "node patch-webpack.js",
2021-05-26 08:54:55 +02:00
"prepare": "husky install",
"electron": "ng build --base-href ./ && electron .",
"electron-tsc": "ng build --base-href ./ && tsc --p src-backend --outDir dist && electron .",
"electron:build:dev": "ng build -c dev --base-href ./ && tsc --lib ES2018,DOM --target ES5 src-backend/main.ts --outDir dist && electron .",
"electron:package": "npx electron-forge import && npm run make",
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make",
"elec:package": "npm run build:dev && electron-packager . CICADA --out out --overwrite --asar --icon=dist/cic-staff-client/icons/manifest-icon-512.ico --ignore=^e2e$ --ignore=^src$ --ignore=^src-backend$ --ignore=^.editorconfig$ --ignore=^.gitignore$ --ignore=^angular.json$ --ignore=^browserslist$ --ignore=^karma.conf.js$ --ignore=^package-lock.json$ --ignore=^README.md$ --ignore=^tslint --ignore=^tsconfig --all",
"clean": "rimraf dist",
"prebuild": "npm run clean"
2020-10-30 16:16:05 +01:00
},
"private": true,
"dependencies": {
"@angular/animations": "~10.2.0",
2020-12-28 10:12:37 +01:00
"@angular/cdk": "~10.2.7",
2020-10-30 16:16:05 +01:00
"@angular/common": "~10.2.0",
"@angular/compiler": "~10.2.0",
"@angular/core": "~10.2.0",
"@angular/forms": "~10.2.0",
2020-12-28 10:12:37 +01:00
"@angular/material": "~10.2.7",
2020-10-30 16:16:05 +01:00
"@angular/platform-browser": "~10.2.0",
"@angular/platform-browser-dynamic": "~10.2.0",
"@angular/router": "~10.2.0",
2021-03-22 20:13:11 +01:00
"@angular/service-worker": "~10.2.0",
2021-05-15 11:50:13 +02:00
"@cicnet/schemas-data-validator": "*",
2020-11-25 08:06:53 +01:00
"@popperjs/core": "^2.5.4",
2020-11-04 13:31:38 +01:00
"bootstrap": "^4.5.3",
"cic-client": "0.1.4",
"cic-client-meta": "0.0.7-alpha.6",
2021-05-26 08:54:55 +02:00
"electron-squirrel-startup": "^1.0.0",
"ethers": "^5.0.31",
2021-03-22 20:13:11 +01:00
"http-server": "^0.12.3",
2020-11-04 13:31:38 +01:00
"jquery": "^3.5.1",
"ngx-logger": "^4.2.1",
2020-10-30 16:16:05 +01:00
"rxjs": "~6.6.0",
"sha3": "^2.1.4",
2020-10-30 16:16:05 +01:00
"tslib": "^2.0.0",
"vcard-parser": "^1.0.0",
2020-11-08 07:31:52 +01:00
"web3": "^1.3.0",
2020-10-30 16:16:05 +01:00
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.0",
"@angular/cli": "~10.2.0",
"@angular/compiler-cli": "~10.2.0",
2021-05-26 08:54:55 +02:00
"@electron-forge/cli": "^6.0.0-beta.55",
"@electron-forge/maker-deb": "^6.0.0-beta.55",
"@electron-forge/maker-rpm": "^6.0.0-beta.55",
"@electron-forge/maker-squirrel": "^6.0.0-beta.55",
"@electron-forge/maker-zip": "^6.0.0-beta.55",
2020-11-04 13:31:38 +01:00
"@types/datatables.net": "^1.10.19",
2021-05-26 08:54:55 +02:00
"@types/electron": "^1.6.10",
2020-10-30 16:16:05 +01:00
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
2020-11-04 13:31:38 +01:00
"@types/jquery": "^3.5.4",
2021-05-26 08:54:55 +02:00
"@types/node": "^15.6.1",
2020-10-30 16:16:05 +01:00
"codelyzer": "^6.0.0",
"dotenv": "^8.2.0",
2021-05-26 08:54:55 +02:00
"electron": "^12.0.9",
"electron-packager": "^15.2.0",
2021-05-10 14:19:54 +02:00
"husky": "^6.0.0",
2020-10-30 16:16:05 +01:00
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
2020-11-25 11:26:00 +01:00
"karma-junit-reporter": "^2.0.1",
2021-05-10 14:19:54 +02:00
"prettier": "^2.3.0",
"pretty-quick": "^3.1.0",
2020-10-30 16:16:05 +01:00
"protractor": "~7.0.0",
2021-05-26 08:54:55 +02:00
"rimraf": "^3.0.2",
"secp256k1": "^4.0.2",
2020-10-30 16:16:05 +01:00
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
2021-05-10 14:19:54 +02:00
"tslint-angular": "^3.0.3",
"tslint-config-prettier": "^1.18.0",
"tslint-jasmine-rules": "^1.6.1",
"typescript": "~4.0.2",
"yargs": "^13.3.2"
2021-05-10 14:19:54 +02:00
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged & ng lint"
}
2021-05-26 08:54:55 +02:00
},
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "cic_staff_client"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
]
}
2021-02-28 09:13:04 +01:00
}
2020-10-30 16:16:05 +01:00
}