-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 3.45 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
{
"name": "rosetta-sdk-typescript",
"version": "0.0.1",
"description": "Typescript SDK to create and interact with Rosetta API implementations.",
"repository": {
"type": "git",
"url": "git+https://github.com/fboucquez/rosetta-sdk-typescript.git"
},
"bugs": {
"url": "https://github.com/fboucquez/rosetta-sdk-typescript"
},
"author": {
"email": "[email protected]",
"name": "Fernando Boucquez"
},
"license": "Apache-2.0",
"engines": {
"node": ">=12.0.0"
},
"keywords": [
"rosetta",
"coinbase",
"typescript"
],
"homepage": "https://github.com/fboucquez/rosetta-sdk-typescript",
"main": "./dist/src/index.js",
"typings": "./dist/src/index.d.ts",
"scripts": {
"doc": "typedoc --out \"ts-docs\" src",
"build": "npx rimraf dist && tsc",
"watch": "tsc -w",
"gen": "GEN_DIR=\"./src/openapi\" && npx rimraf \"$GEN_DIR\" && npx openapi-generator-cli generate -g \"typescript-fetch\" -o \"$GEN_DIR\" -i \"api.json\" -t \"openapi-templates\" --additional-properties=\"supportsES6=true\" --additional-properties=\"withInterfaces=true\" --additional-properties=\"legacyDiscriminatorBehavior=false\" --additional-properties=\"useSingleRequestParameter=true\" --additional-properties=\"modelPropertyNaming=original\" --additional-properties=\"enumPropertyNaming=original\" --additional-properties=\"typescriptThreePlus=true\" --type-mappings=Error=ModelError && npx rimraf \"$GEN_DIR/.openapi-generator\" \"$GEN_DIR/.gitignore\" \"$GEN_DIR/.openapi-generator-ignore\" \"$GEN_DIR/tsconfig.json\" && npm run prettier:gen",
"test": "nyc --reporter=lcov --extension .ts mocha -r ts-node/register -r tsconfig-paths/register --timeout 600000 --forbid-only \"test/**/*.test.ts\"",
"test:e2e": "nyc --reporter=lcov --extension .ts mocha -r ts-node/register -r tsconfig-paths/register --timeout 600000 --forbid-only \"test/**/*.e2e.ts\"",
"lint": "eslint --cache src/ test/ --ext .ts",
"lint:fix": "eslint src/ test/ --ext .ts --fix",
"prettier:gen": "prettier --write ./src/openapi",
"prettier": "prettier --write ./src ./test",
"style:fix": "npm run create-index-files && npm run prettier && npm run lint:fix",
"create-index-files": "cti create ./src -b -n -e commands -i RosettaSymbol.ts",
"coveralls-report": "cat ./coverage/lcov.info | coveralls",
"version": "echo $npm_package_version"
},
"files": [
"dist/src",
"dist/api.json",
"src"
],
"dependencies": {
"cross-fetch": "^3.1.5",
"express": "^4.17.2",
"express-openapi-validator": "^4.13.5",
"swagger-ui-express": "^4.3.0"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.4.26",
"@types/chai": "^4.3.0",
"@types/express": "^4.17.13",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.16",
"@types/swagger-ui-express": "^4.1.3",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"chai": "^4.3.6",
"coveralls": "^3.1.1",
"create-ts-index": "^1.14.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"install": "^0.13.0",
"mocha": "^9.2.0",
"mocha-lcov-reporter": "^1.3.0",
"npm": "^8.4.1",
"nyc": "^15.1.0",
"prettier": "^2.5.1",
"prettier-plugin-organize-imports": "^2.3.4",
"rimraf": "^3.0.2",
"ts-node": "^10.5.0",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.12.0",
"typedoc": "^0.22.11",
"typescript": "^4.5.5"
}
}