UNPKG

@anglr/rest

Version:

Angular module representing rest services

155 lines (154 loc) 7.3 kB
{ "name": "@anglr/rest", "version": "14.0.0", "description": "Angular module representing rest services", "type": "module", "sideEffects": false, "scripts": { "build": "ngc --declaration --declarationDir . --declarationMap", "api": "api-extractor run --local --verbose -c", "clean": "rimraf --glob */temp temp es2022 **/tsdoc-metadata.json src/**/*.d.ts src/**/*.d.ts.map */src/**/*.d.ts */src/**/*.d.ts.map ./*.d.ts ./*.d.ts.map */*.d.ts", "clean:deps": "rimraf package-lock.json node_modules || echo 'node_modules removed'", "clean:all": "npm run clean && npm run clean:deps", "ngc": "ngc", "version:placeholder": "replace-in-file /\\\"version\\\":\\s\\\".*?\\\"/g \"\\\"version\\\": \\\"0.0.0-placeholder\\\"\" package.json", "version:git": "ngv -e \"replace-in-file 0.0.0-placeholder $GIT_VERSION package.json && echo $GIT_VERSION > version.bak\"", "version:build": "ngv -e \"echo $GIT_VERSION > version.bak\"", "prepublishOnly": "npm run bundle && npm run version:placeholder && npm run version:git", "postpublish": "npm run doc && npm run version:placeholder && npm run clean", "bundle": "npm run clean && npm run build", "deploy": "npm publish --loglevel error", "deploy:next": "npm publish --tag next --loglevel error", "lint": "eslint src/**/*.ts", "doc": "path-exists docs && npm run doc:generate || echo \"No docs generated!\"", "predoc:generate": "cd docs && git pull && cd ..", "postdoc:generate": "npm run doc:save", "doc:generate": "npm run doc:generate:rest && npm run doc:generate:stompjs && npm run doc:generate:avsc && npm run doc:generate:datetime", "doc:save": "cd docs && git add . && git commit -m \"INT: updated API docs ng-rest\" && git push && cd ..", "doc:generate:rest": "rimraf docs/content/api/ng-rest && npm run doc:json:rest && npm run doc:md:rest && npm run doc:api:rest", "doc:json:rest": "api-extractor run --local --verbose -c api-extractor.json", "doc:md:rest": "api-documenter markdown -i temp -o docs/content/api/ng-rest", "doc:api:rest": "copyfiles -u 1 temp/rest.api.md docs/content/api/ng-rest && rimraf temp", "doc:generate:stompjs": "rimraf docs/content/api/ng-rest-stompjs && npm run doc:json:stompjs && npm run doc:md:stompjs && npm run doc:api:stompjs", "doc:json:stompjs": "api-extractor run --local --verbose -c stompjs/api-extractor.json", "doc:md:stompjs": "api-documenter markdown -i stompjs/temp -o docs/content/api/ng-rest-stompjs", "doc:api:stompjs": "copyfiles -u 2 stompjs/temp/common-stompjs.api.md docs/content/api/ng-common-stompjs && rimraf stompjs/temp", "doc:generate:avsc": "rimraf docs/content/api/ng-rest-avsc && npm run doc:json:avsc && npm run doc:md:avsc && npm run doc:api:avsc", "doc:json:avsc": "api-extractor run --local --verbose -c avsc/api-extractor.json", "doc:md:avsc": "api-documenter markdown -i avsc/temp -o docs/content/api/ng-rest-avsc", "doc:api:avsc": "copyfiles -u 2 avsc/temp/common-avsc.api.md docs/content/api/ng-common-avsc && rimraf avsc/temp", "doc:generate:datetime": "rimraf docs/content/api/ng-rest-datetime && npm run doc:json:datetime && npm run doc:md:datetime && npm run doc:api:datetime", "doc:json:datetime": "api-extractor run --local --verbose -c datetime/api-extractor.json", "doc:md:datetime": "api-documenter markdown -i datetime/temp -o docs/content/api/ng-rest-datetime", "doc:api:datetime": "copyfiles -u 2 datetime/temp/rest-datetime.api.md docs/content/api/ng-rest-datetime && rimraf datetime/temp" }, "engines": { "node": "^18.13.0 || >=20.9.0" }, "repository": { "type": "git", "url": "https://github.com/ressurectit/ng-rest.git" }, "keywords": [ "angular", "ng", "rest" ], "author": "kukjevov", "license": "MIT", "bugs": { "url": "https://github.com/ressurectit/ng-rest/issues" }, "homepage": "https://github.com/ressurectit/ng-rest", "dependencies": { "@anglr/common": ">=22.0.0", "@angular/common": ">=19.1.0", "@angular/core": ">=19.1.0", "@jscrpt/common": ">=7.0.0", "crypto-js": ">=4.0.0", "rxjs": ">=7.5.7", "tslib": "^2.8.1" }, "optionalDependencies": { "@anglr/datetime": ">=9.0.0", "@stomp/stompjs": ">=5.4.2", "avsc": ">=5.7.7", "sockjs-client": ">=1.3.0" }, "devDependencies": { "@anglr/common": "22.0.0", "@anglr/datetime": "9.0.0", "@angular/animations": "19.1.0", "@angular/common": "19.1.0", "@angular/compiler": "19.1.0", "@angular/compiler-cli": "19.1.0", "@angular/core": "19.1.0", "@angular/forms": "19.1.0", "@angular/language-service": "19.1.0", "@angular/platform-browser": "19.1.0", "@jscrpt/common": "7.0.0", "@microsoft/api-documenter": "7.26.5", "@microsoft/api-extractor": "7.49.1", "@stomp/stompjs": "5.4.2", "@stylistic/eslint-plugin": "2.13.0", "@types/crypto-js": "4.0.2", "@types/node": "22.7.4", "@types/sockjs-client": "1.1.1", "avsc": "5.7.7", "copyfiles": "2.4.1", "eslint": "9.18.0", "eslint-plugin-ressurectit": "0.3.0", "npm-git-version": "2.0.0", "path-exists-cli": "2.0.0", "replace-in-file": "8.3.0", "rimraf": "6.0.1", "rxjs": "7.5.7", "tslib": "2.8.1", "typescript": "5.7.3", "typescript-eslint": "8.20.0" }, "module": "./es2022/src/index.js", "typings": "./src/index.d.ts", "exports": { "./package.json": { "default": "./package.json" }, "./styles": { "sass": "./styles/index.scss" }, "./styles/themes/*": { "sass": "./styles/themes/*.scss" }, "./typings/*": { "types": "./typings/*/index.d.ts" }, ".": { "types": "./src/index.d.ts", "esm2022": "./es2022/src/index.js", "es2022": "./es2022/src/index.js", "node": "./es2022/src/index.js", "default": "./es2022/src/index.js" }, "./datetime": { "types": "./datetime/src/index.d.ts", "esm2022": "./es2022/datetime/src/index.js", "es2022": "./es2022/datetime/src/index.js", "node": "./es2022/datetime/src/index.js", "default": "./es2022/datetime/src/index.js" }, "./avsc": { "types": "./avsc/src/index.d.ts", "esm2022": "./es2022/avsc/src/index.js", "es2022": "./es2022/avsc/src/index.js", "node": "./es2022/avsc/src/index.js", "default": "./es2022/avsc/src/index.js" }, "./stompjs": { "types": "./stompjs/src/index.d.ts", "esm2022": "./es2022/stompjs/src/index.js", "es2022": "./es2022/stompjs/src/index.js", "node": "./es2022/stompjs/src/index.js", "default": "./es2022/stompjs/src/index.js" } } }