2020-10-30 16:16:05 +01:00
|
|
|
{
|
|
|
|
"name": "cic-staff-client",
|
|
|
|
"version": "0.0.0",
|
|
|
|
"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",
|
2021-04-14 01:29:31 +02:00
|
|
|
"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-06-15 18:37:33 +02:00
|
|
|
"format:check": "prettier --config ./.prettierrc --list-different src/**/*.{ts,js,json,css,scss,html}",
|
|
|
|
"format:refactor": "prettier --config ./.prettierrc --write src/**/*.{ts,js,json,css,scss,html}",
|
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 20:56:20 +02:00
|
|
|
"postinstall": "node patch-webpack.js",
|
2021-05-11 19:41:47 +02:00
|
|
|
"prepare": "husky install",
|
2021-05-11 11:05:04 +02:00
|
|
|
"compodoc": "npx compodoc -p tsconfig.doc.json -d docs/compodoc -n CICADA",
|
|
|
|
"typedoc": "npx typedoc --tsconfig tsconfig.json --exclude **/*.spec.ts --out docs/typedoc --name CICADA src",
|
|
|
|
"docs": "npm run typedoc && npm run compodoc"
|
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-06-10 17:40:45 +02:00
|
|
|
"@cicnet/cic-client": "^0.1.6",
|
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",
|
2021-04-24 21:21:15 +02:00
|
|
|
"cic-client-meta": "0.0.7-alpha.6",
|
2021-03-03 14:43:33 +01:00
|
|
|
"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",
|
2021-03-14 09:23:20 +01:00
|
|
|
"ngx-logger": "^4.2.1",
|
2020-10-30 16:16:05 +01:00
|
|
|
"rxjs": "~6.6.0",
|
2021-03-03 14:43:33 +01:00
|
|
|
"sha3": "^2.1.4",
|
2020-10-30 16:16:05 +01:00
|
|
|
"tslib": "^2.0.0",
|
2021-03-02 08:29:14 +01:00
|
|
|
"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-10 20:56:20 +02:00
|
|
|
"@compodoc/compodoc": "^1.1.11",
|
2020-11-04 13:31:38 +01:00
|
|
|
"@types/datatables.net": "^1.10.19",
|
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-03-18 18:02:25 +01:00
|
|
|
"@types/node": "^12.20.6",
|
2020-10-30 16:16:05 +01:00
|
|
|
"codelyzer": "^6.0.0",
|
2021-03-18 18:02:25 +01:00
|
|
|
"dotenv": "^8.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-06-15 18:37:33 +02:00
|
|
|
"lint-staged": "^11.0.0",
|
|
|
|
"prettier": "^2.3.1",
|
2021-05-10 14:19:54 +02:00
|
|
|
"pretty-quick": "^3.1.0",
|
2020-10-30 16:16:05 +01:00
|
|
|
"protractor": "~7.0.0",
|
2021-03-03 14:43:33 +01:00
|
|
|
"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",
|
2021-05-10 20:56:20 +02:00
|
|
|
"typedoc": "^0.20.36",
|
2021-03-18 18:02:25 +01:00
|
|
|
"typescript": "~4.0.2",
|
|
|
|
"yargs": "^13.3.2"
|
2021-05-10 14:19:54 +02:00
|
|
|
},
|
2021-06-15 18:37:33 +02:00
|
|
|
"lint-staged": {
|
|
|
|
"src/**/*.{js,ts,scss,md,html,json}": [
|
|
|
|
"prettier --write",
|
|
|
|
"git add"
|
|
|
|
],
|
|
|
|
"*.scss": [
|
|
|
|
"stylelint src/**/*.scss"
|
|
|
|
]
|
|
|
|
},
|
2021-05-10 14:19:54 +02:00
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
2021-06-15 18:37:33 +02:00
|
|
|
"pre-commit": "npx pretty-quick --staged && npm run format:lint && npx lint-staged"
|
2021-05-10 14:19:54 +02:00
|
|
|
}
|
2021-06-24 19:51:06 +02:00
|
|
|
},
|
|
|
|
"browser": {
|
|
|
|
"child_process": false,
|
|
|
|
"fs": false
|
2021-02-28 09:13:04 +01:00
|
|
|
}
|
2020-10-30 16:16:05 +01:00
|
|
|
}
|