UNPKG

@cap-js/cds-types

Version:

Type definitions for main packages of CAP, like `@sap/cds`

64 lines (63 loc) 2.56 kB
{ "name": "@cap-js/cds-types", "version": "0.13.0", "description": "Type definitions for main packages of CAP, like `@sap/cds`", "repository": "github:cap-js/cds-types", "homepage": "https://cap.cloud.sap/", "keywords": [ "CAP", "CDS", "Node.js" ], "author": "SAP SE (https://www.sap.com)", "license": "Apache-2.0", "typings": "dist/cds-types.d.ts", "files": [ "dist/", "scripts/", "README.md" ], "scripts": { "test:integration": "node --test ./test/postinstall.integrationtest.js", "test:runtime": "npm run test:runtime:post-mortem; rm -rf test/typescript/_out", "test:runtime:tsc": "npx tsc test/typescript/runtime.test.ts --outDir test/typescript/_out --target ES2020 --module commonjs --esModuleInterop", "test:runtime:post-mortem": "npm run test:runtime:tsc && node --test './test/typescript/_out/runtime.test.js'", "test:api-calls": "node --test './test/typescript/apis/cds-api-calls.test.js'", "test:typings": "node --test './test/typescript/cds-typings.test.js'", "test:all": "npm run test:runtime && npm run test:api-calls && npm run test:typings", "test:setup": "npm install file:. --no-save --force && npm run prerelease:ci-fix", "test": "npm run test:setup && npm run test:rollup-on", "test:rollup-on": "npm run rollup && npm run rollup:on && npm run test:all --silent", "test:rollup-off": "npm run rollup:off && npm run test:all --silent", "rollup": "rm -rf dist/ && mkdir -p etc/ && .github/api-extractor/run-api-extractor.js", "rollup:on": "npm pkg set typings=dist/cds-types.d.ts && [ -d 'apis' ] && mv -- apis -apis || true", "rollup:off": "npm pkg set typings=apis/cds.d.ts && [ -d '-apis' ] && mv -- -apis apis || true", "lint": "npx eslint .", "lint:fix": "npx eslint . --fix", "setup": "npm i && npm i file:. --no-save --force", "prerelease:ci-fix": "node .github/prerelease-fix.js", "postinstall": "node ./scripts/postinstall.js", "dependencies": "node ./scripts/postinstall.js" }, "peerDependencies": { "@sap/cds": ">=9.0.0", "@sap/cds-dk": "^9", "@types/express": ">=4" }, "peerDependenciesMeta": { "@sap/cds-dk": { "optional": true } }, "devDependencies": { "@cap-js/cds-test": "^0", "@microsoft/api-extractor": "^7.52.8", "@sap/cds-dk": "^9", "@stylistic/eslint-plugin-js": "^4.0.1", "@stylistic/eslint-plugin-ts": "^4.0.1", "axios": "^1.6.2", "eslint": "^9.2.0", "typescript": "^5.4.5", "typescript-eslint": "^8.0.0-alpha.51" } }