141 lines
5.0 KiB
JSON
141 lines
5.0 KiB
JSON
{
|
|
"name": "cic-staff-client",
|
|
"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",
|
|
"scripts": {
|
|
"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",
|
|
"build:prod": "ng build --prod",
|
|
"start:pwa": "npm run build:prod && http-server -p 4200 dist/cic-staff-client",
|
|
"test": "ng test",
|
|
"format:check": "prettier --config ./.prettierrc --list-different \"src/{app,environments,assets}/**/*.{ts,js,json,css,scss}\"",
|
|
"format:refactor": "prettier --config ./.prettierrc --write \"src/{app,environments,assets}/**/*.{ts,js,json,css,scss}\"",
|
|
"format:fix": "pretty-quick --staged",
|
|
"format:lint": "npm run format:refactor && npm run lint",
|
|
"lint": "ng lint",
|
|
"e2e": "ng e2e",
|
|
"precommit": "npm run format:fix && npm run lint",
|
|
"postinstall": "node patch-webpack.js",
|
|
"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"
|
|
},
|
|
"private": true,
|
|
"dependencies": {
|
|
"@angular/animations": "~10.2.0",
|
|
"@angular/cdk": "~10.2.7",
|
|
"@angular/common": "~10.2.0",
|
|
"@angular/compiler": "~10.2.0",
|
|
"@angular/core": "~10.2.0",
|
|
"@angular/forms": "~10.2.0",
|
|
"@angular/material": "~10.2.7",
|
|
"@angular/platform-browser": "~10.2.0",
|
|
"@angular/platform-browser-dynamic": "~10.2.0",
|
|
"@angular/router": "~10.2.0",
|
|
"@angular/service-worker": "~10.2.0",
|
|
"@cicnet/schemas-data-validator": "*",
|
|
"@popperjs/core": "^2.5.4",
|
|
"bootstrap": "^4.5.3",
|
|
"cic-client": "0.1.4",
|
|
"cic-client-meta": "0.0.7-alpha.6",
|
|
"electron-squirrel-startup": "^1.0.0",
|
|
"ethers": "^5.0.31",
|
|
"http-server": "^0.12.3",
|
|
"jquery": "^3.5.1",
|
|
"ngx-logger": "^4.2.1",
|
|
"rxjs": "~6.6.0",
|
|
"sha3": "^2.1.4",
|
|
"tslib": "^2.0.0",
|
|
"vcard-parser": "^1.0.0",
|
|
"web3": "^1.3.0",
|
|
"zone.js": "~0.10.2"
|
|
},
|
|
"devDependencies": {
|
|
"@angular-devkit/build-angular": "~0.1002.0",
|
|
"@angular/cli": "~10.2.0",
|
|
"@angular/compiler-cli": "~10.2.0",
|
|
"@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",
|
|
"@types/datatables.net": "^1.10.19",
|
|
"@types/electron": "^1.6.10",
|
|
"@types/jasmine": "~3.5.0",
|
|
"@types/jasminewd2": "~2.0.3",
|
|
"@types/jquery": "^3.5.4",
|
|
"@types/node": "^15.6.1",
|
|
"codelyzer": "^6.0.0",
|
|
"dotenv": "^8.2.0",
|
|
"electron": "^12.0.9",
|
|
"electron-packager": "^15.2.0",
|
|
"husky": "^6.0.0",
|
|
"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",
|
|
"karma-junit-reporter": "^2.0.1",
|
|
"prettier": "^2.3.0",
|
|
"pretty-quick": "^3.1.0",
|
|
"protractor": "~7.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"secp256k1": "^4.0.2",
|
|
"ts-node": "~8.3.0",
|
|
"tslint": "~6.1.0",
|
|
"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"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "pretty-quick --staged & ng lint"
|
|
}
|
|
},
|
|
"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": {}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|