package.json
{
"name": "thaw-angular-service-library",
"version": "0.0.3",
"description": "Services for Angular applications",
"keywords": [
"Angular",
"service",
"TypeScript"
],
"private": false,
"homepage": "https://github.com/tom-weatherhead/thaw-angular-service-library#readme",
"repository": "github:tom-weatherhead/thaw-angular-service-library",
"bugs": {
"url": "https://github.com/tom-weatherhead/thaw-angular-service-library/issues"
},
"// browser": "",
"// main": "",
"main": "main.js",
"// types": "",
"// files": [],
"man": [],
"directories": {
"lib": "lib",
"// bin": "It is an error to specify both bin and directories.bin",
"man": "man",
"// doc": "Put markdown files in the directories.doc directory",
"doc": "doc",
"example": "examples",
"test": "test"
},
"scripts": {
"clean-packages": "rm -rf node_modules && rm -f package-lock.json",
"clean-build-products": "rm -f main.js && rm -rf dist && rm -rf release",
"clean": "npm run clean-packages && npm run clean-build-products",
"reinstall-packages": "npm run clean-packages && npm i",
"build:dev": "npm run clean-build-products && ng build -c dev --base-href ./ && npm run build-electron-main",
"build:prod": "npm run clean-build-products && ng build -c production --base-href ./ && npm run build-electron-main",
"build-electron-main": "rm -f main.js; tsc -p tsconfig.main.json",
"electron-with-gpu": "electron .",
"electron-without-gpu": "electron --disable-gpu .",
"electron": "npm run electron-without-gpu",
"lint": "eslint . --ext .ts",
"ng-lint": "ng lint",
"prettier-check": "prettier --check \"**/*.js\" \"**/*.ts\"",
"prettier-list": "prettier --list-different \"**/*.js\" \"**/*.ts\"",
"prettier-format": "prettier --write \"**/*.js\" \"**/*.ts\"",
"unit-tests": "rm -rf coverage && ng test --watch=false",
"e2e": "npm run build:prod && cross-env TS_NODE_PROJECT='e2e/tsconfig.e2e.json' mocha --timeout 300000 --require ts-node/register e2e/**/*.e2e.ts",
"pre-build-tests": "npm run prettier-check && npm run lint && npm run ng-lint",
"// test - e2e disabled until Spectron supports Electron 11": "npm run unit-tests && npm run e2e",
"test": "npm run unit-tests",
"build-and-test": "npm run pre-build-tests && npm run clean-build-products && npm run build-electron-main && npm test",
"start": "npm run build:dev && npm run electron",
"// all": "npm run reinstall-packages && npm run build-and-test && npm start",
"all": "npm run reinstall-packages && npm run build-and-test",
"f": "npm run prettier-format && npm run all",
"re": "npm run prettier-format && npm run build-and-test && npm start",
"// gen-module": "ng generate module",
"// gen-component": "ng generate component",
"gen-service": "ng generate service",
"// e.g. gen-service": "npm run gen-service services/data-feed-providers/alphavantage/alphavantage",
"loc": "git ls-files | grep -v package-lock.json | grep -v assets | tr -d '\\r' | tr '\\n' '\\0' | xargs -0 wc -l",
"packagr": "ng-packagr -p ng-package.json",
"packit": "npm run packagr && cd dist && npm pack && cd ..",
"deploy": "eval mv dist/$npm_package_name-$npm_package_version.tgz $(echo $npm_package_config_deploy_target_dir)/",
"pack-and-deploy": "ng build --prod && npm run packit && npm run deploy",
"// NOTE BENE about publishing": "Publish the dist dir, not the . dir; i.e. npm publish dist",
"pack-and-publish": "ng build --prod && npm run packagr && npm publish dist"
},
"config": {
"deploy_target_dir": "$NPM_PKG_DIR"
},
"publishConfig": {},
"dependencies": {
"@angular/common": "^11.2.0",
"@angular/compiler": "^11.2.0",
"@angular/core": "^11.2.0",
"@angular/forms": "^11.2.0",
"@angular/localize": "^11.2.0",
"@angular/platform-browser": "^11.2.0",
"@angular/platform-browser-dynamic": "^11.2.0",
"@angular/router": "^11.2.0",
"rxjs": "^6.6.3",
"thaw-common-utilities.ts": "^0.0.5",
"tslib": "^2.1.0",
"zone.js": "~0.10.3"
},
"devDependencies": {
"@angular-devkit/architect": "~0.1101.4",
"@angular-devkit/build-angular": "^0.1101.4",
"@angular-eslint/builder": "^1.2.0",
"@angular-eslint/eslint-plugin": "^1.2.0",
"@angular-eslint/eslint-plugin-template": "^1.2.0",
"@angular-eslint/template-parser": "^1.2.0",
"@angular/cli": "^11.1.4",
"@angular/compiler-cli": "^11.2.0",
"@angular/language-service": "^11.2.0",
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@types/chai": "^4.2.15",
"@types/eslint": "^7.2.6",
"@types/jasmine": "^3.6.3",
"@types/jasminewd2": "^2.0.8",
"@types/mocha": "^8.2.0",
"@types/node": "^14",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"chai": "^4.3.0",
"cross-env": "^7.0.3",
"electron": "^11.2.3",
"eslint": "^7.19.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-rxjs": "^3.0.1",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~6.0.0",
"karma": "~6.1.0",
"karma-coverage": "~2.0.3",
"karma-electron": "~6.3.3",
"karma-jasmine": "~4.0.1",
"mocha": "^8.3.0",
"ng-packagr": "^11.2.0",
"prettier": "^2.2.1",
"spectron": "^13.0.0",
"ts-node": "^9.1.1",
"typescript": "~4.1.5",
"webdriver-manager": "^12.1.8"
},
"// bundleDependencies": "... is an array of package names",
"bundleDependencies": [],
"engines": {
"node": "^14"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"ia32",
"x64"
],
"contributors": [
"Autonomous Weapons Systems Unlimited <killer@robots.com>",
"Buddy Guy <deadbeef@decafbad.gov>",
"Deprecated <deadc0de@obso1337.org>",
"Locutus <cube@cyb.org>",
"Sgt. Pepper <shoot1st@thinkl8r.mil>"
],
"author": "Tom Weatherhead <thaw@2hrd4u.org> (https://github.com/tom-weatherhead)",
"license": "MIT"
}