-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
129 lines (129 loc) · 4.25 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "steem-wise-core",
"version": "0.0.0-development",
"description": "Node/web library for Wise: a vote delegation system for STEEM blockchain",
"main": "dist/wise.js",
"types": "dist/wise.d.ts",
"directories": {},
"engines": {
"node": ">=10.15"
},
"dependencies": {
"@types/steem-js-alpha": "https://github.com/wise-team/types-for-steem-js/raw/master/bin/types-steem-js-alpha-3.1.2.tgz",
"ajv": "^6.5.4",
"axios": "^0.18.0",
"bluebird": "^3.5.2",
"lodash": "^4.17.11",
"ow": "^0.10.0",
"steem": "^0.7.2",
"steem-efficient-stream": "^0.2.1",
"universe-log": "^1.3.0"
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@types/bluebird": "^3.5.24",
"@types/chai": "^4.1.6",
"@types/chai-as-promised": "^7.1.0",
"@types/express": "^4.16.0",
"@types/lodash": "^4.14.117",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.0",
"@types/sinon": "^7.0.5",
"@types/uuid": "^3.4.4",
"body-parser": "^1.18.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"conventional-changelog-cli": "^2.0.5",
"express": "^4.16.4",
"fast-clone": "^1.5.3",
"husky": "^1.1.2",
"istanbul": "^0.4.5",
"jayson": "^2.1.0",
"mocha": "^5.2.0",
"nyc": "^13.3.0",
"semantic-release": "^16.0.0-beta.18",
"sinon": "^7.2.3",
"source-map-support": "^0.5.9",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3",
"typescript-json-schema": "^0.32.0",
"uuid": "^3.3.2",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-visualizer-plugin": "^0.1.11"
},
"scripts": {
"check": "if echo \"$(node --version)\" | grep -q \"$(cat .nvmrc)\"; then echo \"Node version correct\"; else echo \"Node version does not match that in .nvmrc\" && exit 1; fi",
"build:cleanbefore": "rm -rf dist",
"build:node": "tsc",
"build:lint": "tslint -c tslint.json -p tsconfig.json",
"build:schema": "src/protocol/versions/v1/build-schema.sh && src/protocol/versions/v2/build-schema.sh",
"build:browser": "npm run check && rm -rf dist/browser/ && webpack --config webpack.config.js",
"build_": "npm run check && npm run build:cleanbefore && npm run build:node && npm run build:lint && npm run build:schema && npm run build:browser",
"build": "NODE_ENV=production npm run build_",
"build-dev": "NODE_ENV=development npm run build_",
"test": "find src -name '*.spec.test.ts' | TS_NODE_FILES=true TS_NODE_CACHE=false TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' xargs mocha -r ts-node/register --require source-map-support/register",
"verify": "find src -name '*.integration.test.ts' | TS_NODE_FILES=true TS_NODE_CACHE=false TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' xargs mocha -r ts-node/register --require source-map-support/register",
"test-with-coverage": "nyc npm run test",
"verify-with-coverage": "nyc npm run verify",
"generate-fake-blockchain-file": "npm run check && TS_NODE_FILES=true ts-node test/tools/generate-fake-blockchain-file.ts",
"debug": "npm run check && npm run build && npm run watch-debug",
"prepare": "npm run build",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"semantic-release": "semantic-release"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"header-max-length": [
0
],
"scope-case": [
0
]
}
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts"
],
"include": [
"src/**/*.ts"
],
"reporter": [
"html"
],
"all": true
},
"release": {},
"repository": {
"type": "git",
"url": "https://github.com/wise-team/steem-wise-core.git"
},
"keywords": [
"steem",
"blockchain",
"wise"
],
"author": "The Wise Team (https://wise-team.io/)",
"contributors": [
"Jędrzej Lewandowski <[email protected]> (https://jedrzej.lewandowski.doctor/)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/wise-team/steem-wise-core/issues"
},
"homepage": "https://wise.vote/",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}