-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
104 lines (104 loc) · 2.95 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "dragonchain-sdk",
"version": "4.3.4",
"description": "Dragonchain SDK for Node.JS and the Browser",
"license": "Apache-2.0",
"homepage": "https://github.com/dragonchain/dragonchain-sdk-javascript#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/dragonchain/dragonchain-sdk-javascript.git"
},
"keywords": [
"dragonchain",
"sdk"
],
"bugs": {
"url": "https://github.com/dragonchain/dragonchain-sdk-javascript/issues"
},
"author": "Dragonchain, Inc. <[email protected]>",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/types/index.d.ts",
"engines": {
"node": ">=10.13.0"
},
"scripts": {
"build": "rm -rf dist/ && tsc",
"lint": "eslint --ext .ts --format unix src/ && prettier --check src 'src/**/*.ts'",
"format": "prettier --write 'src/**/*.ts'",
"docs": "typedoc ./src --exclude '**/*.spec.ts' --mode modules --target es5 --mode file --theme default --out docs --excludeExternals --gaSite 'dragonchain-sdk-node' --hideGenerator",
"clean": "rm -rf ./docs/ ./dist/ ./coverage/ ./.nyc_output/",
"test": "NODE_ENV=test nyc --reporter=lcov --reporter=text mocha -r ts-node/register 'src/**/*.spec.ts' --exit",
"test:built": "NODE_ENV=test mocha 'dist/**/*.spec.js' --exit",
"test:ci": "yarn lint && yarn build && yarn docs && yarn test"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src/*"
],
"all": true
},
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 180
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"env": {
"browser": true,
"node": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/camelcase": "off",
"require-atomic-updates": "off",
"max-len": "off"
}
},
"dependencies": {
"ini": "^1.3.5",
"node-fetch": "^2.6.0",
"tslib": "^1.11.1"
},
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/ini": "^1.3.30",
"@types/mocha": "^7.0.2",
"@types/node": "^12.12.31",
"@types/node-fetch": "^2.5.5",
"@types/sinon": "^7.5.2",
"@types/sinon-chai": "^3.2.3",
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"mocha": "^7.1.1",
"nyc": "^15.0.0",
"prettier": "^2.0.2",
"sinon": "^9.0.1",
"sinon-chai": "^3.5.0",
"ts-node": "^8.8.1",
"typedoc": "^0.17.3",
"typescript": "^3.8.3"
}
}