generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
56 lines (56 loc) · 2.39 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"name": "@cap-js/cds-types",
"version": "0.9.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": "apis/cds.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/ && npx -y @microsoft/api-extractor run --local --verbose && .github/rollup-patch.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": "^8.0.0",
"@types/express": ">=4"
},
"devDependencies": {
"@cap-js/cds-test": "^0",
"@sap/cds": ">=8.0.0",
"@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"
}
}