This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
86 lines (86 loc) · 3.11 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "@microsoft/openpai-js-sdk",
"version": "0.1.5",
"description": "The `Javascript` SDK for `OpenPAI`",
"main": "lib/src/index.js",
"types": "lib/src/index.d.ts",
"files": [
"lib/**/*"
],
"scripts": {
"prepublishOnly": "npm run build",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"",
"lint": "tslint -p tsconfig.json",
"pretest": "npm run preapi-test && tslint --config tslint.json --project tsconfig.json",
"test": "mocha -r ts-node/register -r tsconfig-paths/register -r source-map-support/register --recursive \"tests/unit_tests/**/*.spec.ts\"",
"preapi-test": "ts-node -r tsconfig-paths/register tests/common/apiTestCaseGenerator.ts -- \"src/api/v2/swagger.yaml\" \".tests/apiTestCase.json\"",
"api-test": "mocha -r ts-node/register -r tsconfig-paths/register tests/api_tests/**/*.spec.ts -t 20000",
"mock-api-test": "npm run preapi-test && mocha -r ts-node/register -r tsconfig-paths/register tests/unit_tests/v2/v2.spec.ts",
"prebuild": "tslint --config tslint.json --project tsconfig.build.json",
"build": "ttsc -p tsconfig.json && npm run copy-swagger",
"copy-swagger": "node copy_swagger.js",
"precode-coverage": "npm run build && npm run pretest",
"code-coverage": "nyc mocha --reporter dot -r ts-node/register -r tsconfig-paths/register -r source-map-support/register \"tests/unit_tests/**/*.spec.ts\" --exit",
"coveralls": "nyc report --reporter=text-lcov > coverage/lcov.info"
},
"homepage": "https://github.com/Microsoft/openpaisdk",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/openpaisdk.git"
},
"bugs": {
"url": "https://github.com/Microsoft/pai/issues"
},
"keywords": [],
"author": "Microsoft",
"license": "MIT",
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/argparse": "^1.0.38",
"@types/chai": "^4.2.11",
"@types/dirty-chai": "^2.0.1",
"@types/fs-extra": "^8.1.0",
"@types/js-yaml": "^3.12.1",
"@types/lodash": "^4.14.150",
"@types/mocha": "^7.0.2",
"@types/mock-fs": "^4.10.0",
"@types/nock": "^10.0.3",
"@types/request-promise-native": "^1.0.16",
"@types/table": "^4.0.7",
"ajv": "^6.12.2",
"chai": "^4.2.0",
"coveralls": "^3.1.0",
"dirty-chai": "^2.0.1",
"minimist": ">=1.2.2",
"mocha": "^8.1.1",
"mock-fs": "^4.11.0",
"nock": "^12.0.3",
"nyc": "^15.1.0",
"prettier": "^1.18.2",
"source-map-support": "^0.5.19",
"ts-node": "^8.10.2",
"tsconfig-paths": "^3.9.0",
"tslint": "^6.1.1",
"tslint-config-prettier": "^1.18.0",
"tslint-microsoft-contrib": "^6.2.0",
"ttypescript": "^1.5.10",
"typescript": "^3.5.3",
"typescript-transform-paths": "^1.1.14"
},
"dependencies": {
"@apidevtools/swagger-parser": "^9.0.1",
"@azure/storage-blob": "^12.1.0",
"argparse": "^1.0.10",
"axios": "^0.21.1",
"fs-extra": "^9.0.1",
"js-yaml": "^3.13.1",
"lodash": "^4.17.15",
"module-alias": "^2.2.2",
"request": "^2.88.0",
"request-promise-native": "^1.0.7",
"table": "^5.4.6"
},
"bin": {
"pai": "lib/src/cli.js"
}
}